Skip to content

Commit 49f636f

Browse files
authored
Backport to 2025.0 - More strict dependencies for PyTorch in torchvision preprocess (#28728)
### Details: Backport of #28722
1 parent ad44deb commit 49f636f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--extra-index-url https://download.pytorch.org/whl/cpu
2-
torch>=1.13
3-
torchvision; platform_machine == 'arm64' and python_version >= '3.9'
4-
torchvision; platform_machine != 'arm64'
2+
networkx<=3.2.1; python_version <= '3.9'
3+
torch<=2.5.1; python_version <= '3.9'
4+
torch>=1.13; python_version > '3.9'
5+
torchvision<=0.20.1; python_version <= '3.9'
6+
torchvision; python_version > '3.9'
57
pillow>=9.0

0 commit comments

Comments
 (0)