config.yml 123 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
#     - run:
#         name: Checkout merge branch
#         command: |
#           set -ex
#           BRANCH=$(git rev-parse --abbrev-ref HEAD)
32
#           if [[ "$BRANCH" != "main" ]]; then
33
34
35
#             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
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
  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

102
103
binary_common: &binary_common
  parameters:
104
    # Edit these defaults to do a release
105
106
107
108
109
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
110
      description: "PyTorch version to build against; by default, use a nightly"
111
      type: string
112
      default: ""
113
114
115
116
    # 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
117
118
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
119
      type: string
guyang3532's avatar
guyang3532 committed
120
      default: "cpu"
121
122
123
124
    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
125
126
127
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
128
      default: "pytorch/manylinux-cuda102"
129
130
131
132
    conda_docker_image:
      description: "Conda only: what docker image to use"
      type: string
      default: "pytorch/conda-builder:cpu"
133
134
135
136
  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
137
    CU_VERSION: << parameters.cu_version >>
138

139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
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 >>

155
156
157
158
159
160
161
162
torchvision_android_params: &torchvision_android_params
  parameters:
    build_environment:
      type: string
      default: ""
  environment:
    BUILD_ENVIRONMENT: << parameters.build_environment >>

guyang3532's avatar
guyang3532 committed
163
164
165
166
167
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: torchvision/smoke_test:latest

168
jobs:
169
170
171
172
173
174
175
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
176
            pip install --user --progress-bar off jinja2 pyyaml
177
178
179
            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)

180
181
182
183
184
185
186
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
187
188
189
            pip install --user --progress-bar off pre-commit
            pre-commit install-hooks
      - run: pre-commit run --all-files
190
191
192
      - run:
          name: Required lint modifications
          when: on_fail
193
          command: git --no-pager diff
194
195
196
197
198
199
200
201

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

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

221
222
223
224
225
226
227
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
228
229
230
            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
231
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
232

Francisco Massa's avatar
Francisco Massa committed
233
234
235
236
237
238
239
240
241
  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
242
            pip install --user --progress-bar off --no-build-isolation .
Anirudh's avatar
Anirudh committed
243
            pip install pytest
Francisco Massa's avatar
Francisco Massa committed
244
245
            python test/test_hub.py

246
247
248
249
250
251
252
253
254
  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
255
            pip install --user --progress-bar off --no-build-isolation .
256
            pip install --user onnx
257
            pip install --user onnxruntime
258
            pip install --user pytest
259
260
            python test/test_onnx.py

261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
  prototype_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - run:
          name: Install torch
          command: pip install --user --progress-bar=off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
      - run:
          name: Install prototype dependencies
          command: pip install --user --progress-bar=off git+https://github.com/pytorch/data.git
      - checkout
      - run:
          name: Install torchvision
          command: pip install --user --progress-bar off --no-build-isolation .
      - run:
276
277
          name: Install test requirements
          command: pip install --user --progress-bar=off pytest pytest-mock scipy iopath
278
279
      - run:
          name: Run tests
280
281
282
          command: pytest --junitxml=test-results/junit.xml -v --durations 20 test/test_prototype_*.py
      - store_test_results:
          path: test-results
283

284
285
286
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
287
      - image: << parameters.wheel_docker_image >>
288
289
    resource_class: 2xlarge+
    steps:
290
      - checkout_merge
291
      - designate_upload_channel
292
293
294
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
295
296
297
298
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
299
300
301
302

  binary_linux_conda:
    <<: *binary_common
    docker:
303
      - image: "<< parameters.conda_docker_image >>"
304
    resource_class: 2xlarge+
305
    steps:
306
      - checkout_merge
307
      - designate_upload_channel
308
309
310
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
311
312
313
314
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
315
316
      - store_test_results:
          path: build_results/
317

Francisco Massa's avatar
Francisco Massa committed
318
  binary_win_conda:
319
320
    <<: *binary_common
    executor: windows-cpu
321
322
    steps:
      - checkout_merge
323
      - designate_upload_channel
324
325
      - run:
          name: Build conda packages
326
          no_output_timeout: 20m
327
          command: |
328
329
330
331
332
333
            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"
