config.yml 113 KB
Newer Older
1
2
3
4
version: 2.1

# How to test the Linux jobs:
#   - Install CircleCI local CLI: https://circleci.com/docs/2.0/local-cli/
Edward Z. Yang's avatar
Edward Z. Yang committed
5
6
7
#   - circleci config process .circleci/config.yml > gen.yml && circleci local execute -c gen.yml --job binary_linux_wheel_py3.7
#     - Replace binary_linux_wheel_py3.7 with the name of the job you want to test.
#       Job names are 'name:' key.
8

9
executors:
10
  windows-cpu:
11
    machine:
12
13
14
15
16
17
18
19
      resource_class: windows.xlarge
      image: windows-server-2019-vs2019:stable
      shell: bash.exe

  windows-gpu:
    machine:
      resource_class: windows.gpu.nvidia.medium
      image: windows-server-2019-nvidia:stable
20
21
      shell: bash.exe

22
23
24
25
26
commands:
  checkout_merge:
    description: "checkout merge branch"
    steps:
      - checkout
27
28
29
30
31
32
33
34
35
#     - run:
#         name: Checkout merge branch
#         command: |
#           set -ex
#           BRANCH=$(git rev-parse --abbrev-ref HEAD)
#           if [[ "$BRANCH" != "master" ]]; then
#             git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH}
#             git checkout "merged/$CIRCLE_BRANCH"
#           fi
36
37
38
39
40
41
42
43
44
45
46
47
  designate_upload_channel:
    description: "inserts the correct upload channel into ${BASH_ENV}"
    steps:
      - run:
          name: adding UPLOAD_CHANNEL to BASH_ENV
          command: |
            our_upload_channel=nightly
            # On tags upload to test instead
            if [[ -n "${CIRCLE_TAG}" ]]; then
              our_upload_channel=test
            fi
            echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
48
49
50
51
52
53
54
55
  install_cuda_compatible_cmath:
    description: "Install CUDA compatible cmath"
    steps:
      - run:
          name: _HACK_ Install CUDA compatible cmath
          no_output_timeout: 1m
          command: |
              powershell .circleci/scripts/vs_install_cmath.ps1
56

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
  brew_update:
    description: "Update Homebrew and install base formulae"
    steps:
      - run:
          name: Update Homebrew
          no_output_timeout: "10m"
          command: |
            set -ex

            # Update repositories manually.
            # Running `brew update` produces a comparison between the
            # current checkout and the updated checkout, which takes a
            # very long time because the existing checkout is 2y old.
            for path in $(find /usr/local/Homebrew -type d -name .git)
            do
            cd $path/..
            git fetch --depth=1 origin
            git reset --hard origin/master
            done

            export HOMEBREW_NO_AUTO_UPDATE=1

            # Install expect and moreutils so that we can call `unbuffer` and `ts`.
            # moreutils installs a `parallel` executable by default, which conflicts
            # with the executable from the GNU `parallel`, so we must unlink GNU
            # `parallel` first, and relink it afterwards.
            brew install coreutils
            brew unlink parallel
            brew install moreutils
            brew link parallel --overwrite
            brew install expect

  brew_install:
    description: "Install Homebrew formulae"
    parameters:
      formulae:
        type: string
        default: ""
    steps:
      - run:
          name: Install << parameters.formulae >>
          no_output_timeout: "10m"
          command: |
            set -ex
            export HOMEBREW_NO_AUTO_UPDATE=1
            brew install << parameters.formulae >>

  run_brew_for_ios_build:
    steps:
      - brew_update
      - brew_install:
          formulae: libtool

110
111
binary_common: &binary_common
  parameters:
112
    # Edit these defaults to do a release
113
114
115
116
117
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
118
      description: "PyTorch version to build against; by default, use a nightly"
119
      type: string
120
      default: ""
121
122
123
124
    # Don't edit these
    python_version:
      description: "Python version to build against (e.g., 3.7)"
      type: string
Edward Z. Yang's avatar
Edward Z. Yang committed
125
126
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
127
      type: string
guyang3532's avatar
guyang3532 committed
128
      default: "cpu"
129
130
131
132
    unicode_abi:
      description: "Python 2.7 wheel only: whether or not we are cp27mu (default: no)"
      type: string
      default: ""
Edward Z. Yang's avatar
Edward Z. Yang committed
133
134
135
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
136
      default: "pytorch/manylinux-cuda102"
137
138
139
140
    conda_docker_image:
      description: "Conda only: what docker image to use"
      type: string
      default: "pytorch/conda-builder:cpu"
141
142
143
144
  environment:
    PYTHON_VERSION: << parameters.python_version >>
    PYTORCH_VERSION: << parameters.pytorch_version >>
    UNICODE_ABI: << parameters.unicode_abi >>
Edward Z. Yang's avatar
Edward Z. Yang committed
145
    CU_VERSION: << parameters.cu_version >>
146

147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
torchvision_ios_params: &torchvision_ios_params
  parameters:
    build_environment:
      type: string
      default: ""
    ios_arch:
      type: string
      default: ""
    ios_platform:
      type: string
      default: ""
  environment:
    BUILD_ENVIRONMENT: << parameters.build_environment >>
    IOS_ARCH: << parameters.ios_arch >>
    IOS_PLATFORM: << parameters.ios_platform >>

163
164
165
166
167
168
169
170
torchvision_android_params: &torchvision_android_params
  parameters:
    build_environment:
      type: string
      default: ""
  environment:
    BUILD_ENVIRONMENT: << parameters.build_environment >>

guyang3532's avatar
guyang3532 committed
171
172
173
174
175
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: torchvision/smoke_test:latest

176
jobs:
177
178
179
180
181
182
183
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
184
            pip install --user --progress-bar off jinja2 pyyaml
185
186
187
            python .circleci/regenerate.py
            git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)

188
189
190
191
192
193
194
195
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off flake8 typing
196
197
198
199
200
201
202
203
204
            flake8 --config=setup.cfg .

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
205
206
            sudo apt-get update -y
            sudo apt install -y libturbojpeg-dev
207
            pip install --user --progress-bar off mypy
208
            pip install --user --progress-bar off types-requests
209
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
210
            pip install --user --progress-bar off --editable .
211
            mypy --config-file mypy.ini
212

213
214
215
216
217
218
219
220
221
222
  docstring_parameters_sync:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user pydocstyle
            pydocstyle

223
224
225
226
227
228
229
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
230
231
232
            curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
            chmod +x clang-format
            sudo mv clang-format /opt/clang-format
233
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
234

Francisco Massa's avatar
Francisco Massa committed
235
236
237
238
239
240
241
242
243
244
  torchhub_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
            # need to install torchvision dependencies due to transitive imports
            pip install --user --progress-bar off --editable .
Anirudh's avatar
Anirudh committed
245
            pip install pytest
Francisco Massa's avatar
Francisco Massa committed
246
247
            python test/test_hub.py

248
249
250
251
252
253
254
255
256
257
258
  torch_onnx_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
            # need to install torchvision dependencies due to transitive imports
            pip install --user --progress-bar off --editable .
            pip install --user onnx
259
            pip install --user onnxruntime
260
            pip install --user pytest
261
262
            python test/test_onnx.py

263
264
265
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
266
      - image: << parameters.wheel_docker_image >>
267
268
    resource_class: 2xlarge+
    steps:
269
      - checkout_merge
270
      - designate_upload_channel
271
272
273
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
274
275
276
277
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
278
279
280
281

  binary_linux_conda:
    <<: *binary_common
    docker:
282
      - image: "<< parameters.conda_docker_image >>"
283
    resource_class: 2xlarge+
284
    steps:
285
      - checkout_merge
286
      - designate_upload_channel
287
288
289
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
290
291
292
293
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
294
295
      - store_test_results:
          path: build_results/
296

Francisco Massa's avatar
Francisco Massa committed
297
  binary_win_conda:
298
299
    <<: *binary_common
    executor: windows-cpu
300
301
    steps:
      - checkout_merge
302
      - designate_upload_channel
303
      - install_cuda_compatible_cmath
304
305
      - run:
          name: Build conda packages
306
          no_output_timeout: 20m
307
          command: |
308
309
310
311
312
313
314
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
            packaging/build_conda.sh
315
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
316
      - store_artifacts:
317
          path: C:/tools/miniconda3/conda-bld/win-64
318
      - persist_to_workspace:
319
          root: C:/tools/miniconda3/conda-bld/win-64
320
321
322
323
324
          paths:
            - "*"
      - store_test_results:
          path: build_results/

325
  binary_win_wheel:
326
327
    <<: *binary_common
    executor: windows-cpu
328
329
    steps:
      - checkout_merge
330
      - designate_upload_channel
331
      - install_cuda_compatible_cmath
332
333
334
      - run:
          name: Build wheel packages
          command: |
335
336
337
338
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
339
      - store_artifacts:
340
          path: dist
341
      - persist_to_workspace:
342
          root: dist
343
344
345
346
347
          paths:
            - "*"
      - store_test_results:
          path: build_results/

348
349
350
  binary_macos_wheel:
    <<: *binary_common
    macos:
351
      xcode: "12.0"
352
    steps:
353
      - checkout_merge
354
      - designate_upload_channel
355
356
357
358
359
360
361
362
363
364
365
      - run:
          # Cannot easily deduplicate this as source'ing activate
          # will set environment variables which we need to propagate
          # to build_wheel.sh
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
366
367
368
369
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
370

371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
  binary_ios_build:
    <<: *torchvision_ios_params
    macos:
      xcode: "12.0"
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run_brew_for_ios_build
    - run:
        name: Build
        no_output_timeout: "1h"
        command: |
          script="/Users/distiller/project/.circleci/unittest/ios/scripts/binary_ios_build.sh"
          cat "$script"
          source "$script"
    - persist_to_workspace:
        root: /Users/distiller/workspace/
        paths: ios

  binary_ios_upload:
    <<: *torchvision_ios_params
    macos:
      xcode: "12.0"
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run_brew_for_ios_build
    - run:
        name: Upload
        no_output_timeout: "1h"
        command: |
          script="/Users/distiller/project/.circleci/unittest/ios/scripts/binary_ios_upload.sh"
          cat "$script"
          source "$script"

