提交 e1f89859 编写于 作者: BowenBao's avatar BowenBao 提交者: Facebook Github Bot

Specify onnxruntime version to install for CI tests (#23517)

Summary:
No real change on the CI since currently the default latest is 0.4.0. houseroad bddppq
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23517

Differential Revision: D16550375

Pulled By: bddppq

fbshipit-source-id: a669b8af678c79c4d6909300b28458fe6b7cd30c
上级 c779eff5
......@@ -130,7 +130,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 onnxruntime
pip install -q --user onnxruntime==0.4.0
fi
"$ROOT_DIR/scripts/onnx/test.sh"
fi
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册