[ONNX] Bump onnx to 1.13.1, onnxruntime to 1.14.0 (#94767)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/94767
Approved by: https://github.com/abock
This commit is contained in:
BowenBao 2023-02-13 13:38:10 -08:00 committed by PyTorch MergeBot
parent 7e3f79914c
commit 055dc72dba
2 changed files with 4 additions and 4 deletions

View File

@ -60,9 +60,9 @@ $MAYBE_SUDO pip -q install hypothesis==4.57.1
if [[ "$BUILD_ENVIRONMENT" == *onnx* ]]; then if [[ "$BUILD_ENVIRONMENT" == *onnx* ]]; then
pip install -q --user --no-use-pep517 "git+https://github.com/pytorch/vision.git@$(cat .github/ci_commit_pins/vision.txt)" pip install -q --user --no-use-pep517 "git+https://github.com/pytorch/vision.git@$(cat .github/ci_commit_pins/vision.txt)"
pip install -q --user transformers==4.25.1 pip install -q --user transformers==4.25.1
pip install -q --user ninja flatbuffers==2.0 numpy==1.22.4 onnxruntime==1.13.1 beartype==0.10.4 pip install -q --user ninja flatbuffers==2.0 numpy==1.22.4 onnxruntime==1.14.0 beartype==0.10.4
# TODO: change this when onnx reference patch is released. # TODO: change this when onnx 1.13.1 is released.
pip install --no-use-pep517 'onnx @ git+https://github.com/onnx/onnx@be441bf70f93369d30d1e12fd97e27d2beb75b12' pip install --no-use-pep517 'onnx @ git+https://github.com/onnx/onnx@e192ba01e438d22ca2dedd7956e28e3551626c91'
# TODO: change this when onnx-script is on testPypi # TODO: change this when onnx-script is on testPypi
pip install 'onnx-script @ git+https://github.com/microsoft/onnx-script@a71e35bcd72537bf7572536ee57250a0c0488bf6' pip install 'onnx-script @ git+https://github.com/microsoft/onnx-script@a71e35bcd72537bf7572536ee57250a0c0488bf6'
# numba requires numpy <= 1.20, onnxruntime requires numpy >= 1.21. # numba requires numpy <= 1.20, onnxruntime requires numpy >= 1.21.

2
third_party/onnx vendored

@ -1 +1 @@
Subproject commit 1ba785612a79fe749aa1e478336e534743372639 Subproject commit e192ba01e438d22ca2dedd7956e28e3551626c91