File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5353 pip install transformers==4.2.0
5454 pip uninstall -y h5py
5555 pip install h5py==2.9.0
56- pip install numpy==1.19.0
56+ pip install numpy==1.19.0 tensorflow==${{ inputs.tf_version }}
5757 else
5858 pip install transformers
5959 if [[ "${{ inputs.tf_version }}" != "2.13.0" && "${{ inputs.tf_version }}" != "2.9.0" ]]; then
Original file line number Diff line number Diff line change 3232 pip install onnxruntime==${{ inputs.ort_version }}
3333 pip uninstall -y protobuf
3434 if [[ ${{ inputs.tf_version }} == 1.* ]]; then
35- pip install numpy==1.19.0
35+ pip install numpy==1.19.0 tensorflow==${{ inputs.tf_version }}
3636 else
3737 if [[ "${{ inputs.tf_version }}" != "2.13.0" && "${{ inputs.tf_version }}" != "2.9.0" ]]; then
3838 echo "-- install-2 TF-KERAS ${{ inputs.tf_version }}"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pip uninstall -y tensorflow
2020pip install onnx==$ONNX_VERSION onnxruntime==$ORT_VERSION onnxruntime-extensions
2121
2222if [[ $TF_VERSION == 1.* ]]; then
23- pip install numpy==1.19.0
23+ pip install numpy==1.19.0 tensorflow== $TF_VERSION
2424else
2525 pip uninstall -y protobuf
2626 if [[ " $TF_VERSION " != " 2.13.0" && " $TF_VERSION " != " 2.9.0" ]]; then
You can’t perform that action at this time.
0 commit comments