Skip to content

Specify the version scope of tensorflow-text. #1843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ steps:
$(INSTALL_TRANSFORMERS)
pip install keras-self-attention
pip install pytest pytest-cov pytest-runner
pip install numpy==1.19
displayName: 'Install dependencies'

- script: |
Expand Down Expand Up @@ -101,6 +102,7 @@ steps:
%INSTALL_TRANSFORMERS%
pip install keras-self-attention
pip install pytest pytest-cov pytest-runner
pip install numpy==1.19
displayName: 'Install dependencies'

- script: |
Expand Down
2 changes: 2 additions & 0 deletions ci_build/azure_pipelines/templates/keras2onnx_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ steps:
pip install -r requirements-dev.txt
pip install pytest pytest-cov pytest-runner
$(INSTALL_ORT)
pip install numpy==1.19
displayName: 'Install dependencies'

- script: |
Expand Down Expand Up @@ -77,6 +78,7 @@ steps:
pip install git+https://github.com/microsoft/onnxconverter-common
pip install pytest pytest-cov pytest-runner
%INSTALL_ORT%
pip install numpy==1.19
displayName: 'Install dependencies'

- script: |
Expand Down
6 changes: 3 additions & 3 deletions ci_build/azure_pipelines/templates/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ steps:
fi
if [[ $CI_TF_VERSION == 2.5* ]] ;
then
pip install tensorflow-text>=2.5
pip install "tensorflow-text>=2.5,<2.6"
fi
if [[ $CI_TF_VERSION == 2.6* ]] ;
then
pip install tensorflow-text>=2.6
pip install "tensorflow-text>=2.6,<2.7"
fi
if [[ $CI_TF_VERSION == 2.7* ]] ;
then
pip install tensorflow-text>=2.6
pip install "tensorflow-text>=2.7,<2.8"
fi
fi

Expand Down