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
            pip install --user pytest
261
262
            python test/test_onnx.py

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

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

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

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

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

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

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

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

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

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

  smoke_test_win_pip:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
603
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
604
605
606
607
608
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
609
610
611
612
613
            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
614
615
616
617
618
619
620
621
622
623
            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"

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

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

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

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

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

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

772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
      - 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
793

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

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

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

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

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

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

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

          paths:
            - ./docs/source/auto_examples
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
993
      - 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


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

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

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

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