Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 2f86f08

Browse files
authored
allow patch versions of torchvision 0.14 beyond .0 (#1556)
as written, only 0.14.0 would be allowed
1 parent 3b11854 commit 2f86f08

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,10 @@
6666
"gputils",
6767
]
6868
_pytorch_all_deps = _pytorch_deps + [
69-
"torchvision>=0.3.0,<=0.14",
69+
"torchvision>=0.3.0,<0.15",
7070
"torchaudio<=0.13",
71-
"torchvision>=0.3.0,<=0.14",
7271
]
73-
_pytorch_vision_deps = _pytorch_deps + ["torchvision>=0.3.0,<=0.14"]
72+
_pytorch_vision_deps = _pytorch_deps + ["torchvision>=0.3.0,<0.15"]
7473
_transformers_deps = _pytorch_deps + [
7574
f"{'nm-transformers' if is_release else 'nm-transformers-nightly'}"
7675
f"~={version_nm_deps}",

0 commit comments

Comments
 (0)