-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ORT 1.18.1 Release] Update ORT numpy dependency to >=1.21.6,<2.0 (#2…
…1141) ### Description Updates the version of numpy required by onnxruntime to >=1.21.6,<2.0 ### Motivation and Context Numpy released version 2.0. The onnxruntime 1.18.1 release is using numpy < 2.0, so we need to update requirement files to only install versions between 1.21.6 and 2.0 (non-inclusive).
- Loading branch information
1 parent
d0aee20
commit 3871274
Showing
10 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
onnxruntime/python/tools/transformers/models/llama/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
optimum>=1.14.1 | ||
transformers>=4.33.2,<= 4.37.2 | ||
torch>=2.2.0 | ||
numpy>=1.21.6,<2.0 | ||
onnx==1.16.0 | ||
datasets>=2.8.0 | ||
protobuf==3.20.2 | ||
psutil | ||
psutil |
1 change: 1 addition & 0 deletions
1
onnxruntime/python/tools/transformers/models/phi2/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
numpy>=1.21.6,<2.0 | ||
onnx==1.16.0 | ||
transformers>=4.36.2 | ||
onnxscript>=0.1.0.dev20240126 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
numpy>=1.21.6,<2.0 | ||
onnx==1.16.0 | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
coloredlogs | ||
flatbuffers | ||
numpy >= @Python_NumPy_VERSION@ | ||
numpy>=1.21.6,<2.0 | ||
packaging | ||
protobuf | ||
sympy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters