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

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

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

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

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

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

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

            export HOMEBREW_NO_AUTO_UPDATE=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Francisco Massa's avatar
Francisco Massa committed
297
  binary_win_conda:
298
299
    <<: *binary_common
    executor: windows-cpu
300
301
    steps:
      - checkout_merge
302
      - designate_upload_channel
303
      - install_cuda_compatible_cmath
304
305
      - run:
          name: Build conda packages
306
          no_output_timeout: 20m
307
          command: |
308
309
310
311
312
313
            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"
314
315
316
317
            # cudatoolkit >= 11 isn't available for windows in the nvidia channel
            if [[ "${CU_VERSION}" =~ cu11.* ]]; then
              export CONDA_CHANNEL_FLAGS="-c conda-forge"
            fi
318
            packaging/build_conda.sh
319
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
320
      - store_artifacts:
321
          path: C:/tools/miniconda3/conda-bld/win-64
322
      - persist_to_workspace:
323
          root: C:/tools/miniconda3/conda-bld/win-64
324
325
326
327
328
          paths:
            - "*"
      - store_test_results:
          path: build_results/

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

352
353
354
  binary_macos_wheel:
    <<: *binary_common
    macos:
355
      xcode: "12.0"
356
    steps:
357
      - checkout_merge
358
      - designate_upload_channel
359
360
361
362
363
364
365
366
367
368
369
      - 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
370
371
372
373
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
374

375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
  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"

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
  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"

448
449
450
  binary_macos_conda:
    <<: *binary_common
    macos:
451
      xcode: "12.0"
452
    steps:
453
      - checkout_merge
454
      - designate_upload_channel
455
456
457
458
459
460
461
462
463
      - 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
464
465
466
467
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
468
469
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
470
471
472
473
474
475
476
477

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
478
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
479
480
481
482
483
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
484
            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
485
486
487

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
488
489
490
491
    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
492
493
494
495
496
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
497
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
498
499
500
501
502
503
504
505
506
507
      - 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
508
            for pkg in ~/workspace/*.whl; do
509
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
510
            done
511

guyang3532's avatar
guyang3532 committed
512
513
514
515
516
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
517
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
      - 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
536
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
      - 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
557
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
      - 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
577
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
578
579
580
581
582
583
      - 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
584
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
585
            conda activate python${PYTHON_VERSION}
586
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_win_pip:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
603
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
      - 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"

619
620
621
622
623
624
625
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
626
      - designate_upload_channel
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
      - 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:
661
      image: ubuntu-1604-cuda-10.2:202012-01
662
    resource_class: gpu.nvidia.medium
663
    environment:
664
      image_name: "pytorch/manylinux-cuda102"
665
      PYTHON_VERSION: << parameters.python_version >>
666
667
    steps:
      - checkout
668
      - designate_upload_channel
669
670
671
672
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
673
674
675
676
677
      - restore_cache:

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

678
679
      - run:
          name: Setup
680
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
681
682
      - save_cache:

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

          paths:
            - conda
            - env
688
689
690
691
692
693
694
695
      - 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
696
697
      - run:
          name: Install torchvision
698
          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
699
700
      - run:
          name: Run tests
701
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
702
703
704
705
706
707
708
709
710
711
712
713
      - 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
714
      - designate_upload_channel
715
      - install_cuda_compatible_cmath
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
      - 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:
752
      CUDA_VERSION: "10.2"
753
      PYTHON_VERSION: << parameters.python_version >>
754
755
    steps:
      - checkout
756
      - designate_upload_channel
757
      - install_cuda_compatible_cmath
758
759
760
761
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
762
763
764
765
      - restore_cache:

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

767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

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

Francisco Massa's avatar
Francisco Massa committed
789
790
791
  unittest_macos_cpu:
    <<: *binary_common
    macos:
792
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
793
794
795
    resource_class: large
    steps:
      - checkout
796
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
      - 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

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

  cmake_linux_gpu:
    <<: *binary_common
    machine:
848
      image: ubuntu-1604-cuda-10.2:202012-01
849
850
851
852
853
854
855
856
    resource_class: gpu.small
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
857
      - designate_upload_channel
858
859
860
861
862
      - 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
863
          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
864
865
866
867

  cmake_macos_cpu:
    <<: *binary_common
    macos:
868
      xcode: "12.0"
869
870
    steps:
      - checkout_merge
871
      - designate_upload_channel
872
873
874
875
876
877
878
879
880
881
882
883
884
885
      - 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
886
      - designate_upload_channel
887
      - install_cuda_compatible_cmath
888
889
890
891
892
893
894
895
896
897
898
899
      - 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
900
      - designate_upload_channel
901
      - install_cuda_compatible_cmath
902
903
904
905
906
907
908
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
  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
925
926
927
928
929
930
931
932
933
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

          paths:
            - ./docs/source/auto_examples
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
      - persist_to_workspace:
          root: ./
          paths:
            - "*"
      - store_artifacts:
          path: ./docs/build/html
          destination: docs

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


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

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

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1589
          cu_version: cu102
1590
1591
          name: cmake_linux_gpu
          python_version: '3.8'
1592
          wheel_docker_image: pytorch/manylinux-cuda102
1593
1594
1595
1596
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1597
      - cmake_windows_gpu:
1598
          cu_version: cu102
1599
1600
          name: cmake_windows_gpu
          python_version: '3.8'
1601
1602
1603
1604
1605
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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