File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
ci_build/azure_pipelines/templates Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1919 python -m pip install --upgrade pip
2020 conda config --set always_yes yes --set changeps1 no
2121 pip install $(ONNX_PATH)
22+ pip uninstall -y protobuf
23+ pip install "protobuf<4.21.0"
2224 pip install h5py==2.9.0
2325 pip install parameterized
2426 $(INSTALL_TENSORFLOW)
8183 echo Test numpy installation... && python -c "import numpy"
8284 pip install %ONNX_PATH%
8385 pip uninstall -y protobuf
84- pip install protobuf
86+ pip install " protobuf<4.21.0"
8587 pip install h5py==2.9.0
8688 pip install parameterized
8789 %INSTALL_TENSORFLOW%
Original file line number Diff line number Diff line change 1919 python -m pip install --upgrade pip
2020 conda config --set always_yes yes --set changeps1 no
2121 pip install $(ONNX_PATH)
22+ pip uninstall -y protobuf
23+ pip install "protobuf<4.21.0"
2224 pip install h5py==2.9.0
2325 pip install parameterized
2426 pip install $(TENSORFLOW_PATH)
7173 echo Test numpy installation... && python -c "import numpy"
7274 pip install %ONNX_PATH%
7375 pip uninstall -y protobuf
74- pip install protobuf
76+ pip install " protobuf<4.21.0"
7577 pip install h5py==2.9.0
7678 pip install parameterized
7779 pip install %TENSORFLOW_PATH%
Original file line number Diff line number Diff line change 66 pip install pytest pytest-cov pytest-runner coverage graphviz requests pyyaml pillow pandas parameterized
77 pip install $(CI_PIP_TF_NAME) $(CI_PIP_ONNX_NAME)
88
9+ # protobuf release version 4.21.0 has some Python changes which is not compatible with tensorflow so far.
10+ pip uninstall -y protobuf
11+ pip install "protobuf<4.21.0"
12+
913 # TF < 2.7 reuires numpy <= 1.19, but onnxruntime >= 1.11 requires numpy >= 1.21
1014 if [[ $CI_TF_VERSION < 2.7 ]] && [[ $CI_ONNX_BACKEND == "onnxruntime" ]] ;
1115 then
You can’t perform that action at this time.
0 commit comments