408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
  binary_android_build:
    <<: *torchvision_android_params
    docker:
      - image: circleci/android:api-29-ndk
    resource_class: xlarge
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run:
        name: Build
        no_output_timeout: "1h"
        command: |
          script="/home/circleci/project/.circleci/unittest/android/scripts/binary_android_build.sh"
          cat "$script"
          source "$script"
    - store_artifacts:
        path: ~/workspace/artifacts

  binary_android_upload:
    <<: *torchvision_android_params
    docker:
      - image: circleci/android:api-29-ndk
    resource_class: xlarge
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run:
        name: Upload
        no_output_timeout: "1h"
        command: |
          script="/home/circleci/project/.circleci/unittest/android/scripts/binary_android_upload.sh"
          cat "$script"
          source "$script"

444
445
446
  binary_macos_conda:
    <<: *binary_common
    macos:
447
      xcode: "12.0"
448
    steps:
449
      - checkout_merge
450
      - designate_upload_channel
451
452
453
454
455
456
457
458
459
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build
            packaging/build_conda.sh
      - store_artifacts:
          path: /Users/distiller/miniconda3/conda-bld/osx-64
Edward Z. Yang's avatar
Edward Z. Yang committed
460
461
462
463
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
464
465
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
466
467
468
469
470
471
472
473

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
474
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
475
476
477
478
479
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
480
            anaconda  -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u "pytorch-${UPLOAD_CHANNEL}" --label main --no-progress --force
Edward Z. Yang's avatar
Edward Z. Yang committed
481
482
483

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
484
485
486
487
    parameters:
      subfolder:
        description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)"
        type: string
Edward Z. Yang's avatar
Edward Z. Yang committed
488
489
490
491
492
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
493
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
494
495
496
497
498
499
500
501
502
503
      - checkout
      - run:
          command: |
            pip install --user awscli
            export PATH="$HOME/.local/bin:$PATH"
            # Prevent credential from leaking
            set +x
            export AWS_ACCESS_KEY_ID="${PYTORCH_BINARY_AWS_ACCESS_KEY_ID}"
            export AWS_SECRET_ACCESS_KEY="${PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY}"
            set -x