334
335
336
337
            # cudatoolkit >= 11 isn't available for windows in the nvidia channel
            if [[ "${CU_VERSION}" =~ cu11.* ]]; then
              export CONDA_CHANNEL_FLAGS="-c conda-forge"
            fi
338
            packaging/build_conda.sh
339
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
340
      - store_artifacts:
341
          path: C:/tools/miniconda3/conda-bld/win-64
342
      - persist_to_workspace:
343
          root: C:/tools/miniconda3/conda-bld/win-64
344
345
346
347
348
          paths:
            - "*"
      - store_test_results:
          path: build_results/

349
  binary_win_wheel:
350
351
    <<: *binary_common
    executor: windows-cpu
352
353
    steps:
      - checkout_merge
354
      - designate_upload_channel
355
356
357
      - run:
          name: Build wheel packages
          command: |
358
359
360
361
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
362
      - store_artifacts:
363
          path: dist
364
      - persist_to_workspace:
365
          root: dist
366
367
368
369
370
          paths:
            - "*"
      - store_test_results:
          path: build_results/

371
372
373
  binary_macos_wheel:
    <<: *binary_common
    macos:
374
      xcode: "12.0"
375
    steps:
376
      - checkout_merge
377
      - designate_upload_channel
378
379
380
381
382
383
384
385
386
387
388
      - 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
389
390
391
392
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
393

394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
  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"

431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
  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"

467
468
469
  binary_macos_conda:
    <<: *binary_common
    macos:
470
      xcode: "12.0"
471
    steps:
472
      - checkout_merge
473
      - designate_upload_channel
474
475
476
477
478
479
480
481
482
      - 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
483
484
485
486
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
487
488
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
489
490
491
492
493
494
495
496

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
497
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
498
499
500
501
502
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
503
            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
504
505
506

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
507
508
509
510
    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
511
512
513
514
515
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
516
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
517
518
519
520
521
522
523
524
525
526
      - 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
527
            for pkg in ~/workspace/*.whl; do
528
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
529
            done
530

guyang3532's avatar
guyang3532 committed
531
532
533
534
535
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
536
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
      - 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
555
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
      - 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
576
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
      - 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
596
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
597
598
599
600
601
602
      - 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
603
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
604
            conda activate python${PYTHON_VERSION}
605
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
            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
622
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            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"

638
639
640
641
642
643
644
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
645
      - designate_upload_channel
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
      - 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:
680
      image: ubuntu-1604-cuda-10.2:202012-01
681
    resource_class: gpu.nvidia.medium
682
    environment:
683
      image_name: "pytorch/manylinux-cuda102"
684
      PYTHON_VERSION: << parameters.python_version >>
685
686
    steps:
      - checkout
687
      - designate_upload_channel
688
689
690
691
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
692
693
694
695
696
      - restore_cache:

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

697
698
      - run:
          name: Setup
699
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
700
701
      - save_cache:

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

          paths:
            - conda
            - env
707
708
709
710
711
712
713
714
      - 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
715
716
      - run:
          name: Install torchvision
717
          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
718
719
      - run:
          name: Run tests
720
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
721
722
723
724
725
726
727
728
729
730
731
732
      - 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
733
      - designate_upload_channel
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
      - 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:
770
      CUDA_VERSION: "11.1"
771
      PYTHON_VERSION: << parameters.python_version >>
772
773
    steps:
      - checkout
774
      - designate_upload_channel
775
776
777
778
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
779
780
781
782
      - restore_cache:

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

784
785
786
787
788
789
790
791
792
793
      - 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
794
795
796
797
798
799
      - run:
          name: Install CUDA
          command: packaging/windows/internal/cuda_install.bat
      - run:
          name: Update CUDA driver
          command: packaging/windows/internal/driver_update.bat
800
801
802
803
804
805
806
807
808
809
810
      - 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
811

Francisco Massa's avatar
Francisco Massa committed
812
813
814
  unittest_macos_cpu:
    <<: *binary_common
    macos:
815
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
816
817
818
    resource_class: large
    steps:
      - checkout
819
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
      - 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

855
856
857
858
859
860
861
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
862
      - designate_upload_channel
863
864
865
866
867
868
869
870
      - run:
          name: Setup conda
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - run: packaging/build_cmake.sh

  cmake_linux_gpu:
    <<: *binary_common
    machine:
871
      image: ubuntu-1604-cuda-10.2:202012-01
872
    resource_class: gpu.nvidia.small
873
874
875
876
877
878
879
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
880
      - designate_upload_channel
881
882
883
884
885
      - 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
886
          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
887
888
889
890

  cmake_macos_cpu:
    <<: *binary_common
    macos:
891
      xcode: "12.0"
892
893
    steps:
      - checkout_merge
894
      - designate_upload_channel
895
896
897
898
899
900
901
902
903
904
905
906
907
908
      - 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
909
      - designate_upload_channel
910
911
912
913
914
915
916
917
918
919
920
921
      - 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
922
      - designate_upload_channel
923
924
925
926
927
928
929
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
  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
      - run:
          name: Build docs
          command: |
            set -ex
950
951
            # turn v1.12.0rc3 into 1.12.0
            tag=$(echo $CIRCLE_TAG | sed -e 's/v*\([0-9.]*\).*/\1/')
