config.yml 124 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
            sudo apt-get update -y
            sudo apt install -y libtinfo5
230
231
232
            curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
            chmod +x clang-format
            sudo mv clang-format /opt/clang-format
233
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
234

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

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

263
264
265
  prototype_test:
    docker:
      - image: circleci/python:3.7
266
    resource_class: xlarge
267
268
269
    steps:
      - run:
          name: Install torch
270
271
          command: |
            pip install --user --progress-bar=off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
272
273
274
275
      - run:
          name: Install prototype dependencies
          command: pip install --user --progress-bar=off git+https://github.com/pytorch/data.git
      - checkout
276
277
278
279
280
281
282
      - run:
          name: Download model weights
          background: true
          command: |
            sudo apt update -qy && sudo apt install -qy parallel wget
            python scripts/collect_model_urls.py torchvision/prototype/models \
                | parallel -j0 wget --no-verbose -P ~/.cache/torch/hub/checkpoints {}
283
284
285
286
      - run:
          name: Install torchvision
          command: pip install --user --progress-bar off --no-build-isolation .
      - run:
287
288
          name: Install test requirements
          command: pip install --user --progress-bar=off pytest pytest-mock scipy iopath
289
290
      - run:
          name: Run tests
291
292
          environment:
            PYTORCH_TEST_WITH_PROTOTYPE: 1
293
294
295
          command: pytest --junitxml=test-results/junit.xml -v --durations 20 test/test_prototype_*.py
      - store_test_results:
          path: test-results
296

297
298
299
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
300
      - image: << parameters.wheel_docker_image >>
301
302
    resource_class: 2xlarge+
    steps:
303
      - checkout_merge
304
      - designate_upload_channel
305
306
307
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
308
309
310
311
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
312
313
314
315

  binary_linux_conda:
    <<: *binary_common
    docker:
316
      - image: "<< parameters.conda_docker_image >>"
317
    resource_class: 2xlarge+
318
    steps:
319
      - checkout_merge
320
      - designate_upload_channel
321
322
323
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
324
325
326
327
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
328
329
      - store_test_results:
          path: build_results/
330

Francisco Massa's avatar
Francisco Massa committed
331
  binary_win_conda:
332
333
    <<: *binary_common
    executor: windows-cpu
334
335
    steps:
      - checkout_merge
336
      - designate_upload_channel
337
338
      - run:
          name: Build conda packages
339
          no_output_timeout: 20m
340
          command: |
341
342
343
344
345
346
            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"
347
348
349
350
            # cudatoolkit >= 11 isn't available for windows in the nvidia channel
            if [[ "${CU_VERSION}" =~ cu11.* ]]; then
              export CONDA_CHANNEL_FLAGS="-c conda-forge"
            fi
351
            packaging/build_conda.sh
352
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
353
      - store_artifacts:
354
          path: C:/tools/miniconda3/conda-bld/win-64
355
      - persist_to_workspace:
356
          root: C:/tools/miniconda3/conda-bld/win-64
357
358
359
360
361
          paths:
            - "*"
      - store_test_results:
          path: build_results/

362
  binary_win_wheel:
363
364
    <<: *binary_common
    executor: windows-cpu
365
366
    steps:
      - checkout_merge
367
      - designate_upload_channel
368
369
370
      - run:
          name: Build wheel packages
          command: |
371
372
373
374
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
375
      - store_artifacts:
376
          path: dist
377
      - persist_to_workspace:
378
          root: dist
379
380
381
382
383
          paths:
            - "*"
      - store_test_results:
          path: build_results/

384
385
386
  binary_macos_wheel:
    <<: *binary_common
    macos:
387
      xcode: "12.0"
388
    steps:
389
      - checkout_merge
390
      - designate_upload_channel
391
392
393
394
395
396
397
398
399
400
401
      - 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
402
403
404
405
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
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
431
432
433
434
435
436
437
438
439
440
441
442
443
  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"

444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
  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"

480
481
482
  binary_macos_conda:
    <<: *binary_common
    macos:
483
      xcode: "12.0"
484
    steps:
485
      - checkout_merge
486
      - designate_upload_channel
487
488
489
490
491
492
493
494
495
      - 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
496
497
498
499
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
500
501
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
502
503
504
505
506
507
508
509

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
510
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
511
512
513
514
515
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
516
            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
517
518
519

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
520
521
522
523
    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
524
525
526
527
528
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
529
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
530
531
532
533
534
535
536
537
538
539
      - 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
540
            for pkg in ~/workspace/*.whl; do
541
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
542
            done
543

guyang3532's avatar
guyang3532 committed
544
545
546
547
548
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
549
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
      - 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
568
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
      - 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
589
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
      - 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
609
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
610
611
612
613
614
615
      - 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
616
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
617
            conda activate python${PYTHON_VERSION}
618
            conda install "Pillow>=5.3.0,!=8.3.*"
guyang3532's avatar
guyang3532 committed
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
            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
635
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
      - 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"

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

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

710
711
      - run:
          name: Setup
712
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
713
714
      - save_cache:

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

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

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

797
798
799
800
801
802
803
804
805
806
      - 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
807
808
809
810
811
812
      - run:
          name: Install CUDA
          command: packaging/windows/internal/cuda_install.bat
      - run:
          name: Update CUDA driver
          command: packaging/windows/internal/driver_update.bat
813
814
815
816
817
818
819
820
821
822
823
      - 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
824

Francisco Massa's avatar
Francisco Massa committed
825
826
827
  unittest_macos_cpu:
    <<: *binary_common
    macos:
828
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
829
830
831
    resource_class: large
    steps:
      - checkout
832
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
      - 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

868
869
870
871
872
873
874
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
875
      - designate_upload_channel
876
877
878
879
880
881
882
883
      - run:
          name: Setup conda
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - run: packaging/build_cmake.sh

  cmake_linux_gpu:
    <<: *binary_common
    machine:
884
      image: ubuntu-1604-cuda-10.2:202012-01
885
    resource_class: gpu.nvidia.small
886
887
888
889
890
891
892
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
893
      - designate_upload_channel
894
895
896
897
898
      - 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
899
          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
900
901
902
903

  cmake_macos_cpu:
    <<: *binary_common
    macos:
904
      xcode: "12.0"
905
906
    steps:
      - checkout_merge
907
      - designate_upload_channel
908
909
910
911
912
913
914
915
916
917
918
919
920
921
      - 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
922
      - designate_upload_channel
923
924
925
926
927
928
929
930
931
932
933
934
      - 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
935
      - designate_upload_channel
936
937
938
939
940
941
942
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
  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
963
964
            # turn v1.12.0rc3 into 1.12.0
            tag=$(echo $CIRCLE_TAG | sed -e 's/v*\([0-9.]*\).*/\1/')
965
            VERSION=${tag:-main}
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
            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}
1005
            target=${tag:-main}
1006
1007
1008
            ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target


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

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

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1658
          cu_version: cu113
1659
1660
          name: cmake_linux_gpu
          python_version: '3.8'
1661
          wheel_docker_image: pytorch/manylinux-cuda113
1662
1663
1664
1665
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1666
      - cmake_windows_gpu:
1667
          cu_version: cu113
1668
1669
          name: cmake_windows_gpu
          python_version: '3.8'
1670
1671
1672
1673
1674
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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