We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ac39c commit 2119970Copy full SHA for 2119970
ci_build/azure_pipelines/templates/setup.yml
@@ -5,6 +5,14 @@ steps:
5
set -ex
6
pip install pytest pytest-cov pytest-runner graphviz requests pyyaml pillow pandas
7
pip install $(CI_PIP_TF_NAME) $(CI_PIP_ONNX_NAME) $(CI_PIP_ONNX_BACKEND_NAME)
8
+
9
+ # TF 1.10 requires numpy <=1.14.5 and >=1.13.3, but onnxruntime 0.2.1 does not work with numpy <= 1.14.5
10
+ # Upgrade numpy only within constraints from other packages if any.
11
+ if [[ $CI_TF_VERSION == 1.10* ]] && [[ $CI_ONNX_BACKEND == "onnxruntime" ]] ;
12
+ then
13
+ pip install $(CI_PIP_ONNX_NAME) $(CI_PIP_ONNX_BACKEND_NAME) numpy --no-deps -U
14
+ fi
15
16
python setup.py install
17
pip freeze --all
18
displayName: 'Setup Environment'
0 commit comments