Skip to content

Commit

Permalink
Limit the version of numpy (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: yuwenzho <[email protected]>
  • Loading branch information
yuwenzho authored Jun 20, 2024
1 parent 0f8c3a6 commit bab644c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
numpy
# onnxruntime doesn't support numpy>=2.0.0. The restriction will be removed once they fix it.
numpy<2.0.0
onnx
onnxruntime
onnxruntime-extensions
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_build_version():
"onnxruntime",
"onnxruntime-extensions",
"psutil",
"numpy",
"numpy<2.0.0",
"py-cpuinfo",
"pydantic",
"transformers",
Expand Down

0 comments on commit bab644c

Please sign in to comment.