Skip to content

Commit

Permalink
Pin numpy version to 1.26.4 (#218)
Browse files Browse the repository at this point in the history
* Pin numpy to 1.26.4 to avoid breaking incomaptibility of 2.0.0 with torch.

* Update requirements txt with new numpy version.
  • Loading branch information
tanujjain authored Jul 3, 2024
1 parent 837d86a commit 4bbdfc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
numpy==1.26.4
torch
torchvision
Pillow>=9.0
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
long_description=long_description,
license='Apache 2.0',
install_requires=[
'numpy==1.26.4',
'torch',
'torchvision',
'Pillow>=9.0',
Expand Down

0 comments on commit 4bbdfc0

Please sign in to comment.