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

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

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

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

22
23
24
25
26
commands:
  checkout_merge:
    description: "checkout merge branch"
    steps:
      - checkout
27
28
29
30
31
#     - run:
#         name: Checkout merge branch
#         command: |
#           set -ex
#           BRANCH=$(git rev-parse --abbrev-ref HEAD)
32
#           if [[ "$BRANCH" != "main" ]]; then
33
34
35
#             git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH}
#             git checkout "merged/$CIRCLE_BRANCH"
#           fi
36
37
38
39
40
41
42
43
44
45
46
47
  designate_upload_channel:
    description: "inserts the correct upload channel into ${BASH_ENV}"
    steps:
      - run:
          name: adding UPLOAD_CHANNEL to BASH_ENV
          command: |
            our_upload_channel=nightly
            # On tags upload to test instead
            if [[ -n "${CIRCLE_TAG}" ]]; then
              our_upload_channel=test
            fi
            echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
48

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

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

            export HOMEBREW_NO_AUTO_UPDATE=1

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

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

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

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

139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
torchvision_ios_params: &torchvision_ios_params
  parameters:
    build_environment:
      type: string
      default: ""
    ios_arch:
      type: string
      default: ""
    ios_platform:
      type: string
      default: ""
  environment:
    BUILD_ENVIRONMENT: << parameters.build_environment >>
    IOS_ARCH: << parameters.ios_arch >>
    IOS_PLATFORM: << parameters.ios_platform >>

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

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

168
jobs:
169
170
171
172
173
174
175
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
176
            pip install --user --progress-bar off jinja2 pyyaml
177
178
179
            python .circleci/regenerate.py
            git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
  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
948
949
            # turn v1.12.0rc3 into 1.12.0
            tag=$(echo $CIRCLE_TAG | sed -e 's/v*\([0-9.]*\).*/\1/')
950
            VERSION=${tag:-main}
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
            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}
990
            target=${tag:-main}
991
992
993
            ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target


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

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

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

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