config.yml 112 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
261
            python test/test_onnx.py

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

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

Francisco Massa's avatar
Francisco Massa committed
296
  binary_win_conda:
297
298
    <<: *binary_common
    executor: windows-cpu
299
300
    steps:
      - checkout_merge
301
      - designate_upload_channel
302
      - install_cuda_compatible_cmath
303
304
      - run:
          name: Build conda packages
305
          no_output_timeout: 20m
306
          command: |
307
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"
            packaging/build_conda.sh
314
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
315
      - store_artifacts:
316
          path: C:/tools/miniconda3/conda-bld/win-64
317
      - persist_to_workspace:
318
          root: C:/tools/miniconda3/conda-bld/win-64
319
320
321
322
323
          paths:
            - "*"
      - store_test_results:
          path: build_results/

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

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

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

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

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

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

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

guyang3532's avatar
guyang3532 committed
507
508
509
510
511
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
512
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
      - 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
531
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
      - 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
552
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
      - 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
572
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
573
574
575
576
577
578
      - 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
579
580
581
582
583
            CONDA_CHANNEL_FLAGS=""
            if [[ "${PYTHON_VERSION}" = 3.9 ]]; then
              CONDA_CHANNEL_FLAGS="-c=conda-forge"
            fi
            conda create ${CONDA_CHANNEL_FLAGS} -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
584
            conda activate python${PYTHON_VERSION}
585
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
            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
602
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
603
604
605
606
607
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
608
609
610
611
612
            CONDA_CHANNEL_FLAGS=""
            if [[ "${PYTHON_VERSION}" = 3.9 ]]; then
              CONDA_CHANNEL_FLAGS="-c=conda-forge"
            fi
            conda create ${CONDA_CHANNEL_FLAGS} -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
613
614
615
616
617
618
619
620
621
622
            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"

623
624
625
626
627
628
629
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
630
      - designate_upload_channel
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
661
662
663
664
      - 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:
665
      image: ubuntu-1604-cuda-10.2:202012-01
666
    resource_class: gpu.nvidia.medium
667
    environment:
668
      image_name: "pytorch/manylinux-cuda102"
669
      PYTHON_VERSION: << parameters.python_version >>
670
671
    steps:
      - checkout
672
      - designate_upload_channel
673
674
675
676
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
677
678
679
680
681
      - restore_cache:

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

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

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

          paths:
            - conda
            - env
692
693
694
695
696
697
698
699
      - 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
700
701
      - run:
          name: Install torchvision
702
          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
703
704
      - run:
          name: Run tests
705
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
706
707
708
709
710
711
712
713
714
715
716
717
      - 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
718
      - designate_upload_channel
719
      - install_cuda_compatible_cmath
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
752
753
754
755
      - 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:
756
      CUDA_VERSION: "10.2"
757
      PYTHON_VERSION: << parameters.python_version >>
758
759
    steps:
      - checkout
760
      - designate_upload_channel
761
      - install_cuda_compatible_cmath
762
763
764
765
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
766
767
768
769
      - restore_cache:

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

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

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

          paths:
            - conda
            - env
      - 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
792

Francisco Massa's avatar
Francisco Massa committed
793
794
795
  unittest_macos_cpu:
    <<: *binary_common
    macos:
796
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
797
798
799
    resource_class: large
    steps:
      - checkout
800
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
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
832
833
834
835
      - 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

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

  cmake_linux_gpu:
    <<: *binary_common
    machine:
852
      image: ubuntu-1604-cuda-10.2:202012-01
853
854
855
856
857
858
859
860
    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
861
      - designate_upload_channel
862
863
864
865
866
      - 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
867
          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
868
869
870
871

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

913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
  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
929
930
931
932
933
934
935
936
937
      - 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" }}

938
939
940
941
942
943
944
945
946
947
948
949
      - 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
950
951
952
953
954
955
      - save_cache:

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

          paths:
            - ./docs/source/auto_examples
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
      - 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


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

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

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1582
          cu_version: cu102
1583
1584
          name: cmake_linux_gpu
          python_version: '3.8'
1585
          wheel_docker_image: pytorch/manylinux-cuda102
1586
1587
1588
1589
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1590
      - cmake_windows_gpu:
1591
          cu_version: cu102
1592
1593
          name: cmake_windows_gpu
          python_version: '3.8'
1594
1595
1596
1597
1598
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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