952
            VERSION=${tag:-main}
953
954
955
956
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
            eval "$(./conda/bin/conda shell.bash hook)"
            conda activate ./env
            pushd docs
            pip install -r requirements.txt
            make html
            popd
      - 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}
992
            target=${tag:-main}
993
994
995
            ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target


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

1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
  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'
1539
1540
1541
1542
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.9
          python_version: '3.9'
1543
      - unittest_linux_gpu:
1544
          cu_version: cu102
1545
1546
1547
          filters:
            branches:
              only:
1548
              - main
1549
1550
1551
1552
              - nightly
          name: unittest_linux_gpu_py3.6
          python_version: '3.6'
      - unittest_linux_gpu:
1553
          cu_version: cu102
1554
1555
1556
          filters:
            branches:
              only:
1557
              - main
1558
1559
1560
1561
              - nightly
          name: unittest_linux_gpu_py3.7
          python_version: '3.7'
      - unittest_linux_gpu:
1562
          cu_version: cu102
1563
1564
          name: unittest_linux_gpu_py3.8
          python_version: '3.8'
1565
      - unittest_linux_gpu:
1566
          cu_version: cu102
1567
1568
1569
          filters:
            branches:
              only:
1570
              - main
1571
1572
1573
              - nightly
          name: unittest_linux_gpu_py3.9
          python_version: '3.9'
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
      - 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'
1586
1587
1588
1589
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.9
          python_version: '3.9'
1590
      - unittest_windows_gpu:
1591
          cu_version: cu102
1592
1593
1594
          filters:
            branches:
              only:
1595
              - main
1596
1597
1598
1599
              - nightly
          name: unittest_windows_gpu_py3.6
          python_version: '3.6'
      - unittest_windows_gpu:
1600
          cu_version: cu102
1601
1602
1603
          filters:
            branches:
              only:
1604
              - main
1605
1606
1607
1608
              - nightly
          name: unittest_windows_gpu_py3.7
          python_version: '3.7'
      - unittest_windows_gpu:
1609
          cu_version: cu102
1610
1611
          name: unittest_windows_gpu_py3.8
          python_version: '3.8'
1612
      - unittest_windows_gpu:
1613
          cu_version: cu102
1614
1615
1616
          filters:
            branches:
              only:
1617
              - main
1618
1619
1620
              - nightly
          name: unittest_windows_gpu_py3.9
          python_version: '3.9'
Francisco Massa's avatar
Francisco Massa committed
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
      - 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'
1633
1634
1635
1636
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.9
          python_version: '3.9'
1637
1638
1639
1640
1641
1642
1643
1644

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1645
          cu_version: cu102
1646
1647
          name: cmake_linux_gpu
          python_version: '3.8'
1648
          wheel_docker_image: pytorch/manylinux-cuda102
1649
1650
1651
1652
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1653
      - cmake_windows_gpu:
1654
          cu_version: cu102
1655
1656
          name: cmake_windows_gpu
          python_version: '3.8'
1657
1658
1659
1660
1661
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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