config.yml 19.8 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: 2.1
orbs:
    gcp-gke: circleci/gcp-gke@1.0.4
    go: circleci/go@1.3.0

# TPU REFERENCES
references:
    checkout_ml_testing: &checkout_ml_testing
        run:
            name: Checkout ml-testing-accelerators
            command: |
                git clone https://github.com/GoogleCloudPlatform/ml-testing-accelerators.git
                cd ml-testing-accelerators
                git fetch origin 5e88ac24f631c27045e62f0e8d5dfcf34e425e25:stable
                git checkout stable
    build_push_docker: &build_push_docker
        run:
            name: Configure Docker
            command: |
                gcloud --quiet auth configure-docker
                cd docker/transformers-pytorch-tpu
22
                if [ -z "$CIRCLE_PR_NUMBER" ]; then docker build --tag "$GCR_IMAGE_PATH:$CIRCLE_WORKFLOW_JOB_ID" -f Dockerfile --build-arg "TEST_IMAGE=1" . ; else docker build --tag "$GCR_IMAGE_PATH:$CIRCLE_WORKFLOW_JOB_ID" -f Dockerfile --build-arg "TEST_IMAGE=1" --build-arg "GITHUB_REF=pull/$CIRCLE_PR_NUMBER/head" . ; fi
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
                docker push "$GCR_IMAGE_PATH:$CIRCLE_WORKFLOW_JOB_ID"
    deploy_cluster: &deploy_cluster
        run:
            name: Deploy the job on the kubernetes cluster
            command: |
                go get github.com/google/go-jsonnet/cmd/jsonnet && \
                export PATH=$PATH:$HOME/go/bin && \
                kubectl create -f docker/transformers-pytorch-tpu/dataset.yaml || true && \
                job_name=$(jsonnet -J ml-testing-accelerators/ docker/transformers-pytorch-tpu/bert-base-cased.jsonnet --ext-str image=$GCR_IMAGE_PATH --ext-str image-tag=$CIRCLE_WORKFLOW_JOB_ID | kubectl create -f -) && \
                job_name=${job_name#job.batch/} && \
                job_name=${job_name% created} && \
                echo "Waiting on kubernetes job: $job_name" && \
                i=0 && \
                # 30 checks spaced 30s apart = 900s total.
                max_checks=30 && \
                status_code=2 && \
                # Check on the job periodically. Set the status code depending on what
                # happened to the job in Kubernetes. If we try max_checks times and
                # still the job hasn't finished, give up and return the starting
                # non-zero status code.
                while [ $i -lt $max_checks ]; do ((i++)); if kubectl get jobs $job_name -o jsonpath='Failed:{.status.failed}' | grep "Failed:1"; then status_code=1 && break; elif kubectl get jobs $job_name -o jsonpath='Succeeded:{.status.succeeded}' | grep "Succeeded:1" ; then status_code=0 && break; else echo "Job not finished yet"; fi; sleep 30; done && \
                echo "Done waiting. Job status code: $status_code" && \
45
46
47
                pod_name=$(kubectl get po -l controller-uid=`kubectl get job $job_name -o "jsonpath={.metadata.labels.controller-uid}"` | awk 'match($0,!/NAME/) {print $1}') && \
                echo "GKE pod name: $pod_name" && \
                kubectl logs -f $pod_name --container=train
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
                echo "Done with log retrieval attempt." && \
                gcloud container images delete "$GCR_IMAGE_PATH:$CIRCLE_WORKFLOW_JOB_ID" --force-delete-tags && \
                exit $status_code
    delete_gke_jobs: &delete_gke_jobs
        run:
            name: Delete GKE Jobs
            command: |
                # Match jobs whose age matches patterns like '1h' or '1d', i.e. any job
                # that has been around longer than 1hr. First print all columns for
                # matches, then execute the delete.
                kubectl get job | awk 'match($4,/[0-9]+[dh]/) {print $0}'
                kubectl delete job $(kubectl get job | awk 'match($4,/[0-9]+[dh]/) {print $1}')




Julien Chaumond's avatar
Julien Chaumond committed
64
jobs:
Aymeric Augustin's avatar
Aymeric Augustin committed
65
    run_tests_torch_and_tf:
66
        working_directory: ~/transformers
67
        docker:
68
            - image: circleci/python:3.6
69
70
        environment:
            OMP_NUM_THREADS: 1
71
72
            RUN_PT_TF_CROSS_TESTS: yes
            TRANSFORMERS_IS_CI: yes
73
74
75
76
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
77
78
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
79
80
                      - v0.4-torch_and_tf-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
Suraj Patil's avatar
Suraj Patil committed
81
            - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
82
            - run: pip install --upgrade pip
83
84
            - run: pip install .[sklearn,tf-cpu,torch,testing,sentencepiece,speech,vision]
            - run: pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
85
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
86
                key: v0.4-{{ checksum "setup.py" }}
87
88
                paths:
                    - '~/.cache/pip'
89
            - run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_torch_and_tf ./tests/ -m is_pt_tf_cross_test --durations=0 | tee tests_output.txt
90
            - store_artifacts:
91
92
93
94
                  path: ~/transformers/tests_output.txt
            - store_artifacts:
                  path: ~/transformers/reports

95
96
97
98
99
100
    run_tests_torch_and_flax:
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.6
        environment:
            OMP_NUM_THREADS: 1
101
102
            RUN_PT_FLAX_CROSS_TESTS: yes
            TRANSFORMERS_IS_CI: yes
103
104
105
106
107
108
109
110
111
112
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
            - restore_cache:
                  keys:
                      - v0.4-torch_and_flax-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
            - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
            - run: pip install --upgrade pip
113
114
            - run: pip install .[sklearn,flax,torch,testing,sentencepiece,speech,vision]
            - run: pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
115
116
117
118
            - save_cache:
                key: v0.4-{{ checksum "setup.py" }}
                paths:
                    - '~/.cache/pip'
119
            - run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_torch_and_flax ./tests/ -m is_pt_flax_cross_test --durations=0 | tee tests_output.txt
120
121
122
123
124
            - store_artifacts:
                  path: ~/transformers/tests_output.txt
            - store_artifacts:
                  path: ~/transformers/reports

Aymeric Augustin's avatar
Aymeric Augustin committed
125
    run_tests_torch:
126
        working_directory: ~/transformers
Julien Chaumond's avatar
Julien Chaumond committed
127
        docker:
128
            - image: circleci/python:3.7
129
130
        environment:
            OMP_NUM_THREADS: 1
131
            TRANSFORMERS_IS_CI: yes
132
        resource_class: xlarge
133
        parallelism: 1
Julien Chaumond's avatar
Julien Chaumond committed
134
135
        steps:
            - checkout
136
137
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
138
139
                      - v0.4-torch-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
Suraj Patil's avatar
Suraj Patil committed
140
            - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
141
            - run: pip install --upgrade pip
142
143
            - run: pip install .[sklearn,torch,testing,sentencepiece,speech,vision]
            - run: pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
144
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
145
                  key: v0.4-torch-{{ checksum "setup.py" }}
146
147
                  paths:
                      - '~/.cache/pip'
Sylvain Gugger's avatar
Sylvain Gugger committed
148
            - run: python -m pytest -n 3 --dist=loadfile -s --make-reports=tests_torch ./tests/ | tee tests_output.txt
149
            - store_artifacts:
150
151
152
                  path: ~/transformers/tests_output.txt
            - store_artifacts:
                  path: ~/transformers/reports
Lysandre Debut's avatar
Lysandre Debut committed
153

Aymeric Augustin's avatar
Aymeric Augustin committed
154
    run_tests_tf:
155
        working_directory: ~/transformers
thomwolf's avatar
thomwolf committed
156
        docker:
157
            - image: circleci/python:3.7
158
159
        environment:
            OMP_NUM_THREADS: 1
160
            TRANSFORMERS_IS_CI: yes
thomwolf's avatar
thomwolf committed
161
162
163
164
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
165
166
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
167
168
                      - v0.4-tf-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
169
            - run: pip install --upgrade pip
170
            - run: pip install .[sklearn,tf-cpu,testing,sentencepiece]
171
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
172
                  key: v0.4-tf-{{ checksum "setup.py" }}
173
174
                  paths:
                      - '~/.cache/pip'
175
            - run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_tf ./tests/ | tee tests_output.txt
176
            - store_artifacts:
177
178
179
180
                  path: ~/transformers/tests_output.txt
            - store_artifacts:
                  path: ~/transformers/reports

181
182
183
184
185
186
    run_tests_flax:
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.7
        environment:
            OMP_NUM_THREADS: 1
187
            TRANSFORMERS_IS_CI: yes
188
189
190
191
192
193
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
            - restore_cache:
                keys:
Lysandre Debut's avatar
Lysandre Debut committed
194
195
                    - v0.4-flax-{{ checksum "setup.py" }}
                    - v0.4-{{ checksum "setup.py" }}
196
            - run: pip install --upgrade pip
197
            - run: sudo pip install .[flax,testing,sentencepiece]
198
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
199
                  key: v0.4-flax-{{ checksum "setup.py" }}
200
201
                  paths:
                      - '~/.cache/pip'
202
            - run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_flax ./tests/ | tee tests_output.txt
203
            - store_artifacts:
204
205
206
207
                  path: ~/transformers/tests_output.txt
            - store_artifacts:
                  path: ~/transformers/reports

208
209
210
211
212
213
    run_tests_pipelines_torch:
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.7
        environment:
            OMP_NUM_THREADS: 1
214
215
            RUN_PIPELINE_TESTS: yes
            TRANSFORMERS_IS_CI: yes
216
217
218
219
220
221
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
222
223
                      - v0.4-torch-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
Suraj Patil's avatar
Suraj Patil committed
224
            - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
225
            - run: pip install --upgrade pip
226
227
            - run: pip install .[sklearn,torch,testing,sentencepiece,speech,vision]
            - run: pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
228
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
229
                  key: v0.4-torch-{{ checksum "setup.py" }}
230
231
                  paths:
                      - '~/.cache/pip'
232
            - run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_pipelines_torch -m is_pipeline_test ./tests/ | tee tests_output.txt
233
            - store_artifacts:
234
235
236
237
                  path: ~/transformers/tests_output.txt
            - store_artifacts:
                  path: ~/transformers/reports

238
239
240
241
242
243
    run_tests_pipelines_tf:
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.7
        environment:
            OMP_NUM_THREADS: 1
244
245
            RUN_PIPELINE_TESTS: yes
            TRANSFORMERS_IS_CI: yes
246
247
248
249
250
251
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
252
253
                      - v0.4-tf-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
254
            - run: pip install --upgrade pip
255
            - run: pip install .[sklearn,tf-cpu,testing,sentencepiece]
256
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
257
                  key: v0.4-tf-{{ checksum "setup.py" }}
258
259
                  paths:
                      - '~/.cache/pip'
260
            - run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_pipelines_tf ./tests/ -m is_pipeline_test | tee tests_output.txt
261
262
            - store_artifacts:
                  path: ~/transformers/tests_output.txt
263
            - store_artifacts:
264
265
                  path: ~/transformers/reports

Aymeric Augustin's avatar
Aymeric Augustin committed
266
    run_tests_custom_tokenizers:
267
268
        working_directory: ~/transformers
        docker:
269
            - image: circleci/python:3.7
270
271
        environment:
            RUN_CUSTOM_TOKENIZERS: yes
272
            TRANSFORMERS_IS_CI: yes
273
274
        steps:
            - checkout
275
276
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
277
278
                      - v0.4-custom_tokenizers-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
279
            - run: pip install --upgrade pip
280
            - run: pip install .[ja,testing,sentencepiece,jieba]
281
            - run: python -m unidic download
282
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
283
                  key: v0.4-custom_tokenizers-{{ checksum "setup.py" }}
284
285
                  paths:
                      - '~/.cache/pip'
286
287
288
            - run: python -m pytest -s --make-reports=tests_custom_tokenizers ./tests/test_tokenization_bert_japanese.py | tee tests_output.txt
            - store_artifacts:
                  path: ~/transformers/tests_output.txt
289
            - store_artifacts:
290
291
                  path: ~/transformers/reports

Aymeric Augustin's avatar
Aymeric Augustin committed
292
    run_examples_torch:
293
294
        working_directory: ~/transformers
        docker:
295
            - image: circleci/python:3.6
296
297
        environment:
            OMP_NUM_THREADS: 1
298
            TRANSFORMERS_IS_CI: yes
299
300
301
302
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
303
304
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
305
306
                      - v0.4-torch_examples-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
307
            - run: pip install --upgrade pip
308
            - run: pip install .[sklearn,torch,sentencepiece,testing]
Sylvain Gugger's avatar
Sylvain Gugger committed
309
            - run: pip install -r examples/pytorch/_tests_requirements.txt
310
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
311
                  key: v0.4-torch_examples-{{ checksum "setup.py" }}
312
313
                  paths:
                      - '~/.cache/pip'
Sylvain Gugger's avatar
Sylvain Gugger committed
314
            - run: TRANSFORMERS_IS_CI=1 python -m pytest -n 8 --dist=loadfile -s --make-reports=examples_torch ./examples/pytorch/ | tee examples_output.txt
315
            - store_artifacts:
316
317
318
                  path: ~/transformers/examples_output.txt
            - store_artifacts:
                  path: ~/transformers/reports
319

Sylvain Gugger's avatar
Sylvain Gugger committed
320
    run_tests_hub:
321
322
323
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.7
324
        environment:
Sylvain Gugger's avatar
Sylvain Gugger committed
325
            HUGGINGFACE_CO_STAGING: yes
326
327
            RUN_GIT_LFS_TESTS: yes
            TRANSFORMERS_IS_CI: yes
328
329
330
331
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
Sylvain Gugger's avatar
Sylvain Gugger committed
332
333
334
335
            - restore_cache:
                  keys:
                      - v0.4-hub-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
336
337
338
339
340
            - run: sudo apt-get install git-lfs
            - run: |
                git config --global user.email "ci@dummy.com"
                git config --global user.name "ci"
            - run: pip install --upgrade pip
Sylvain Gugger's avatar
Sylvain Gugger committed
341
342
343
344
345
346
            - run: pip install .[torch,sentencepiece,testing]
            - save_cache:
                  key: v0.4-hub-{{ checksum "setup.py" }}
                  paths:
                      - '~/.cache/pip'
            - run: python -m pytest -sv ./tests/ -m is_staging_test
347

348
349
350
351
352
353
    build_doc:
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.6
        steps:
            - checkout
354
355
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
356
357
                      - v0.4-build_doc-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
Suraj Patil's avatar
Suraj Patil committed
358
            - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
359
            - run: pip install --upgrade pip
360
            - run: pip install ."[docs]"
361
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
362
                  key: v0.4-build_doc-{{ checksum "setup.py" }}
363
364
                  paths:
                      - '~/.cache/pip'
Stas Bekman's avatar
Stas Bekman committed
365
            - run: cd docs && make html SPHINXOPTS="-W -j 4"
366
367
            - store_artifacts:
                path: ./docs/_build
368

LysandreJik's avatar
LysandreJik committed
369
    deploy_doc:
370
        working_directory: ~/transformers
LysandreJik's avatar
LysandreJik committed
371
        docker:
372
            - image: circleci/python:3.6
LysandreJik's avatar
LysandreJik committed
373
374
        steps:
            - add_ssh_keys:
375
376
                fingerprints:
                    - "5b:7a:95:18:07:8c:aa:76:4c:60:35:88:ad:60:56:71"
LysandreJik's avatar
LysandreJik committed
377
            - checkout
378
379
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
380
381
                      - v0.4-deploy_doc-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
382
            - run: pip install ."[docs]"
383
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
384
                  key: v0.4-deploy_doc-{{ checksum "setup.py" }}
385
386
                  paths:
                      - '~/.cache/pip'
Lysandre's avatar
Lysandre committed
387
            - run: ./.circleci/deploy.sh
388

Aymeric Augustin's avatar
Aymeric Augustin committed
389
390
391
392
    check_code_quality:
        working_directory: ~/transformers
        docker:
            - image: circleci/python:3.6
Aymeric Augustin's avatar
Aymeric Augustin committed
393
        resource_class: medium
394
395
        environment:
            TRANSFORMERS_IS_CI: yes
Aymeric Augustin's avatar
Aymeric Augustin committed
396
397
398
        parallelism: 1
        steps:
            - checkout
399
400
            - restore_cache:
                  keys:
Lysandre Debut's avatar
Lysandre Debut committed
401
402
                      - v0.4-code_quality-{{ checksum "setup.py" }}
                      - v0.4-{{ checksum "setup.py" }}
403
            - run: pip install --upgrade pip
404
            - run: pip install isort
405
            - run: pip install .[all,quality]
406
            - save_cache:
Lysandre Debut's avatar
Lysandre Debut committed
407
                  key: v0.4-code_quality-{{ checksum "setup.py" }}
408
409
                  paths:
                      - '~/.cache/pip'
410
411
            - run: black --check examples tests src utils
            - run: isort --check-only examples tests src utils
Sylvain Gugger's avatar
Sylvain Gugger committed
412
            - run: python utils/custom_init_isort.py --check_only
413
            - run: flake8 examples tests src utils
Sylvain Gugger's avatar
Sylvain Gugger committed
414
            - run: python utils/style_doc.py src/transformers docs/source --max_len 119 --check_only
415
            - run: python utils/check_copies.py
416
            - run: python utils/check_table.py
417
            - run: python utils/check_dummies.py
418
            - run: python utils/check_repo.py
419
            - run: python utils/check_inits.py
420

421
    check_repository_consistency:
R茅mi Louf's avatar
R茅mi Louf committed
422
423
        working_directory: ~/transformers
        docker:
424
            - image: circleci/python:3.6
R茅mi Louf's avatar
R茅mi Louf committed
425
426
427
428
        resource_class: small
        parallelism: 1
        steps:
            - checkout
429
            - run: pip install requests
R茅mi Louf's avatar
R茅mi Louf committed
430
            - run: python ./utils/link_tester.py
431
432
433
434
435
436
437

# TPU JOBS
    run_examples_tpu:
        docker:
            - image: circleci/python:3.6
        environment:
            OMP_NUM_THREADS: 1
438
            TRANSFORMERS_IS_CI: yes
439
440
441
442
443
444
445
446
447
448
449
450
451
        resource_class: xlarge
        parallelism: 1
        steps:
            - checkout
            - go/install
            - *checkout_ml_testing
            - gcp-gke/install
            - gcp-gke/update-kubeconfig-with-credentials:
                  cluster: $GKE_CLUSTER
                  perform-login: true
            - setup_remote_docker
            - *build_push_docker
            - *deploy_cluster
452

453
454
455
456
457
458
459
460
461
    cleanup-gke-jobs:
        docker:
            - image: circleci/python:3.6
        steps:
            - gcp-gke/install
            - gcp-gke/update-kubeconfig-with-credentials:
                  cluster: $GKE_CLUSTER
                  perform-login: true
            - *delete_gke_jobs
462

LysandreJik's avatar
LysandreJik committed
463
464
465
466
workflow_filters: &workflow_filters
    filters:
        branches:
            only:
Lysandre's avatar
Lysandre committed
467
                - master
468
workflows:
LysandreJik's avatar
LysandreJik committed
469
470
471
    version: 2
    build_and_test:
        jobs:
Aymeric Augustin's avatar
Aymeric Augustin committed
472
            - check_code_quality
473
            - check_repository_consistency
Aymeric Augustin's avatar
Aymeric Augustin committed
474
475
476
            - run_examples_torch
            - run_tests_custom_tokenizers
            - run_tests_torch_and_tf
477
            - run_tests_torch_and_flax
Aymeric Augustin's avatar
Aymeric Augustin committed
478
479
            - run_tests_torch
            - run_tests_tf
480
            - run_tests_flax
481
482
            - run_tests_pipelines_torch
            - run_tests_pipelines_tf
Sylvain Gugger's avatar
Sylvain Gugger committed
483
            - run_tests_hub
484
            - build_doc
Lysandre's avatar
Lysandre committed
485
            - deploy_doc: *workflow_filters
486
487
488
489
490
491
492
493
494
495
496
497
#    tpu_testing_jobs:
#        triggers:
#            - schedule:
#                # Set to run at the first minute of every hour.
#                cron: "0 8 * * *"
#                filters:
#                    branches:
#                        only:
#                            - master
#        jobs:
#            - cleanup-gke-jobs
#            - run_examples_tpu