[ONNX] Update onnxruntime to 1.9 for CI (#65029) (#67269) (#69641)
authorNikita Shulga <nshulga@fb.com>
Thu, 9 Dec 2021 04:09:11 +0000 (20:09 -0800)
committerGitHub <noreply@github.com>
Thu, 9 Dec 2021 04:09:11 +0000 (20:09 -0800)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/67269

Test Plan: Imported from OSS

Reviewed By: ngimel, msaroufim

Differential Revision: D31962516

Pulled By: malfet

fbshipit-source-id: 39b3c6a4a05d7b769f0ef5ce7ea597209516cde2

Co-authored-by: Gary Miguel <garymiguel@microsoft.com>
.jenkins/caffe2/test.sh

index 75e269d..d3e89df 100755 (executable)
@@ -170,9 +170,7 @@ if [[ "$BUILD_ENVIRONMENT" == *onnx* ]]; then
   # JIT C++ extensions require ninja, so put it into PATH.
   export PATH="/var/lib/jenkins/.local/bin:$PATH"
   if [[ "$BUILD_ENVIRONMENT" == *py3* ]]; then
-    pip install -q --user flatbuffers==2.0
-    wget https://ortpypackage.blob.core.windows.net/ort-nightly/ort_nightly-1.8.0.dev202107131-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
-    pip install -q --user ort_nightly-1.8.0.dev202107131-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+    pip install -q --user flatbuffers==2.0 onnxruntime==1.9.0
   fi
   "$ROOT_DIR/scripts/onnx/test.sh"
 fi