update python requirements (#2251)

since torch versions <0.13.1 have a critical security issue
This commit is contained in:
Matthias Wild 2023-01-08 13:44:03 +01:00 committed by GitHub
parent 26e413ae9c
commit 69b15024a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 12 deletions

View File

@ -1,6 +1,6 @@
-r environments-and-requirements/requirements-base.txt
# Get hardware-appropriate torch/torchvision
--extra-index-url https://download.pytorch.org/whl/rocm5.1.1 --trusted-host https://download.pytorch.org
torch
torchvision
torch>=1.13.1
torchvision>=0.14.1
-e .

View File

@ -1,3 +0,0 @@
--pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
-r environments-and-requirements/requirements-base.txt
-e .

View File

@ -1,5 +1,5 @@
--extra-index-url https://download.pytorch.org/whl/cu116 --trusted-host https://download.pytorch.org
-r environments-and-requirements/requirements-base.txt
torch
torchvision
torch>=1.13.1
torchvision>=0.14.1
-e .

View File

@ -1,6 +1,6 @@
-r environments-and-requirements/requirements-base.txt
grpcio<1.51.0
protobuf==3.19.6
torch<1.13.0
torchvision<0.14.0
protobuf==3.20.3
torch>=1.13.1
torchvision>=0.14.1
-e .

View File

@ -1,6 +1,6 @@
-r environments-and-requirements/requirements-base.txt
# Get hardware-appropriate torch/torchvision
--extra-index-url https://download.pytorch.org/whl/cu116 --trusted-host https://download.pytorch.org
torch==1.12.1
torchvision==0.13.1
torch==1.13.1
torchvision==0.14.1
-e .