Skip to content

Commit

Permalink
remove cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob1in committed Aug 5, 2024
1 parent 9ab097d commit a96d35a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 18 deletions.
36 changes: 20 additions & 16 deletions meta.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
{
"module_id": "viam:torch-cpu",
"visibility": "public",
"url": "https://github.com/viam-labs/torch",
"description": "Viam ML Module service serving PyTorch models.",
"models": [
{
"api": "rdk:service:mlmodel",
"model": "viam:mlmodel:torch-cpu"
}
],
"build": {
"build": "./build.sh",
"path": "dist/archive.tar.gz",
"arch": ["linux/arm64", "linux/amd64"]
},
"entrypoint": "dist/main"
"module_id": "viam:torch-cpu",
"visibility": "public",
"url": "https://github.com/viam-labs/torch",
"description": "Viam ML Module service serving PyTorch models.",
"models": [
{
"api": "rdk:service:mlmodel",
"model": "viam:mlmodel:torch-cpu"
}
],
"build": {
"build": "./build.sh",
"path": "dist/archive.tar.gz",
"arch": [
"linux/arm64",
"linux/amd64",
"darwin/arm64"
]
},
"entrypoint": "dist/main"
}
11 changes: 9 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@ pylint
pyinstaller
google-api-python-client
pytest
torchvision
torch==2.2.1
torch; sys_platform == 'darwin'
torch==2.2.2+cpu; sys_platform == 'linux'
-f https://download.pytorch.org/whl/cpu/torch_stable.html

torchvision == 0.18; sys_platform == 'darwin'
torchvision==0.17.2+cpu;sys_platform == 'linux'
-f https://download.pytorch.org/whl/cpu/torch_stable.html

pyinstaller

0 comments on commit a96d35a

Please sign in to comment.