|
23 | 23 | INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
|
24 | 24 | INSTALL_ORT: pip install onnxruntime==1.1.1
|
25 | 25 | INSTALL_KERAS_RESNET:
|
| 26 | + INSTALL_TRANSFORMERS: |
26 | 27 | NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
|
27 | 28 |
|
28 | 29 | Python36:
|
|
33 | 34 | INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
|
34 | 35 | INSTALL_ORT: pip install onnxruntime==1.1.1
|
35 | 36 | INSTALL_KERAS_RESNET: pip install keras-resnet
|
| 37 | + INSTALL_TRANSFORMERS: |
36 | 38 | NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
|
37 | 39 |
|
38 | 40 | Python37:
|
|
43 | 45 | INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
|
44 | 46 | INSTALL_ORT: pip install -i https://test.pypi.org/simple/ ort-nightly
|
45 | 47 | INSTALL_KERAS_RESNET: pip install keras-resnet
|
| 48 | + INSTALL_TRANSFORMERS: |
46 | 49 | NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
|
47 | 50 |
|
48 | 51 | Python37-official-ort:
|
|
53 | 56 | INSTALL_TENSORFLOW: pip install tensorflow==1.15.0
|
54 | 57 | INSTALL_ORT: pip install onnxruntime==1.1.1
|
55 | 58 | INSTALL_KERAS_RESNET: pip install keras-resnet
|
| 59 | + INSTALL_TRANSFORMERS: |
56 | 60 | NIGHTLY_BUILD_TEST: python run_all.py --exclude "test_keras_applications_v2.py"
|
57 | 61 |
|
58 | 62 | Python37-tf2:
|
|
63 | 67 | INSTALL_TENSORFLOW: pip install tensorflow==2.1.0
|
64 | 68 | INSTALL_ORT: pip install -i https://test.pypi.org/simple/ ort-nightly
|
65 | 69 | 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 |
67 | 72 |
|
68 | 73 | maxParallel: 3
|
69 | 74 |
|
@@ -106,6 +111,7 @@ jobs:
|
106 | 111 | pip install keras-tcn==2.8.3
|
107 | 112 | $(UNINSTALL_KERAS)
|
108 | 113 | pip install git+https://github.com/qubvel/efficientnet
|
| 114 | + $(INSTALL_TRANSFORMERS) |
109 | 115 | displayName: 'Install dependencies'
|
110 | 116 |
|
111 | 117 | - script: |
|
|
0 commit comments