Edward Z. Yang's avatar
Edward Z. Yang committed
504
            for pkg in ~/workspace/*.whl; do
505
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
506
            done
507

guyang3532's avatar
guyang3532 committed
508
509
510
511
512
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
513
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
      - run:
          name: install binaries
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_linux_pip:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
532
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
      - run:
          name: install binaries
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_docker_image_build:
    machine:
      image: ubuntu-1604:201903-01
    resource_class: large
    environment:
      image_name: torchvision/smoke_test
    steps:
      - checkout
553
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
      - run:
          name: Build and push Docker image
          no_output_timeout: "1h"
          command: |
            set +x
            echo "${DOCKER_HUB_TOKEN}" | docker login --username "${DOCKER_HUB_USERNAME}" --password-stdin
            set -x
            cd .circleci/smoke_test/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
            docker tag ${image_name}:${CIRCLE_WORKFLOW_ID} ${image_name}:latest
            docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
            docker push ${image_name}:latest

  smoke_test_win_conda:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
573
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
574
575
576
577
578
579
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda env remove -n python${PYTHON_VERSION} || true
580
581
582
583
584
            CONDA_CHANNEL_FLAGS=""
            if [[ "${PYTHON_VERSION}" = 3.9 ]]; then
              CONDA_CHANNEL_FLAGS="-c=conda-forge"
            fi
            conda create ${CONDA_CHANNEL_FLAGS} -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
585
            conda activate python${PYTHON_VERSION}
586
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_win_pip:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
603
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
604
605
606
607
608
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
609
610
611
612
613
            CONDA_CHANNEL_FLAGS=""
            if [[ "${PYTHON_VERSION}" = 3.9 ]]; then
              CONDA_CHANNEL_FLAGS="-c=conda-forge"
            fi
            conda create ${CONDA_CHANNEL_FLAGS} -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
614
615
616
617
618
619
620
621
622
623
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
            conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

624
625
626
627
628
629
630
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
631
      - designate_upload_channel
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

          keys:
            - env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - save_cache:

          key: env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/linux/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/linux/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_linux_gpu:
    <<: *binary_common
    machine:
666
      image: ubuntu-1604-cuda-10.2:202012-01
667
    resource_class: gpu.nvidia.medium
668
    environment:
669
      image_name: "pytorch/manylinux-cuda102"
670
      PYTHON_VERSION: << parameters.python_version >>
671
672
    steps:
      - checkout
673
      - designate_upload_channel
674
675
676
677
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
678
679
680
681
682
      - restore_cache:

          keys:
            - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

683
684
      - run:
          name: Setup
685
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
686
687
      - save_cache:

688
          key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
689
690
691
692

          paths:
            - conda
            - env
693
694
695
696
697
698
699
700
      - run:
          # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
          # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
          # They're avaiable in all the other workflows (OSX and Windows).
          # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
          # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
          name: export CIRCLECI env var
          command: echo "CIRCLECI=true" >> ./env.list
701
702
      - run:
          name: Install torchvision
703
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
704
705
      - run:
          name: Run tests
706
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
707
708
709
710
711
712
713
714
715
716
717
718
      - run:
          name: Post Process
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout
719
      - designate_upload_channel
720
      - install_cuda_compatible_cmath
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

          keys:
            - env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

          key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/windows/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/windows/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/windows/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    environment:
757
      CUDA_VERSION: "10.2"
758
      PYTHON_VERSION: << parameters.python_version >>
759
760
    steps:
      - checkout
761
      - designate_upload_channel
762
      - install_cuda_compatible_cmath
763
764
765
766
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
767
768
769
770
      - restore_cache:

          keys:
            - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
771

772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

          key: env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/windows/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/windows/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/windows/scripts/post_process.sh
      - store_test_results:
          path: test-results
793

Francisco Massa's avatar
Francisco Massa committed
794
795
796
  unittest_macos_cpu:
    <<: *binary_common
    macos:
797
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
798
799
800
    resource_class: large
    steps:
      - checkout
801
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
      - run:
          name: Install wget
          command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
          # Disable brew auto update which is very slow
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

          keys:
            - env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - save_cache:

          key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/linux/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/linux/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

837
838
839
840
841
842
843
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
844
      - designate_upload_channel
845
846
847
848
849
850
851
852
      - run:
          name: Setup conda
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - run: packaging/build_cmake.sh

  cmake_linux_gpu:
    <<: *binary_common
    machine:
853
      image: ubuntu-1604-cuda-10.2:202012-01
854
855
856
857
858
859
860
861
    resource_class: gpu.small
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
862
      - designate_upload_channel
863
864
865
866
867
      - run:
          name: Setup conda
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> .circleci/unittest/linux/scripts/setup_env.sh
      - run:
          name: Build torchvision C++ distribution and test
868
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -e UPLOAD_CHANNEL -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh
869
870
871
872

  cmake_macos_cpu:
    <<: *binary_common
    macos:
873
      xcode: "12.0"
874
875
    steps:
      - checkout_merge
876
      - designate_upload_channel
877
878
879
880
881
882
883
884
885
886
887
888
889
890
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build cmake
            packaging/build_cmake.sh

  cmake_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout_merge
891
      - designate_upload_channel
892
      - install_cuda_compatible_cmath
893
894
895
896
897
898
899
900
901
902
903
904
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/build_cmake.sh

  cmake_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    steps:
      - checkout_merge
905
      - designate_upload_channel
906
      - install_cuda_compatible_cmath
907
908
909
910
911
912
913
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
  build_docs:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda100"
    resource_class: 2xlarge+
    steps:
      - attach_workspace:
          at: ~/workspace
      - checkout
      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - designate_upload_channel
      - run:
          name: Install torchvision
          command: .circleci/unittest/linux/scripts/install.sh
930
931
932
933
934
935
936
937
938
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

          keys:
            - sphinx-gallery-{{ checksum "./docs/source/conf.py" }}-{{ checksum ".circleci-weekly" }}

939
940
941
942
943
944
945
946
947
948
949
950
      - run:
          name: Build docs
          command: |
            set -ex
            tag=${CIRCLE_TAG:1:5}
            VERSION=${tag:-master}
            eval "$(./conda/bin/conda shell.bash hook)"
            conda activate ./env
            pushd docs
            pip install -r requirements.txt
            make html
            popd
951
952
953
954
955
956
      - save_cache:

          key: sphinx-gallery-{{ checksum "./docs/source/conf.py" }}-{{ checksum ".circleci-weekly" }}

          paths:
            - ./docs/source/auto_examples
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
      - persist_to_workspace:
          root: ./
          paths:
            - "*"
      - store_artifacts:
          path: ./docs/build/html
          destination: docs

  upload_docs:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda100"
    resource_class: 2xlarge+
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          name: Generate netrc
          command: |
            # set credentials for https pushing
            # requires the org-member context
            cat > ~/.netrc \<<DONE
              machine github.com
              login pytorchbot
              password ${GITHUB_PYTORCHBOT_TOKEN}
            DONE
      - run:
          name: Upload docs
          command: |
            # Don't use "checkout" step since it uses ssh, which cannot git push
            # https://circleci.com/docs/2.0/configuration-reference/#checkout
            set -ex
            tag=${CIRCLE_TAG:1:5}
            target=${tag:-master}
            ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target


994
995
996
997
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
998
      - binary_linux_wheel:
999
          conda_docker_image: pytorch/conda-builder:cpu
1000
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1001
          name: binary_linux_wheel_py3.6_cpu
1002
          python_version: '3.6'
1003
1004
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
1005
          conda_docker_image: pytorch/conda-builder:cuda102
1006
1007
1008
1009
          cu_version: cu102
          name: binary_linux_wheel_py3.6_cu102
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
1010
      - binary_linux_wheel:
1011
1012
1013
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_wheel_py3.6_cu111
peterjc123's avatar
peterjc123 committed
1014
          python_version: '3.6'
1015
          wheel_docker_image: pytorch/manylinux-cuda111
1016
1017
1018
1019
1020
      - binary_linux_wheel:
          cu_version: rocm4.1
          name: binary_linux_wheel_py3.6_rocm4.1
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-rocm:4.1
1021
1022
1023
1024
1025
      - binary_linux_wheel:
          cu_version: rocm4.2
          name: binary_linux_wheel_py3.6_rocm4.2
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-rocm:4.2
Edward Z. Yang's avatar
Edward Z. Yang committed
1026
      - binary_linux_wheel:
1027
          conda_docker_image: pytorch/conda-builder:cpu
1028
          cu_version: cpu
1029
1030
1031
1032
1033
          filters:
            branches:
              only: '*'
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1034
          name: binary_linux_wheel_py3.7_cpu
1035
          python_version: '3.7'
1036
1037
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
1038
          conda_docker_image: pytorch/conda-builder:cuda102
1039
1040
1041
1042
          cu_version: cu102
          name: binary_linux_wheel_py3.7_cu102
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
1043
      - binary_linux_wheel:
1044
1045
1046
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_wheel_py3.7_cu111
peterjc123's avatar
peterjc123 committed
1047
          python_version: '3.7'
1048
          wheel_docker_image: pytorch/manylinux-cuda111
1049
1050
1051
1052
1053
      - binary_linux_wheel:
          cu_version: rocm4.1
          name: binary_linux_wheel_py3.7_rocm4.1
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-rocm:4.1
1054
1055
1056
1057
1058
      - binary_linux_wheel:
          cu_version: rocm4.2
          name: binary_linux_wheel_py3.7_rocm4.2
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-rocm:4.2
1059
      - binary_linux_wheel:
1060
          conda_docker_image: pytorch/conda-builder:cpu
1061
1062
1063
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
1064
1065
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
1066
          conda_docker_image: pytorch/conda-builder:cuda102
1067
1068
1069
1070
          cu_version: cu102
          name: binary_linux_wheel_py3.8_cu102
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
1071
      - binary_linux_wheel:
1072
1073
1074
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_wheel_py3.8_cu111
peterjc123's avatar
peterjc123 committed
1075
          python_version: '3.8'
1076
          wheel_docker_image: pytorch/manylinux-cuda111
1077
1078
1079
1080
1081
      - binary_linux_wheel:
          cu_version: rocm4.1
          name: binary_linux_wheel_py3.8_rocm4.1
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-rocm:4.1
1082
1083
1084
1085
1086
      - binary_linux_wheel:
          cu_version: rocm4.2
          name: binary_linux_wheel_py3.8_rocm4.2
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-rocm:4.2
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_linux_wheel_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
          name: binary_linux_wheel_py3.9_cu102
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
1100
1101
1102
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_wheel_py3.9_cu111
1103
          python_version: '3.9'
1104
          wheel_docker_image: pytorch/manylinux-cuda111
1105
1106
1107
1108
1109
      - binary_linux_wheel:
          cu_version: rocm4.1
          name: binary_linux_wheel_py3.9_rocm4.1
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-rocm:4.1
1110
1111
1112
1113
1114
      - binary_linux_wheel:
          cu_version: rocm4.2
          name: binary_linux_wheel_py3.9_rocm4.2
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-rocm:4.2
Edward Z. Yang's avatar
Edward Z. Yang committed
1115
      - binary_macos_wheel:
1116
          conda_docker_image: pytorch/conda-builder:cpu
1117
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1118
          name: binary_macos_wheel_py3.6_cpu
1119
          python_version: '3.6'
1120
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1121
      - binary_macos_wheel:
1122
          conda_docker_image: pytorch/conda-builder:cpu
1123
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1124
          name: binary_macos_wheel_py3.7_cpu
1125
          python_version: '3.7'
1126
          wheel_docker_image: pytorch/manylinux-cuda102
1127
      - binary_macos_wheel:
1128
          conda_docker_image: pytorch/conda-builder:cpu
1129
1130
1131
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
1132
          wheel_docker_image: pytorch/manylinux-cuda102
1133
1134
1135
1136
1137
1138
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_macos_wheel_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
1139
      - binary_win_wheel:
1140
1141
1142
1143
          cu_version: cpu
          filters:
            branches:
              only: master
1144
1145
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1146
1147
          name: binary_win_wheel_py3.6_cpu
          python_version: '3.6'
1148
      - binary_win_wheel:
1149
          cu_version: cu102
1150
1151
1152
          filters:
            branches:
              only: master
1153
1154
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1155
1156
          name: binary_win_wheel_py3.6_cu102
          python_version: '3.6'
peterjc123's avatar
peterjc123 committed
1157
      - binary_win_wheel:
1158
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
1159
1160
1161
1162
1163
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1164
          name: binary_win_wheel_py3.6_cu111
peterjc123's avatar
peterjc123 committed
1165
          python_version: '3.6'
1166
      - binary_win_wheel:
1167
1168
1169
1170
          cu_version: cpu
          filters:
            branches:
              only: master
1171
1172
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1173
1174
          name: binary_win_wheel_py3.7_cpu
          python_version: '3.7'
1175
      - binary_win_wheel:
1176
          cu_version: cu102
1177
1178
1179
          filters:
            branches:
              only: master
1180
1181
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1182
1183
          name: binary_win_wheel_py3.7_cu102
          python_version: '3.7'
peterjc123's avatar
peterjc123 committed
1184
      - binary_win_wheel:
1185
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
1186
1187
1188
1189
1190
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1191
          name: binary_win_wheel_py3.7_cu111
peterjc123's avatar
peterjc123 committed
1192
          python_version: '3.7'
1193
      - binary_win_wheel:
1194
          cu_version: cpu
1195
1196
1197
1198
1199
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1200
1201
          name: binary_win_wheel_py3.8_cpu
          python_version: '3.8'
1202
      - binary_win_wheel:
1203
          cu_version: cu102
peterjc123's avatar
peterjc123 committed
1204
1205
1206
1207
1208
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1209
1210
          name: binary_win_wheel_py3.8_cu102
          python_version: '3.8'
peterjc123's avatar
peterjc123 committed
1211
      - binary_win_wheel:
1212
          cu_version: cu111
1213
1214
1215
1216
1217
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1218
          name: binary_win_wheel_py3.8_cu111
peterjc123's avatar
peterjc123 committed
1219
          python_version: '3.8'
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
      - binary_win_wheel:
          cu_version: cpu
          name: binary_win_wheel_py3.9_cpu
          python_version: '3.9'
      - binary_win_wheel:
          cu_version: cu102
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_wheel_py3.9_cu102
          python_version: '3.9'
      - binary_win_wheel:
1234
1235
          cu_version: cu111
          name: binary_win_wheel_py3.9_cu111
1236
          python_version: '3.9'
Edward Z. Yang's avatar
Edward Z. Yang committed
1237
      - binary_linux_conda:
1238
          conda_docker_image: pytorch/conda-builder:cpu
1239
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1240
          name: binary_linux_conda_py3.6_cpu
1241
          python_version: '3.6'
1242
1243
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
1244
          conda_docker_image: pytorch/conda-builder:cuda102
1245
1246
1247
1248
          cu_version: cu102
          name: binary_linux_conda_py3.6_cu102
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
1249
      - binary_linux_conda:
1250
1251
1252
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_conda_py3.6_cu111
peterjc123's avatar
peterjc123 committed
1253
          python_version: '3.6'
1254
          wheel_docker_image: pytorch/manylinux-cuda111
Edward Z. Yang's avatar
Edward Z. Yang committed
1255
      - binary_linux_conda:
1256
          conda_docker_image: pytorch/conda-builder:cpu
1257
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1258
          name: binary_linux_conda_py3.7_cpu
1259
          python_version: '3.7'
1260
1261
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
1262
          conda_docker_image: pytorch/conda-builder:cuda102
1263
1264
1265
1266
          cu_version: cu102
          name: binary_linux_conda_py3.7_cu102
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
1267
      - binary_linux_conda:
1268
1269
1270
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_conda_py3.7_cu111
peterjc123's avatar
peterjc123 committed
1271
          python_version: '3.7'
1272
          wheel_docker_image: pytorch/manylinux-cuda111
1273
      - binary_linux_conda:
1274
          conda_docker_image: pytorch/conda-builder:cpu
1275
1276
1277
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
1278
1279
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
1280
          conda_docker_image: pytorch/conda-builder:cuda102
1281
1282
1283
1284
          cu_version: cu102
          name: binary_linux_conda_py3.8_cu102
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
1285
      - binary_linux_conda:
1286
1287
1288
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_conda_py3.8_cu111
peterjc123's avatar
peterjc123 committed
1289
          python_version: '3.8'
1290
          wheel_docker_image: pytorch/manylinux-cuda111
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_linux_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
          name: binary_linux_conda_py3.9_cu102
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
1304
1305
1306
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
          name: binary_linux_conda_py3.9_cu111
1307
          python_version: '3.9'
1308
          wheel_docker_image: pytorch/manylinux-cuda111
Edward Z. Yang's avatar
Edward Z. Yang committed
1309
      - binary_macos_conda:
1310
          conda_docker_image: pytorch/conda-builder:cpu
1311
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1312
          name: binary_macos_conda_py3.6_cpu
1313
          python_version: '3.6'
1314
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1315
      - binary_macos_conda:
1316
          conda_docker_image: pytorch/conda-builder:cpu
1317
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1318
          name: binary_macos_conda_py3.7_cpu
1319
          python_version: '3.7'
1320
          wheel_docker_image: pytorch/manylinux-cuda102
1321
      - binary_macos_conda:
1322
          conda_docker_image: pytorch/conda-builder:cpu
1323
1324
1325
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
1326
          wheel_docker_image: pytorch/manylinux-cuda102
1327
1328
1329
1330
1331
1332
      - binary_macos_conda:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_macos_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
1333
      - binary_win_conda:
1334
1335
1336
1337
          cu_version: cpu
          filters:
            branches:
              only: master
1338
1339
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1340
1341
          name: binary_win_conda_py3.6_cpu
          python_version: '3.6'
1342
      - binary_win_conda:
1343
          cu_version: cu102
1344
1345
1346
          filters:
            branches:
              only: master
1347
1348
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1349
1350
          name: binary_win_conda_py3.6_cu102
          python_version: '3.6'
peterjc123's avatar
peterjc123 committed
1351
      - binary_win_conda:
1352
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
1353
1354
1355
1356
1357
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1358
          name: binary_win_conda_py3.6_cu111
peterjc123's avatar
peterjc123 committed
1359
          python_version: '3.6'
1360
      - binary_win_conda:
1361
1362
1363
1364
          cu_version: cpu
          filters:
            branches:
              only: master
1365
1366
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1367
1368
          name: binary_win_conda_py3.7_cpu
          python_version: '3.7'
1369
      - binary_win_conda:
1370
          cu_version: cu102
1371
1372
1373
          filters:
            branches:
              only: master
1374
1375
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1376
1377
          name: binary_win_conda_py3.7_cu102
          python_version: '3.7'
peterjc123's avatar
peterjc123 committed
1378
      - binary_win_conda:
1379
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
1380
1381
1382
1383
1384
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1385
          name: binary_win_conda_py3.7_cu111
peterjc123's avatar
peterjc123 committed
1386
          python_version: '3.7'
1387
      - binary_win_conda:
1388
          cu_version: cpu
1389
1390
1391
1392
1393
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1394
1395
          name: binary_win_conda_py3.8_cpu
          python_version: '3.8'
1396
      - binary_win_conda:
1397
          cu_version: cu102
peterjc123's avatar
peterjc123 committed
1398
1399
1400
1401
1402
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1403
1404
          name: binary_win_conda_py3.8_cu102
          python_version: '3.8'
peterjc123's avatar
peterjc123 committed
1405
      - binary_win_conda:
1406
          cu_version: cu111
1407
1408
1409
1410
1411
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1412
          name: binary_win_conda_py3.8_cu111
peterjc123's avatar
peterjc123 committed
1413
          python_version: '3.8'
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
      - binary_win_conda:
          cu_version: cpu
          name: binary_win_conda_py3.9_cpu
          python_version: '3.9'
      - binary_win_conda:
          cu_version: cu102
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_conda_py3.9_cu102
          python_version: '3.9'
      - binary_win_conda:
1428
1429
          cu_version: cu111
          name: binary_win_conda_py3.9_cu111
1430
          python_version: '3.9'
1431
      - build_docs:
1432
1433
1434
1435
1436
1437
          filters:
            branches:
              only:
              - nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
          name: build_docs
          python_version: '3.7'
          requires:
          - binary_linux_wheel_py3.7_cpu
      - upload_docs:
          context: org-member
          filters:
            branches:
              only:
              - nightly
1448
1449
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1450
1451
1452
1453
          name: upload_docs
          python_version: '3.7'
          requires:
          - build_docs
1454
      - python_lint
1455
      - python_type_check
1456
      - docstring_parameters_sync
1457
      - clang_format
Francisco Massa's avatar
Francisco Massa committed
1458
      - torchhub_test
1459
      - torch_onnx_test
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
      - binary_ios_build:
          build_environment: binary-libtorchvision_ops-ios-12.0.0-x86_64
          ios_arch: x86_64
          ios_platform: SIMULATOR
          name: binary_libtorchvision_ops_ios_12.0.0_x86_64
      - binary_ios_build:
          build_environment: binary-libtorchvision_ops-ios-12.0.0-arm64
          ios_arch: arm64
          ios_platform: OS
          name: binary_libtorchvision_ops_ios_12.0.0_arm64
1470
1471
1472
      - binary_android_build:
          build_environment: binary-libtorchvision_ops-android
          name: binary_libtorchvision_ops_android
Edward Z. Yang's avatar
Edward Z. Yang committed
1473

1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
  unittest:
    jobs:
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.6
          python_version: '3.6'
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.7
          python_version: '3.7'
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.8
          python_version: '3.8'
1488
1489
1490
1491
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.9
          python_version: '3.9'
1492
      - unittest_linux_gpu:
1493
          cu_version: cu102
1494
1495
1496
1497
1498
1499
1500
1501
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.6
          python_version: '3.6'
      - unittest_linux_gpu:
1502
          cu_version: cu102
1503
1504
1505
1506
1507
1508
1509
1510
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.7
          python_version: '3.7'
      - unittest_linux_gpu:
1511
          cu_version: cu102
1512
1513
          name: unittest_linux_gpu_py3.8
          python_version: '3.8'
1514
      - unittest_linux_gpu:
1515
          cu_version: cu102
1516
1517
1518
1519
1520
1521
1522
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.9
          python_version: '3.9'
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.6
          python_version: '3.6'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.7
          python_version: '3.7'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.8
          python_version: '3.8'
1535
1536
1537
1538
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.9
          python_version: '3.9'
1539
      - unittest_windows_gpu:
1540
          cu_version: cu102
1541
1542
1543
1544
1545
1546
1547
1548
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.6
          python_version: '3.6'
      - unittest_windows_gpu:
1549
          cu_version: cu102
1550
1551
1552
1553
1554
1555
1556
1557
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.7
          python_version: '3.7'
      - unittest_windows_gpu:
1558
          cu_version: cu102
1559
1560
          name: unittest_windows_gpu_py3.8
          python_version: '3.8'
1561
      - unittest_windows_gpu:
1562
          cu_version: cu102
1563
1564
1565
1566
1567
1568
1569
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.9
          python_version: '3.9'
Francisco Massa's avatar
Francisco Massa committed
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.6
          python_version: '3.6'
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.7
          python_version: '3.7'
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.8
          python_version: '3.8'
1582
1583
1584
1585
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.9
          python_version: '3.9'
1586
1587
1588
1589
1590
1591
1592
1593

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1594
          cu_version: cu102
1595
1596
          name: cmake_linux_gpu
          python_version: '3.8'
1597
          wheel_docker_image: pytorch/manylinux-cuda102
1598
1599
1600
1601
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1602
      - cmake_windows_gpu:
1603
          cu_version: cu102
1604
1605
          name: cmake_windows_gpu
          python_version: '3.8'
1606
1607
1608
1609
1610
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

Edward Z. Yang's avatar
Edward Z. Yang committed
1611
1612
1613
  nightly:
    jobs:
      - circleci_consistency
1614
      - python_lint
1615
      - python_type_check
1616
      - docstring_parameters_sync
1617
      - clang_format
Francisco Massa's avatar
Francisco Massa committed
1618
      - torchhub_test
1619
      - torch_onnx_test
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
      - binary_ios_build:
          build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-x86_64
          filters:
            branches:
              only:
              - nightly
          ios_arch: x86_64
          ios_platform: SIMULATOR
          name: nightly_binary_libtorchvision_ops_ios_12.0.0_x86_64
      - binary_ios_build:
          build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-arm64
          filters:
            branches:
              only:
              - nightly
          ios_arch: arm64
          ios_platform: OS
          name: nightly_binary_libtorchvision_ops_ios_12.0.0_arm64
      - binary_ios_upload:
          build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-upload
          context: org-member
          filters:
            branches:
              only:
              - nightly
          requires:
          - nightly_binary_libtorchvision_ops_ios_12.0.0_x86_64
          - nightly_binary_libtorchvision_ops_ios_12.0.0_arm64
1648
1649
1650
1651
1652
1653
1654
1655
      - binary_android_upload:
          build_environment: nightly-binary-libtorchvision_ops-android-upload
          context: org-member
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_libtorchvision_ops_android_upload
1656
      - binary_linux_wheel:
1657
          conda_docker_image: pytorch/conda-builder:cpu
1658
          cu_version: cpu
1659
1660
1661
          filters:
            branches:
              only: nightly
1662
1663
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1664
          name: nightly_binary_linux_wheel_py3.6_cpu
1665
          python_version: '3.6'
1666
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1667
1668
      - binary_wheel_upload:
          context: org-member
1669
1670
1671
          filters:
            branches:
              only: nightly
1672
1673
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1674
          name: nightly_binary_linux_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1675
          requires:
1676
1677
          - nightly_binary_linux_wheel_py3.6_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1678
1679
1680
1681
1682
1683
1684
1685
1686
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cpu_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cpu_upload
Francisco Massa's avatar
Francisco Massa committed
1687
      - binary_linux_wheel:
1688
          conda_docker_image: pytorch/conda-builder:cuda102
1689
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1690
1691
1692
          filters:
            branches:
              only: nightly
1693
1694
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1695
          name: nightly_binary_linux_wheel_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1696
          python_version: '3.6'
1697
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1698
1699
1700
1701
1702
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1703
1704
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1705
          name: nightly_binary_linux_wheel_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1706
          requires:
1707
1708
          - nightly_binary_linux_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1709
1710
1711
1712
1713
1714
1715
1716
1717
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cu102_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cu102_upload
peterjc123's avatar
peterjc123 committed
1718
      - binary_linux_wheel:
1719
1720
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
1721
1722
1723
1724
1725
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1726
          name: nightly_binary_linux_wheel_py3.6_cu111
peterjc123's avatar
peterjc123 committed
1727
          python_version: '3.6'
1728
          wheel_docker_image: pytorch/manylinux-cuda111
peterjc123's avatar
peterjc123 committed
1729
1730
1731
1732
1733
1734
1735
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1736
          name: nightly_binary_linux_wheel_py3.6_cu111_upload
peterjc123's avatar
peterjc123 committed
1737
          requires:
1738
1739
          - nightly_binary_linux_wheel_py3.6_cu111
          subfolder: cu111/
peterjc123's avatar
peterjc123 committed
1740
1741
1742
1743
1744
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1745
          name: nightly_binary_linux_wheel_py3.6_cu111_smoke_test_pip
peterjc123's avatar
peterjc123 committed
1746
1747
          python_version: '3.6'
          requires:
1748
          - nightly_binary_linux_wheel_py3.6_cu111_upload
Jeff Daily's avatar
Jeff Daily committed
1749
      - binary_linux_wheel:
1750
          cu_version: rocm4.1
Jeff Daily's avatar
Jeff Daily committed
1751
1752
1753
1754
1755
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1756
          name: nightly_binary_linux_wheel_py3.6_rocm4.1
Jeff Daily's avatar
Jeff Daily committed
1757
          python_version: '3.6'
1758
          wheel_docker_image: pytorch/manylinux-rocm:4.1
Jeff Daily's avatar
Jeff Daily committed
1759
1760
1761
1762
1763
1764
1765
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1766
          name: nightly_binary_linux_wheel_py3.6_rocm4.1_upload
Jeff Daily's avatar
Jeff Daily committed
1767
          requires:
1768
1769
          - nightly_binary_linux_wheel_py3.6_rocm4.1
          subfolder: rocm4.1/
Jeff Daily's avatar
Jeff Daily committed
1770
1771
1772
1773
1774
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1775
          name: nightly_binary_linux_wheel_py3.6_rocm4.1_smoke_test_pip
Jeff Daily's avatar
Jeff Daily committed
1776
1777
          python_version: '3.6'
          requires:
1778
          - nightly_binary_linux_wheel_py3.6_rocm4.1_upload
1779
      - binary_linux_wheel:
1780
          cu_version: rocm4.2
1781
1782
1783
1784
1785
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1786
          name: nightly_binary_linux_wheel_py3.6_rocm4.2
1787
          python_version: '3.6'
1788
          wheel_docker_image: pytorch/manylinux-rocm:4.2
1789
1790
1791
1792
1793
1794
1795
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1796
          name: nightly_binary_linux_wheel_py3.6_rocm4.2_upload
1797
          requires:
1798
1799
          - nightly_binary_linux_wheel_py3.6_rocm4.2
          subfolder: rocm4.2/
1800
1801
1802
1803
1804
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1805
          name: nightly_binary_linux_wheel_py3.6_rocm4.2_smoke_test_pip
1806
1807
          python_version: '3.6'
          requires:
1808
          - nightly_binary_linux_wheel_py3.6_rocm4.2_upload
1809
      - binary_linux_wheel:
1810
          conda_docker_image: pytorch/conda-builder:cpu
1811
          cu_version: cpu
1812
1813
1814
          filters:
            branches:
              only: nightly
1815
1816
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1817
          name: nightly_binary_linux_wheel_py3.7_cpu
1818
          python_version: '3.7'
1819
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1820
1821
      - binary_wheel_upload:
          context: org-member
1822
1823
1824
          filters:
            branches:
              only: nightly
1825
1826
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1827
          name: nightly_binary_linux_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1828
          requires:
1829
1830
          - nightly_binary_linux_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1831
1832
1833
1834
1835
1836
1837
1838
1839
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cpu_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cpu_upload
Francisco Massa's avatar
Francisco Massa committed
1840
      - binary_linux_wheel:
1841
          conda_docker_image: pytorch/conda-builder:cuda102
1842
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1843
1844
1845
          filters:
            branches:
              only: nightly
1846
1847
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1848
          name: nightly_binary_linux_wheel_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1849
          python_version: '3.7'
1850
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1851
1852
1853
1854
1855
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1856
1857
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1858
          name: nightly_binary_linux_wheel_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1859
          requires:
1860
1861
          - nightly_binary_linux_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1862
1863
1864
1865
1866
1867
1868
1869
1870
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cu102_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cu102_upload
peterjc123's avatar
peterjc123 committed
1871
      - binary_linux_wheel:
1872
1873
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
1874
1875
1876
1877
1878
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1879
          name: nightly_binary_linux_wheel_py3.7_cu111
peterjc123's avatar
peterjc123 committed
1880
          python_version: '3.7'
1881
          wheel_docker_image: pytorch/manylinux-cuda111
peterjc123's avatar
peterjc123 committed
1882
1883
1884
1885
1886
1887
1888
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1889
          name: nightly_binary_linux_wheel_py3.7_cu111_upload
peterjc123's avatar
peterjc123 committed
1890
          requires:
1891
1892
          - nightly_binary_linux_wheel_py3.7_cu111
          subfolder: cu111/
peterjc123's avatar
peterjc123 committed
1893
1894
1895
1896
1897
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1898
          name: nightly_binary_linux_wheel_py3.7_cu111_smoke_test_pip
peterjc123's avatar
peterjc123 committed
1899
1900
          python_version: '3.7'
          requires:
1901
          - nightly_binary_linux_wheel_py3.7_cu111_upload
Jeff Daily's avatar
Jeff Daily committed
1902
      - binary_linux_wheel:
1903
          cu_version: rocm4.1
Jeff Daily's avatar
Jeff Daily committed
1904
1905
1906
1907
1908
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1909
          name: nightly_binary_linux_wheel_py3.7_rocm4.1
Jeff Daily's avatar
Jeff Daily committed
1910
          python_version: '3.7'
1911
          wheel_docker_image: pytorch/manylinux-rocm:4.1
Jeff Daily's avatar
Jeff Daily committed
1912
1913
1914
1915
1916
1917
1918
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1919
          name: nightly_binary_linux_wheel_py3.7_rocm4.1_upload
Jeff Daily's avatar
Jeff Daily committed
1920
          requires:
1921
1922
          - nightly_binary_linux_wheel_py3.7_rocm4.1
          subfolder: rocm4.1/
Jeff Daily's avatar
Jeff Daily committed
1923
1924
1925
1926
1927
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1928
          name: nightly_binary_linux_wheel_py3.7_rocm4.1_smoke_test_pip
Jeff Daily's avatar
Jeff Daily committed
1929
1930
          python_version: '3.7'
          requires:
1931
          - nightly_binary_linux_wheel_py3.7_rocm4.1_upload
1932
      - binary_linux_wheel:
1933
          cu_version: rocm4.2
1934
1935
1936
1937
1938
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1939
          name: nightly_binary_linux_wheel_py3.7_rocm4.2
1940
          python_version: '3.7'
1941
          wheel_docker_image: pytorch/manylinux-rocm:4.2
1942
1943
1944
1945
1946
1947
1948
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1949
          name: nightly_binary_linux_wheel_py3.7_rocm4.2_upload
1950
          requires:
1951
1952
          - nightly_binary_linux_wheel_py3.7_rocm4.2
          subfolder: rocm4.2/
1953
1954
1955
1956
1957
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1958
          name: nightly_binary_linux_wheel_py3.7_rocm4.2_smoke_test_pip
1959
1960
          python_version: '3.7'
          requires:
1961
          - nightly_binary_linux_wheel_py3.7_rocm4.2_upload
1962
      - binary_linux_wheel:
1963
          conda_docker_image: pytorch/conda-builder:cpu
1964
1965
1966
1967
          cu_version: cpu
          filters:
            branches:
              only: nightly
1968
1969
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1970
1971
          name: nightly_binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
1972
          wheel_docker_image: pytorch/manylinux-cuda102
1973
1974
1975
1976
1977
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1978
1979
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1980
1981
1982
1983
          name: nightly_binary_linux_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1984
1985
1986
1987
1988
1989
1990
1991
1992
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cpu_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu_upload
1993
      - binary_linux_wheel:
1994
          conda_docker_image: pytorch/conda-builder:cuda102
1995
          cu_version: cu102
1996
1997
1998
          filters:
            branches:
              only: nightly
1999
2000
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2001
          name: nightly_binary_linux_wheel_py3.8_cu102
2002
          python_version: '3.8'
2003
          wheel_docker_image: pytorch/manylinux-cuda102
2004
2005
2006
2007
2008
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2009
2010
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2011
          name: nightly_binary_linux_wheel_py3.8_cu102_upload
2012
          requires:
2013
2014
          - nightly_binary_linux_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2015
2016
2017
2018
2019
2020
2021
2022
2023
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cu102_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cu102_upload
peterjc123's avatar
peterjc123 committed
2024
      - binary_linux_wheel:
2025
2026
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
2027
2028
2029
2030
2031
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2032
          name: nightly_binary_linux_wheel_py3.8_cu111
peterjc123's avatar
peterjc123 committed
2033
          python_version: '3.8'
2034
          wheel_docker_image: pytorch/manylinux-cuda111
peterjc123's avatar
peterjc123 committed
2035
2036
2037
2038
2039
2040
2041
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2042
          name: nightly_binary_linux_wheel_py3.8_cu111_upload
peterjc123's avatar
peterjc123 committed
2043
          requires:
2044
2045
          - nightly_binary_linux_wheel_py3.8_cu111
          subfolder: cu111/
peterjc123's avatar
peterjc123 committed
2046
2047
2048
2049
2050
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
2051
          name: nightly_binary_linux_wheel_py3.8_cu111_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2052
2053
          python_version: '3.8'
          requires:
2054
          - nightly_binary_linux_wheel_py3.8_cu111_upload
Jeff Daily's avatar
Jeff Daily committed
2055
      - binary_linux_wheel:
2056
          cu_version: rocm4.1
Jeff Daily's avatar
Jeff Daily committed
2057
2058
2059
2060
2061
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2062
          name: nightly_binary_linux_wheel_py3.8_rocm4.1
Jeff Daily's avatar
Jeff Daily committed
2063
          python_version: '3.8'
2064
          wheel_docker_image: pytorch/manylinux-rocm:4.1
Jeff Daily's avatar
Jeff Daily committed
2065
2066
2067
2068
2069
2070
2071
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2072
          name: nightly_binary_linux_wheel_py3.8_rocm4.1_upload
Jeff Daily's avatar
Jeff Daily committed
2073
          requires:
2074
2075
          - nightly_binary_linux_wheel_py3.8_rocm4.1
          subfolder: rocm4.1/
Jeff Daily's avatar
Jeff Daily committed
2076
2077
2078
2079
2080
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
2081
          name: nightly_binary_linux_wheel_py3.8_rocm4.1_smoke_test_pip
Jeff Daily's avatar
Jeff Daily committed
2082
2083
          python_version: '3.8'
          requires:
2084
          - nightly_binary_linux_wheel_py3.8_rocm4.1_upload
2085
      - binary_linux_wheel:
2086
          cu_version: rocm4.2
2087
2088
2089
2090
2091
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2092
          name: nightly_binary_linux_wheel_py3.8_rocm4.2
2093
          python_version: '3.8'
2094
          wheel_docker_image: pytorch/manylinux-rocm:4.2
2095
2096
2097
2098
2099
2100
2101
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2102
          name: nightly_binary_linux_wheel_py3.8_rocm4.2_upload
2103
          requires:
2104
2105
          - nightly_binary_linux_wheel_py3.8_rocm4.2
          subfolder: rocm4.2/
2106
2107
2108
2109
2110
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
2111
          name: nightly_binary_linux_wheel_py3.8_rocm4.2_smoke_test_pip
2112
2113
          python_version: '3.8'
          requires:
2114
          - nightly_binary_linux_wheel_py3.8_rocm4.2_upload
2115
2116
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
2117
          cu_version: cpu
2118
2119
2120
          filters:
            branches:
              only: nightly
2121
2122
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2123
2124
          name: nightly_binary_linux_wheel_py3.9_cpu
          python_version: '3.9'
2125
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2126
2127
      - binary_wheel_upload:
          context: org-member
2128
2129
2130
          filters:
            branches:
              only: nightly
2131
2132
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2133
          name: nightly_binary_linux_wheel_py3.9_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2134
          requires:
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
          - nightly_binary_linux_wheel_py3.9_cpu
          subfolder: cpu/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.9_cpu_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_linux_wheel_py3.9_cpu_upload
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
2149
2150
2151
          filters:
            branches:
              only: nightly
2152
2153
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2154
2155
          name: nightly_binary_linux_wheel_py3.9_cu102
          python_version: '3.9'
2156
          wheel_docker_image: pytorch/manylinux-cuda102
2157
2158
2159
2160
2161
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2162
2163
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2164
          name: nightly_binary_linux_wheel_py3.9_cu102_upload
2165
          requires:
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
          - nightly_binary_linux_wheel_py3.9_cu102
          subfolder: cu102/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.9_cu102_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_linux_wheel_py3.9_cu102_upload
      - binary_linux_wheel:
2178
2179
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
2180
2181
2182
          filters:
            branches:
              only: nightly
2183
2184
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2185
          name: nightly_binary_linux_wheel_py3.9_cu111
2186
          python_version: '3.9'
2187
          wheel_docker_image: pytorch/manylinux-cuda111
2188
2189
2190
2191
2192
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2193
2194
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2195
          name: nightly_binary_linux_wheel_py3.9_cu111_upload
2196
          requires:
2197
2198
          - nightly_binary_linux_wheel_py3.9_cu111
          subfolder: cu111/
2199
      - smoke_test_linux_pip:
guyang3532's avatar
guyang3532 committed
2200
2201
2202
2203
          filters:
            branches:
              only:
              - nightly
2204
          name: nightly_binary_linux_wheel_py3.9_cu111_smoke_test_pip
2205
          python_version: '3.9'
guyang3532's avatar
guyang3532 committed
2206
          requires:
2207
          - nightly_binary_linux_wheel_py3.9_cu111_upload
Jeff Daily's avatar
Jeff Daily committed
2208
      - binary_linux_wheel:
2209
          cu_version: rocm4.1
Jeff Daily's avatar
Jeff Daily committed
2210
2211
2212
2213
2214
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2215
          name: nightly_binary_linux_wheel_py3.9_rocm4.1
Jeff Daily's avatar
Jeff Daily committed
2216
          python_version: '3.9'
2217
          wheel_docker_image: pytorch/manylinux-rocm:4.1
Jeff Daily's avatar
Jeff Daily committed
2218
2219
2220
2221
2222
2223
2224
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2225
          name: nightly_binary_linux_wheel_py3.9_rocm4.1_upload
Jeff Daily's avatar
Jeff Daily committed
2226
          requires:
2227
2228
          - nightly_binary_linux_wheel_py3.9_rocm4.1
          subfolder: rocm4.1/
Jeff Daily's avatar
Jeff Daily committed
2229
2230
2231
2232
2233
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
2234
          name: nightly_binary_linux_wheel_py3.9_rocm4.1_smoke_test_pip
Jeff Daily's avatar
Jeff Daily committed
2235
2236
          python_version: '3.9'
          requires:
2237
          - nightly_binary_linux_wheel_py3.9_rocm4.1_upload
2238
      - binary_linux_wheel:
2239
          cu_version: rocm4.2
2240
2241
2242
2243
2244
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2245
          name: nightly_binary_linux_wheel_py3.9_rocm4.2
2246
          python_version: '3.9'
2247
          wheel_docker_image: pytorch/manylinux-rocm:4.2
2248
2249
2250
2251
2252
2253
2254
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2255
          name: nightly_binary_linux_wheel_py3.9_rocm4.2_upload
2256
          requires:
2257
2258
          - nightly_binary_linux_wheel_py3.9_rocm4.2
          subfolder: rocm4.2/
2259
2260
2261
2262
2263
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
2264
          name: nightly_binary_linux_wheel_py3.9_rocm4.2_smoke_test_pip
2265
2266
          python_version: '3.9'
          requires:
2267
          - nightly_binary_linux_wheel_py3.9_rocm4.2_upload
2268
2269
2270
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
2271
2272
2273
          filters:
            branches:
              only: nightly
2274
2275
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2276
          name: nightly_binary_macos_wheel_py3.6_cpu
2277
          python_version: '3.6'
2278
          wheel_docker_image: pytorch/manylinux-cuda102
2279
2280
2281
2282
2283
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2284
2285
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2286
          name: nightly_binary_macos_wheel_py3.6_cpu_upload
2287
          requires:
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
          - nightly_binary_macos_wheel_py3.6_cpu
          subfolder: ''
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.7_cpu
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.7_cpu
          subfolder: ''
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.8_cpu
          subfolder: ''
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.9_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.9_cpu
          subfolder: ''
      - binary_win_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.6_cpu
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.6_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cpu
          subfolder: cpu/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.6_cpu_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_win_wheel_py3.6_cpu_upload
2385
      - binary_win_wheel:
2386
          cu_version: cu102
2387
2388
2389
          filters:
            branches:
              only: nightly
2390
2391
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2392
2393
2394
2395
2396
2397
2398
          name: nightly_binary_win_wheel_py3.6_cu102
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2399
2400
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2401
2402
2403
2404
          name: nightly_binary_win_wheel_py3.6_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2405
2406
2407
2408
2409
2410
2411
2412
2413
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.6_cu102_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_win_wheel_py3.6_cu102_upload
peterjc123's avatar
peterjc123 committed
2414
      - binary_win_wheel:
2415
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
2416
2417
2418
2419
2420
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2421
          name: nightly_binary_win_wheel_py3.6_cu111
peterjc123's avatar
peterjc123 committed
2422
2423
2424
2425
2426
2427
2428
2429
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2430
          name: nightly_binary_win_wheel_py3.6_cu111_upload
peterjc123's avatar
peterjc123 committed
2431
          requires:
2432
2433
          - nightly_binary_win_wheel_py3.6_cu111
          subfolder: cu111/
peterjc123's avatar
peterjc123 committed
2434
2435
2436
2437
2438
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2439
          name: nightly_binary_win_wheel_py3.6_cu111_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2440
2441
          python_version: '3.6'
          requires:
2442
          - nightly_binary_win_wheel_py3.6_cu111_upload
2443
      - binary_win_wheel:
2444
2445
2446
2447
          cu_version: cpu
          filters:
            branches:
              only: nightly
2448
2449
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2450
2451
2452
2453
2454
2455
2456
          name: nightly_binary_win_wheel_py3.7_cpu
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2457
2458
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2459
2460
2461
2462
          name: nightly_binary_win_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
2463
2464
2465
2466
2467
2468
2469
2470
2471
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.7_cpu_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_win_wheel_py3.7_cpu_upload
2472
      - binary_win_wheel:
2473
          cu_version: cu102
2474
2475
2476
          filters:
            branches:
              only: nightly
2477
2478
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2479
2480
2481
2482
2483
2484
2485
          name: nightly_binary_win_wheel_py3.7_cu102
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2486
2487
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2488
2489
2490
2491
          name: nightly_binary_win_wheel_py3.7_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2492
2493
2494
2495
2496
2497
2498
2499
2500
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.7_cu102_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_win_wheel_py3.7_cu102_upload
peterjc123's avatar
peterjc123 committed
2501
      - binary_win_wheel:
2502
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
2503
2504
2505
2506
2507
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2508
          name: nightly_binary_win_wheel_py3.7_cu111
peterjc123's avatar
peterjc123 committed
2509
2510
2511
2512
2513
2514
2515
2516
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2517
          name: nightly_binary_win_wheel_py3.7_cu111_upload
peterjc123's avatar
peterjc123 committed
2518
          requires:
2519
2520
          - nightly_binary_win_wheel_py3.7_cu111
          subfolder: cu111/
peterjc123's avatar
peterjc123 committed
2521
2522
2523
2524
2525
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2526
          name: nightly_binary_win_wheel_py3.7_cu111_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2527
2528
          python_version: '3.7'
          requires:
2529
          - nightly_binary_win_wheel_py3.7_cu111_upload
2530
      - binary_win_wheel:
2531
2532
2533
2534
          cu_version: cpu
          filters:
            branches:
              only: nightly
2535
2536
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2537
2538
2539
2540
2541
2542
2543
          name: nightly_binary_win_wheel_py3.8_cpu
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2544
2545
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2546
2547
2548
2549
          name: nightly_binary_win_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
2550
2551
2552
2553
2554
2555
2556
2557
2558
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.8_cpu_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_win_wheel_py3.8_cpu_upload
2559
      - binary_win_wheel:
2560
          cu_version: cu102
2561
2562
2563
          filters:
            branches:
              only: nightly
2564
2565
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2566
2567
2568
2569
2570
2571
2572
          name: nightly_binary_win_wheel_py3.8_cu102
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2573
2574
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2575
2576
2577
2578
          name: nightly_binary_win_wheel_py3.8_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2579
2580
2581
2582
2583
2584
2585
2586
2587
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.8_cu102_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_win_wheel_py3.8_cu102_upload
peterjc123's avatar
peterjc123 committed
2588
      - binary_win_wheel:
2589
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
2590
2591
2592
2593
2594
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2595
          name: nightly_binary_win_wheel_py3.8_cu111
peterjc123's avatar
peterjc123 committed
2596
2597
2598
2599
2600
2601
2602
2603
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2604
          name: nightly_binary_win_wheel_py3.8_cu111_upload
peterjc123's avatar
peterjc123 committed
2605
          requires:
2606
2607
          - nightly_binary_win_wheel_py3.8_cu111
          subfolder: cu111/
peterjc123's avatar
peterjc123 committed
2608
2609
2610
2611
2612
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2613
          name: nightly_binary_win_wheel_py3.8_cu111_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2614
2615
          python_version: '3.8'
          requires:
2616
          - nightly_binary_win_wheel_py3.8_cu111_upload
2617
      - binary_win_wheel:
2618
          cu_version: cpu
2619
2620
2621
          filters:
            branches:
              only: nightly
2622
2623
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2624
2625
2626
          name: nightly_binary_win_wheel_py3.9_cpu
          python_version: '3.9'
      - binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
2627
          context: org-member
2628
2629
2630
          filters:
            branches:
              only: nightly
2631
2632
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2633
          name: nightly_binary_win_wheel_py3.9_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2634
          requires:
2635
2636
2637
          - nightly_binary_win_wheel_py3.9_cpu
          subfolder: cpu/
      - smoke_test_win_pip:
guyang3532's avatar
guyang3532 committed
2638
2639
2640
2641
          filters:
            branches:
              only:
              - nightly
2642
2643
          name: nightly_binary_win_wheel_py3.9_cpu_smoke_test_pip
          python_version: '3.9'
guyang3532's avatar
guyang3532 committed
2644
          requires:
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
          - nightly_binary_win_wheel_py3.9_cpu_upload
      - binary_win_wheel:
          cu_version: cu102
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.9_cu102
          python_version: '3.9'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.9_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.9_cu102
          subfolder: cu102/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.9_cu102_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_win_wheel_py3.9_cu102_upload
      - binary_win_wheel:
2676
          cu_version: cu111
2677
2678
2679
2680
2681
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2682
          name: nightly_binary_win_wheel_py3.9_cu111
2683
2684
2685
2686
2687
2688
2689
2690
          python_version: '3.9'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2691
          name: nightly_binary_win_wheel_py3.9_cu111_upload
2692
          requires:
2693
2694
          - nightly_binary_win_wheel_py3.9_cu111
          subfolder: cu111/
2695
2696
2697
2698
2699
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2700
          name: nightly_binary_win_wheel_py3.9_cu111_smoke_test_pip
2701
2702
          python_version: '3.9'
          requires:
2703
          - nightly_binary_win_wheel_py3.9_cu111_upload
2704
      - binary_linux_conda:
2705
2706
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
2707
2708
2709
          filters:
            branches:
              only: nightly
2710
2711
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2712
          name: nightly_binary_linux_conda_py3.6_cpu
2713
          python_version: '3.6'
2714
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2715
2716
      - binary_conda_upload:
          context: org-member
2717
2718
2719
          filters:
            branches:
              only: nightly
2720
2721
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2722
          name: nightly_binary_linux_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2723
          requires:
2724
          - nightly_binary_linux_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
2725
2726
2727
2728
2729
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2730
          name: nightly_binary_linux_conda_py3.6_cpu_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2731
2732
          python_version: '3.6'
          requires:
2733
          - nightly_binary_linux_conda_py3.6_cpu_upload
Francisco Massa's avatar
Francisco Massa committed
2734
      - binary_linux_conda:
2735
          conda_docker_image: pytorch/conda-builder:cuda102
2736
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
2737
2738
2739
          filters:
            branches:
              only: nightly
2740
2741
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2742
          name: nightly_binary_linux_conda_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
2743
          python_version: '3.6'
2744
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
2745
2746
2747
2748
2749
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2750
2751
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2752
          name: nightly_binary_linux_conda_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
2753
          requires:
2754
          - nightly_binary_linux_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
2755
2756
2757
2758
2759
2760
2761
2762
2763
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.6_cu102_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_linux_conda_py3.6_cu102_upload
peterjc123's avatar
peterjc123 committed
2764
      - binary_linux_conda:
2765
2766
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
2767
2768
2769
2770
2771
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2772
          name: nightly_binary_linux_conda_py3.6_cu111
peterjc123's avatar
peterjc123 committed
2773
          python_version: '3.6'
2774
          wheel_docker_image: pytorch/manylinux-cuda111
peterjc123's avatar
peterjc123 committed
2775
2776
2777
2778
2779
2780
2781
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2782
          name: nightly_binary_linux_conda_py3.6_cu111_upload
peterjc123's avatar
peterjc123 committed
2783
          requires:
2784
          - nightly_binary_linux_conda_py3.6_cu111
peterjc123's avatar
peterjc123 committed
2785
2786
2787
2788
2789
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2790
          name: nightly_binary_linux_conda_py3.6_cu111_smoke_test_conda
peterjc123's avatar
peterjc123 committed
2791
2792
          python_version: '3.6'
          requires:
2793
          - nightly_binary_linux_conda_py3.6_cu111_upload
2794
      - binary_linux_conda:
2795
          conda_docker_image: pytorch/conda-builder:cpu
2796
          cu_version: cpu
2797
2798
2799
          filters:
            branches:
              only: nightly
2800
2801
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2802
          name: nightly_binary_linux_conda_py3.7_cpu
2803
          python_version: '3.7'
2804
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2805
2806
      - binary_conda_upload:
          context: org-member
2807
2808
2809
          filters:
            branches:
              only: nightly
2810
2811
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2812
          name: nightly_binary_linux_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2813
          requires:
2814
          - nightly_binary_linux_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
2815
2816
2817
2818
2819
2820
2821
2822
2823
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cpu_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cpu_upload
Francisco Massa's avatar
Francisco Massa committed
2824
      - binary_linux_conda:
2825
          conda_docker_image: pytorch/conda-builder:cuda102
2826
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
2827
2828
2829
          filters:
            branches:
              only: nightly
2830
2831
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2832
          name: nightly_binary_linux_conda_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
2833
          python_version: '3.7'
2834
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
2835
2836
2837
2838
2839
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2840
2841
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2842
          name: nightly_binary_linux_conda_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
2843
          requires:
2844
          - nightly_binary_linux_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
2845
2846
2847
2848
2849
2850
2851
2852
2853
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cu102_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cu102_upload
peterjc123's avatar
peterjc123 committed
2854
      - binary_linux_conda:
2855
2856
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
2857
2858
2859
2860
2861
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2862
          name: nightly_binary_linux_conda_py3.7_cu111
peterjc123's avatar
peterjc123 committed
2863
          python_version: '3.7'
2864
          wheel_docker_image: pytorch/manylinux-cuda111
peterjc123's avatar
peterjc123 committed
2865
2866
2867
2868
2869
2870
2871
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2872
          name: nightly_binary_linux_conda_py3.7_cu111_upload
peterjc123's avatar
peterjc123 committed
2873
          requires:
2874
          - nightly_binary_linux_conda_py3.7_cu111
peterjc123's avatar
peterjc123 committed
2875
2876
2877
2878
2879
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2880
          name: nightly_binary_linux_conda_py3.7_cu111_smoke_test_conda
peterjc123's avatar
peterjc123 committed
2881
2882
          python_version: '3.7'
          requires:
2883
          - nightly_binary_linux_conda_py3.7_cu111_upload
2884
      - binary_linux_conda:
2885
          conda_docker_image: pytorch/conda-builder:cpu
2886
2887
2888
2889
          cu_version: cpu
          filters:
            branches:
              only: nightly
2890
2891
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2892
2893
          name: nightly_binary_linux_conda_py3.8_cpu
          python_version: '3.8'
2894
          wheel_docker_image: pytorch/manylinux-cuda102
2895
2896
2897
2898
2899
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2900
2901
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2902
2903
2904
          name: nightly_binary_linux_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
2905
2906
2907
2908
2909
2910
2911
2912
2913
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.8_cpu_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_linux_conda_py3.8_cpu_upload
2914
      - binary_linux_conda:
2915
2916
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
2917
2918
2919
          filters:
            branches:
              only: nightly
2920
2921
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2922
          name: nightly_binary_linux_conda_py3.8_cu102
2923
          python_version: '3.8'
2924
          wheel_docker_image: pytorch/manylinux-cuda102
2925
2926
2927
2928
2929
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2930
2931
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2932
          name: nightly_binary_linux_conda_py3.8_cu102_upload
2933
          requires:
2934
          - nightly_binary_linux_conda_py3.8_cu102
guyang3532's avatar
guyang3532 committed
2935
2936
2937
2938
2939
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2940
          name: nightly_binary_linux_conda_py3.8_cu102_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2941
2942
          python_version: '3.8'
          requires:
2943
          - nightly_binary_linux_conda_py3.8_cu102_upload
2944
      - binary_linux_conda:
2945
2946
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
2947
2948
2949
          filters:
            branches:
              only: nightly
2950
2951
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2952
          name: nightly_binary_linux_conda_py3.8_cu111
2953
          python_version: '3.8'
2954
          wheel_docker_image: pytorch/manylinux-cuda111
2955
2956
2957
2958
2959
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2960
2961
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2962
          name: nightly_binary_linux_conda_py3.8_cu111_upload
2963
          requires:
2964
          - nightly_binary_linux_conda_py3.8_cu111
guyang3532's avatar
guyang3532 committed
2965
2966
2967
2968
2969
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2970
          name: nightly_binary_linux_conda_py3.8_cu111_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2971
2972
          python_version: '3.8'
          requires:
2973
          - nightly_binary_linux_conda_py3.8_cu111_upload
peterjc123's avatar
peterjc123 committed
2974
      - binary_linux_conda:
2975
2976
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
peterjc123's avatar
peterjc123 committed
2977
2978
2979
2980
2981
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2982
2983
2984
          name: nightly_binary_linux_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
2985
2986
2987
2988
2989
2990
2991
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2992
          name: nightly_binary_linux_conda_py3.9_cpu_upload
peterjc123's avatar
peterjc123 committed
2993
          requires:
2994
          - nightly_binary_linux_conda_py3.9_cpu
peterjc123's avatar
peterjc123 committed
2995
2996
2997
2998
2999
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
          name: nightly_binary_linux_conda_py3.9_cpu_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_linux_conda_py3.9_cpu_upload
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.9_cu102
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.9_cu102_upload
          requires:
          - nightly_binary_linux_conda_py3.9_cu102
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.9_cu102_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_linux_conda_py3.9_cu102_upload
      - binary_linux_conda:
3035
3036
          conda_docker_image: pytorch/conda-builder:cuda111
          cu_version: cu111
3037
3038
3039
3040
3041
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3042
          name: nightly_binary_linux_conda_py3.9_cu111
3043
          python_version: '3.9'
3044
          wheel_docker_image: pytorch/manylinux-cuda111
3045
3046
3047
3048
3049
3050
3051
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3052
          name: nightly_binary_linux_conda_py3.9_cu111_upload
peterjc123's avatar
peterjc123 committed
3053
          requires:
3054
          - nightly_binary_linux_conda_py3.9_cu111
3055
3056
3057
3058
3059
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
3060
          name: nightly_binary_linux_conda_py3.9_cu111_smoke_test_conda
3061
3062
          python_version: '3.9'
          requires:
3063
          - nightly_binary_linux_conda_py3.9_cu111_upload
3064
      - binary_macos_conda:
3065
          conda_docker_image: pytorch/conda-builder:cpu
3066
          cu_version: cpu
3067
3068
3069
          filters:
            branches:
              only: nightly
3070
3071
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
3072
          name: nightly_binary_macos_conda_py3.6_cpu
3073
          python_version: '3.6'
3074
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
3075
3076
      - binary_conda_upload:
          context: org-member
3077
3078
3079
          filters:
            branches:
              only: nightly
3080
3081
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3082
          name: nightly_binary_macos_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
3083
          requires:
3084
          - nightly_binary_macos_conda_py3.6_cpu
3085
      - binary_macos_conda:
3086
          conda_docker_image: pytorch/conda-builder:cpu
3087
          cu_version: cpu
3088
3089
3090
          filters:
            branches:
              only: nightly
3091
3092
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
3093
          name: nightly_binary_macos_conda_py3.7_cpu
3094
          python_version: '3.7'
3095
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
3096
3097
      - binary_conda_upload:
          context: org-member
3098
3099
3100
          filters:
            branches:
              only: nightly
3101
3102
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3103
          name: nightly_binary_macos_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
3104
          requires:
3105
3106
          - nightly_binary_macos_conda_py3.7_cpu
      - binary_macos_conda:
3107
          conda_docker_image: pytorch/conda-builder:cpu
3108
3109
3110
3111
          cu_version: cpu
          filters:
            branches:
              only: nightly
3112
3113
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3114
3115
          name: nightly_binary_macos_conda_py3.8_cpu
          python_version: '3.8'
3116
          wheel_docker_image: pytorch/manylinux-cuda102
3117
3118
3119
3120
3121
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3122
3123
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3124
3125
          name: nightly_binary_macos_conda_py3.8_cpu_upload
          requires:
3126
          - nightly_binary_macos_conda_py3.8_cpu
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
      - binary_macos_conda:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_conda_py3.9_cpu_upload
          requires:
          - nightly_binary_macos_conda_py3.9_cpu
3148
      - binary_win_conda:
3149
3150
3151
3152
          cu_version: cpu
          filters:
            branches:
              only: nightly
3153
3154
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3155
3156
3157
3158
3159
3160
3161
          name: nightly_binary_win_conda_py3.6_cpu
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3162
3163
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3164
3165
3166
          name: nightly_binary_win_conda_py3.6_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
3167
3168
3169
3170
3171
3172
3173
3174
3175
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.6_cpu_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_win_conda_py3.6_cpu_upload
3176
      - binary_win_conda:
3177
          cu_version: cu102
3178
3179
3180
          filters:
            branches:
              only: nightly
3181
3182
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3183
3184
3185
3186
3187
3188
3189
          name: nightly_binary_win_conda_py3.6_cu102
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3190
3191
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3192
3193
3194
          name: nightly_binary_win_conda_py3.6_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
3195
3196
3197
3198
3199
3200
3201
3202
3203
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.6_cu102_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_win_conda_py3.6_cu102_upload
peterjc123's avatar
peterjc123 committed
3204
      - binary_win_conda:
3205
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
3206
3207
3208
3209
3210
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3211
          name: nightly_binary_win_conda_py3.6_cu111
peterjc123's avatar
peterjc123 committed
3212
3213
3214
3215
3216
3217
3218
3219
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3220
          name: nightly_binary_win_conda_py3.6_cu111_upload
peterjc123's avatar
peterjc123 committed
3221
          requires:
3222
          - nightly_binary_win_conda_py3.6_cu111
peterjc123's avatar
peterjc123 committed
3223
3224
3225
3226
3227
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3228
          name: nightly_binary_win_conda_py3.6_cu111_smoke_test_conda
peterjc123's avatar
peterjc123 committed
3229
3230
          python_version: '3.6'
          requires:
3231
          - nightly_binary_win_conda_py3.6_cu111_upload
3232
      - binary_win_conda:
3233
3234
3235
3236
          cu_version: cpu
          filters:
            branches:
              only: nightly
3237
3238
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3239
3240
3241
3242
3243
3244
3245
          name: nightly_binary_win_conda_py3.7_cpu
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3246
3247
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3248
3249
3250
          name: nightly_binary_win_conda_py3.7_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
3251
3252
3253
3254
3255
3256
3257
3258
3259
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.7_cpu_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_win_conda_py3.7_cpu_upload
3260
      - binary_win_conda:
3261
          cu_version: cu102
3262
3263
3264
          filters:
            branches:
              only: nightly
3265
3266
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3267
3268
3269
3270
3271
3272
3273
          name: nightly_binary_win_conda_py3.7_cu102
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3274
3275
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3276
3277
3278
          name: nightly_binary_win_conda_py3.7_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
3279
3280
3281
3282
3283
3284
3285
3286
3287
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.7_cu102_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_win_conda_py3.7_cu102_upload
peterjc123's avatar
peterjc123 committed
3288
      - binary_win_conda:
3289
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
3290
3291
3292
3293
3294
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3295
          name: nightly_binary_win_conda_py3.7_cu111
peterjc123's avatar
peterjc123 committed
3296
3297
3298
3299
3300
3301
3302
3303
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3304
          name: nightly_binary_win_conda_py3.7_cu111_upload
peterjc123's avatar
peterjc123 committed
3305
          requires:
3306
          - nightly_binary_win_conda_py3.7_cu111
peterjc123's avatar
peterjc123 committed
3307
3308
3309
3310
3311
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3312
          name: nightly_binary_win_conda_py3.7_cu111_smoke_test_conda
peterjc123's avatar
peterjc123 committed
3313
3314
          python_version: '3.7'
          requires:
3315
          - nightly_binary_win_conda_py3.7_cu111_upload
3316
      - binary_win_conda:
3317
3318
3319
3320
          cu_version: cpu
          filters:
            branches:
              only: nightly
3321
3322
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3323
3324
3325
3326
3327
3328
3329
          name: nightly_binary_win_conda_py3.8_cpu
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3330
3331
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3332
3333
3334
          name: nightly_binary_win_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
3335
3336
3337
3338
3339
3340
3341
3342
3343
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.8_cpu_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_win_conda_py3.8_cpu_upload
3344
      - binary_win_conda:
3345
          cu_version: cu102
3346
3347
3348
          filters:
            branches:
              only: nightly
3349
3350
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3351
3352
3353
3354
3355
3356
3357
          name: nightly_binary_win_conda_py3.8_cu102
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3358
3359
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3360
3361
          name: nightly_binary_win_conda_py3.8_cu102_upload
          requires:
guyang3532's avatar
guyang3532 committed
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
          - nightly_binary_win_conda_py3.8_cu102
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.8_cu102_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_win_conda_py3.8_cu102_upload
peterjc123's avatar
peterjc123 committed
3372
      - binary_win_conda:
3373
          cu_version: cu111
peterjc123's avatar
peterjc123 committed
3374
3375
3376
3377
3378
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3379
          name: nightly_binary_win_conda_py3.8_cu111
peterjc123's avatar
peterjc123 committed
3380
3381
3382
3383
3384
3385
3386
3387
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3388
          name: nightly_binary_win_conda_py3.8_cu111_upload
peterjc123's avatar
peterjc123 committed
3389
          requires:
3390
          - nightly_binary_win_conda_py3.8_cu111
peterjc123's avatar
peterjc123 committed
3391
3392
3393
3394
3395
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3396
          name: nightly_binary_win_conda_py3.8_cu111_smoke_test_conda
peterjc123's avatar
peterjc123 committed
3397
3398
          python_version: '3.8'
          requires:
3399
          - nightly_binary_win_conda_py3.8_cu111_upload
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
      - binary_win_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cpu
          python_version: '3.9'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.9_cpu
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.9_cpu_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_win_conda_py3.9_cpu_upload
      - binary_win_conda:
          cu_version: cu102
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cu102
          python_version: '3.9'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.9_cu102
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.9_cu102_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_win_conda_py3.9_cu102_upload
      - binary_win_conda:
3457
          cu_version: cu111
3458
3459
3460
3461
3462
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3463
          name: nightly_binary_win_conda_py3.9_cu111
3464
3465
3466
3467
3468
3469
3470
3471
          python_version: '3.9'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3472
          name: nightly_binary_win_conda_py3.9_cu111_upload
3473
          requires:
3474
          - nightly_binary_win_conda_py3.9_cu111
3475
3476
3477
3478
3479
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3480
          name: nightly_binary_win_conda_py3.9_cu111_smoke_test_conda
3481
3482
          python_version: '3.9'
          requires:
3483
          - nightly_binary_win_conda_py3.9_cu111_upload
guyang3532's avatar
guyang3532 committed
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
  docker_build:
    triggers:
      - schedule:
          cron: "0 10 * * 0"
          filters:
            branches:
              only:
                - master
    jobs:
      - smoke_test_docker_image_build:
3494
          context: org-member