Skip to content

Commit

Permalink
Use numpy 1.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jun 19, 2024
1 parent 3f14196 commit c387948
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pyyaml
# We need to pin numpy version to the same as the torch testing environment
# which still supports python 3.8
numpy==1.21.2; python_version < '3.11'
numpy==2.0.0; python_version >= '3.11'
numpy==1.26.0; python_version >= '3.11'
opencv-python
submitit
pynvml
2 changes: 1 addition & 1 deletion torchbenchmark/models/Background_Matting/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# We need to pin numpy version to the same as the torch testing environment
# which still supports python 3.8
numpy==1.21.2; python_version < '3.11'
numpy==2.0.0; python_version >= '3.11'
numpy==1.26.0; python_version >= '3.11'
opencv-python
pandas
Pillow
Expand Down
2 changes: 1 addition & 1 deletion torchbenchmark/models/hf_Whisper/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ numba
# We need to pin numpy version to the same as the torch testing environment
# which still supports python 3.8
numpy==1.21.2; python_version < '3.11'
numpy==2.0.0; python_version >= '3.11'
numpy==1.26.0; python_version >= '3.11'
2 changes: 1 addition & 1 deletion torchbenchmark/models/tacotron2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# We need to pin numpy version to the same as the torch testing environment
# which still supports python 3.8
numpy==1.21.2; python_version < '3.11'
numpy==2.0.0; python_version >= '3.11'
numpy==1.26.0; python_version >= '3.11'
inflect
scipy
Unidecode
Expand Down
2 changes: 1 addition & 1 deletion torchbenchmark/util/framework/detectron2/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ omegaconf==2.3.0
# We need to pin numpy version to the same as the torch testing environment
# which still supports python 3.8
numpy==1.21.2; python_version < '3.11'
numpy==2.0.0; python_version >= '3.11'
numpy==1.26.0; python_version >= '3.11'

0 comments on commit c387948

Please sign in to comment.