Skip to content

Commit

Permalink
Remove numpy<2.0 windows pin (#8594)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Aug 15, 2024
1 parent 831879a commit edb1c33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ def get_dist(pkgname):
pytorch_dep += "==" + os.getenv("PYTORCH_VERSION")

requirements = [
# TODO: Remove <2 constraint! https://github.com/pytorch/vision/issues/8531
"numpy<2" if sys.platform == "win32" else "numpy",
"numpy",
pytorch_dep,
]

Expand Down

0 comments on commit edb1c33

Please sign in to comment.