Merge pull request #1 from Meister1593/main

Changed to cpu torch by default, updated lock
This commit is contained in:
Prohurtz authored and GitHub committed 2023-06-17 11:06:55 -07:00
commit 0dca722b76
1 file changed
+9 -2
+9 -2
View File
@@ -22,8 +22,15 @@ onnxruntime = "^1.13.1"
onnxruntime-directml = "^1.15.0"
colorama = "^0.4.6"
taskipy = "^1.10.4"
torch = "~2.0.0"
torchvision = "~0.15.1"
torch = [
{url = "https://download.pytorch.org/whl/cpu/torch-2.0.0%2Bcpu-cp310-cp310-linux_x86_64.whl", markers = "sys_platform == 'linux'"},
{url = "https://download.pytorch.org/whl/cpu/torch-2.0.0%2Bcpu-cp310-cp310-win_amd64.whl", markers = "sys_platform == 'win32'" }
]
torchvision = [
{url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1%2Bcpu-cp310-cp310-linux_x86_64.whl", markers = "sys_platform == 'linux'"},
{url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1%2Bcpu-cp310-cp310-win_amd64.whl", markers = "sys_platform == 'win32'" }
]
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
pyinstaller = "^5.6.2"