Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit c57c2e7

Browse files
authored
Enable transformers in nightly build (#444)
1 parent 1e1dbb5 commit c57c2e7

File tree

3 files changed

+211
-100
lines changed

3 files changed

+211
-100
lines changed

.azure-pipelines/linux-CI-keras-applications-nightly.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
2424
INSTALL_ORT: pip install onnxruntime==1.1.1
2525
INSTALL_KERAS_RESNET:
26+
INSTALL_TRANSFORMERS:
2627
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
2728

2829
Python36:
@@ -33,6 +34,7 @@ jobs:
3334
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
3435
INSTALL_ORT: pip install onnxruntime==1.1.1
3536
INSTALL_KERAS_RESNET: pip install keras-resnet
37+
INSTALL_TRANSFORMERS:
3638
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
3739

3840
Python37:
@@ -43,6 +45,7 @@ jobs:
4345
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
4446
INSTALL_ORT: pip install -i https://test.pypi.org/simple/ ort-nightly
4547
INSTALL_KERAS_RESNET: pip install keras-resnet
48+
INSTALL_TRANSFORMERS:
4649
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
4750

4851
Python37-official-ort:
@@ -53,6 +56,7 @@ jobs:
5356
INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
5457
INSTALL_ORT: pip install onnxruntime==1.1.1
5558
INSTALL_KERAS_RESNET: pip install keras-resnet
59+
INSTALL_TRANSFORMERS:
5660
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
5761

5862
Python37-tf2:
@@ -63,7 +67,8 @@ jobs:
6367
INSTALL_TENSORFLOW: pip install tensorflow==2.1.0
6468
INSTALL_ORT: pip install -i https://test.pypi.org/simple/ ort-nightly
6569
INSTALL_KERAS_RESNET: pip install keras-resnet
66-
NIGHTLY_BUILD_TEST: pytest test_keras_applications_v2.py --doctest-modules --junitxml=junit/test-results-keras_applications_v2.xml
70+
INSTALL_TRANSFORMERS: pip install transformers
71+
NIGHTLY_BUILD_TEST: pytest test_keras_applications_v2.py test_transformers.py --doctest-modules --junitxml=junit/test-results-v2.xml
6772

6873
maxParallel: 3
6974

@@ -106,6 +111,7 @@ jobs:
106111
pip install keras-tcn==2.8.3
107112
$(UNINSTALL_KERAS)
108113
pip install git+https://github.com/qubvel/efficientnet
114+
$(INSTALL_TRANSFORMERS)
109115
displayName: 'Install dependencies'
110116
111117
- script: |

.azure-pipelines/win32-CI-keras-applications-nightly.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
2424
INSTALL_ORT: pip install onnxruntime==1.1.1
2525
INSTALL_KERAS_RESNET:
26+
INSTALL_TRANSFORMERS:
2627
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"
2728

2829
Python36:
@@ -33,6 +34,7 @@ jobs:
3334
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
3435
INSTALL_ORT: pip install onnxruntime==1.1.1
3536
INSTALL_KERAS_RESNET: pip install keras-resnet
37+
INSTALL_TRANSFORMERS:
3638
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"
3739

3840
Python37:
@@ -43,6 +45,7 @@ jobs:
4345
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
4446
INSTALL_ORT: pip install -i https://test.pypi.org/simple/ ort-nightly
4547
INSTALL_KERAS_RESNET: pip install keras-resnet
48+
INSTALL_TRANSFORMERS:
4649
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"
4750

4851
Python37-official-ort:
@@ -53,6 +56,7 @@ jobs:
5356
INSTALL_TENSORFLOW: pip install tensorflow==1.14.0
5457
INSTALL_ORT: pip install onnxruntime==1.1.1
5558
INSTALL_KERAS_RESNET: pip install keras-resnet
59+
INSTALL_TRANSFORMERS:
5660
NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py test_mask_rcnn.py"
5761

5862
Python37-tf2:
@@ -63,7 +67,8 @@ jobs:
6367
INSTALL_TENSORFLOW: pip install tensorflow==2.1.0
6468
INSTALL_ORT: pip install onnxruntime==1.1.1
6569
INSTALL_KERAS_RESNET: pip install keras-resnet
66-
NIGHTLY_BUILD_TEST: pytest test_keras_applications_v2.py --doctest-modules --junitxml=junit/test-results-keras_applications_v2.xml
70+
INSTALL_TRANSFORMERS: pip install transformers
71+
NIGHTLY_BUILD_TEST: pytest test_keras_applications_v2.py test_transformers.py --doctest-modules --junitxml=junit/test-results-v2.xml
6772

6873
maxParallel: 3
6974

@@ -104,6 +109,7 @@ jobs:
104109
pip install keras-tcn==2.8.3
105110
%UNINSTALL_KERAS%
106111
pip install git+https://github.com/qubvel/efficientnet
112+
%INSTALL_TRANSFORMERS%
107113
displayName: 'Install dependencies'
108114
109115
- script: |

0 commit comments

Comments
 (0)