This website requires JavaScript.
Explore
Help
Sign in
saymrwulf
/
onnxruntime
Watch
1
Star
0
Fork
You've already forked onnxruntime
0
mirror of
https://github.com/saymrwulf/onnxruntime.git
synced
2026-05-14 20:48:00 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
e6cd1e8070
onnxruntime
/
requirements.txt
7 lines
65 B
Text
Raw
Normal View
History
Unescape
Escape
Add additional python requirements (#11522) These are used by some of the python code in the package, e.g., https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/python/tools/transformers/optimizer.py#L25 https://github.com/microsoft/onnxruntime/blob/c8270c2940f72a3722891fec7edf3c9ac542f904/onnxruntime/python/tools/symbolic_shape_infer.py#L10 https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/python/tools/transformers/torch_onnx_export_helper.py#L9
2022-05-20 23:16:18 +00:00
coloredlogs
flatbuffers
Add compatibility for NumPy 2.0 (#21085) ### Description As suggested by SciPy's doc, we will `Build against NumPy 2.0.0, then it will work for all NumPy versions with the same major version number (NumPy does maintain backwards ABI compatibility), and as far back as NumPy 1.19 series at the time of writing` I think it works because in [numpyconfig.h#L64](https://github.com/numpy/numpy/blob/main/numpy/_core/include/numpy/numpyconfig.h#L64) there is a macro NPY_FEATURE_VERSION. By default it is set to NPY_1_19_API_VERSION. And the NPY_FEATURE_VERSION macro controls ABI. This PR only upgrade the build time dependency; When a user installs ONNX Runtime, they still can use numpy 1.x. ### Motivation and Context Recently numpy published a new version, 2.0.0, which is incompatible with the latest ONNX Runtime release.
2024-06-27 20:50:53 +00:00
numpy >= 1.21.6
Add additional python requirements (#11522) These are used by some of the python code in the package, e.g., https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/python/tools/transformers/optimizer.py#L25 https://github.com/microsoft/onnxruntime/blob/c8270c2940f72a3722891fec7edf3c9ac542f904/onnxruntime/python/tools/symbolic_shape_infer.py#L10 https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/python/tools/transformers/torch_onnx_export_helper.py#L9
2022-05-20 23:16:18 +00:00
packaging
Chang how numpy version is handled. (#8130) Numpy has binary compatibility, which means "binaries compiled against a given version of NumPy will still run correctly with newer NumPy versions, but not with older versions." So, if an onnx runtime package was built with numpy version A, then at run time it requires numpy version >=A. In this change, we read numpy version from the installed packages at build time, to avoid manually keeping the build time/runtime consistency.
2021-06-23 21:08:37 +00:00
protobuf
Add additional python requirements (#11522) These are used by some of the python code in the package, e.g., https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/python/tools/transformers/optimizer.py#L25 https://github.com/microsoft/onnxruntime/blob/c8270c2940f72a3722891fec7edf3c9ac542f904/onnxruntime/python/tools/symbolic_shape_infer.py#L10 https://github.com/microsoft/onnxruntime/blob/0292356bd7ce5b379be8ee9820bfbf4fd321ebc5/onnxruntime/python/tools/transformers/torch_onnx_export_helper.py#L9
2022-05-20 23:16:18 +00:00
sympy
Reference in a new issue
Copy permalink