Skip to content

Commit

Permalink
More strict dependencies for PyTorch in torchvision preprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
ababushk committed Jan 28, 2025
1 parent 45622c1 commit 946eb0f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=1.13
torch<=2.5.1; python_version <= '3.9'
torch>=1.13; python_version > '3.9'
torchvision; platform_machine == 'arm64' and python_version >= '3.9'
torchvision; platform_machine != 'arm64'
pillow>=9.0

0 comments on commit 946eb0f

Please sign in to comment.