From 69b15024a93ecfbbb555c956f745e9748c12f044 Mon Sep 17 00:00:00 2001 From: Matthias Wild <40327258+mauwii@users.noreply.github.com> Date: Sun, 8 Jan 2023 13:44:03 +0100 Subject: [PATCH] update python requirements (#2251) since torch versions <0.13.1 have a critical security issue --- environments-and-requirements/requirements-lin-amd.txt | 4 ++-- environments-and-requirements/requirements-lin-arm64.txt | 3 --- environments-and-requirements/requirements-lin-cuda.txt | 4 ++-- environments-and-requirements/requirements-mac-mps-cpu.txt | 6 +++--- .../requirements-win-colab-cuda.txt | 4 ++-- 5 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 environments-and-requirements/requirements-lin-arm64.txt diff --git a/environments-and-requirements/requirements-lin-amd.txt b/environments-and-requirements/requirements-lin-amd.txt index ba53c938aa..0aa6092b30 100644 --- a/environments-and-requirements/requirements-lin-amd.txt +++ b/environments-and-requirements/requirements-lin-amd.txt @@ -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 . diff --git a/environments-and-requirements/requirements-lin-arm64.txt b/environments-and-requirements/requirements-lin-arm64.txt deleted file mode 100644 index 304432e4c7..0000000000 --- a/environments-and-requirements/requirements-lin-arm64.txt +++ /dev/null @@ -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 . diff --git a/environments-and-requirements/requirements-lin-cuda.txt b/environments-and-requirements/requirements-lin-cuda.txt index d815dd8ca3..d7ea4b4542 100644 --- a/environments-and-requirements/requirements-lin-cuda.txt +++ b/environments-and-requirements/requirements-lin-cuda.txt @@ -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 . diff --git a/environments-and-requirements/requirements-mac-mps-cpu.txt b/environments-and-requirements/requirements-mac-mps-cpu.txt index 0c957c20a2..bdf7dc8951 100644 --- a/environments-and-requirements/requirements-mac-mps-cpu.txt +++ b/environments-and-requirements/requirements-mac-mps-cpu.txt @@ -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 . diff --git a/environments-and-requirements/requirements-win-colab-cuda.txt b/environments-and-requirements/requirements-win-colab-cuda.txt index 4083d675e0..01b25144b6 100644 --- a/environments-and-requirements/requirements-win-colab-cuda.txt +++ b/environments-and-requirements/requirements-win-colab-cuda.txt @@ -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 .