Skip to content

Commit

Permalink
allow patch versions of torchvision 0.14 beyond .0 (#1556) (#1557)
Browse files Browse the repository at this point in the history
as written, only 0.14.0 would be allowed
  • Loading branch information
bfineran committed May 10, 2023
1 parent 1c2ee2c commit b048ad7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@
"gputils",
]
_pytorch_all_deps = _pytorch_deps + [
"torchvision>=0.3.0,<=0.14",
"torchvision>=0.3.0,<0.15",
"torchaudio<=0.13",
"torchvision>=0.3.0,<=0.14",
]
_pytorch_vision_deps = _pytorch_deps + ["torchvision>=0.3.0,<=0.14"]
_pytorch_vision_deps = _pytorch_deps + ["torchvision>=0.3.0,<0.15"]
_transformers_deps = _pytorch_deps + [
f"{'nm-transformers' if is_release else 'nm-transformers-nightly'}"
f"~={version_nm_deps}",
Expand Down

0 comments on commit b048ad7

Please sign in to comment.