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

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

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

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

22
23
24
25
26
commands:
  checkout_merge:
    description: "checkout merge branch"
    steps:
      - checkout
27
28
29
30
31
#     - run:
#         name: Checkout merge branch
#         command: |
#           set -ex
#           BRANCH=$(git rev-parse --abbrev-ref HEAD)
32
#           if [[ "$BRANCH" != "main" ]]; then
33
34
35
#             git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH}
#             git checkout "merged/$CIRCLE_BRANCH"
#           fi
36
37
38
39
40
41
42
43
44
45
46
47
  designate_upload_channel:
    description: "inserts the correct upload channel into ${BASH_ENV}"
    steps:
      - run:
          name: adding UPLOAD_CHANNEL to BASH_ENV
          command: |
            our_upload_channel=nightly
            # On tags upload to test instead
            if [[ -n "${CIRCLE_TAG}" ]]; then
              our_upload_channel=test
            fi
            echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
48
49
50
51
52
53
54
55
  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
  torchhub_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
            # need to install torchvision dependencies due to transitive imports
244
            pip install --user --progress-bar off .
Anirudh's avatar
Anirudh committed
245
            pip install pytest
Francisco Massa's avatar
Francisco Massa committed
246
247
            python test/test_hub.py

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

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

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

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

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

352
353
354
  binary_macos_wheel:
    <<: *binary_common
    macos:
355
      xcode: "12.0"
356
    steps:
357
      - checkout_merge
358
      - designate_upload_channel
359
360
361
362
363
364
365
366
367
368
369
      - run:
          # Cannot easily deduplicate this as source'ing activate
          # will set environment variables which we need to propagate
          # to build_wheel.sh
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
370
371
372
373
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
374

375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
  binary_ios_build:
    <<: *torchvision_ios_params
    macos:
      xcode: "12.0"
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run_brew_for_ios_build
    - run:
        name: Build
        no_output_timeout: "1h"
        command: |
          script="/Users/distiller/project/.circleci/unittest/ios/scripts/binary_ios_build.sh"
          cat "$script"
          source "$script"
    - persist_to_workspace:
        root: /Users/distiller/workspace/
        paths: ios

  binary_ios_upload:
    <<: *torchvision_ios_params
    macos:
      xcode: "12.0"
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run_brew_for_ios_build
    - run:
        name: Upload
        no_output_timeout: "1h"
        command: |
          script="/Users/distiller/project/.circleci/unittest/ios/scripts/binary_ios_upload.sh"
          cat "$script"
          source "$script"

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
  binary_android_build:
    <<: *torchvision_android_params
    docker:
      - image: circleci/android:api-29-ndk
    resource_class: xlarge
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run:
        name: Build
        no_output_timeout: "1h"
        command: |
          script="/home/circleci/project/.circleci/unittest/android/scripts/binary_android_build.sh"
          cat "$script"
          source "$script"
    - store_artifacts:
        path: ~/workspace/artifacts

  binary_android_upload:
    <<: *torchvision_android_params
    docker:
      - image: circleci/android:api-29-ndk
    resource_class: xlarge
    steps:
    - attach_workspace:
        at: ~/workspace
    - checkout
    - run:
        name: Upload
        no_output_timeout: "1h"
        command: |
          script="/home/circleci/project/.circleci/unittest/android/scripts/binary_android_upload.sh"
          cat "$script"
          source "$script"

448
449
450
  binary_macos_conda:
    <<: *binary_common
    macos:
451
      xcode: "12.0"
452
    steps:
453
      - checkout_merge
454
      - designate_upload_channel
455
456
457
458
459
460
461
462
463
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build
            packaging/build_conda.sh
      - store_artifacts:
          path: /Users/distiller/miniconda3/conda-bld/osx-64
Edward Z. Yang's avatar
Edward Z. Yang committed
464
465
466
467
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
468
469
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
470
471
472
473
474
475
476
477

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
478
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
479
480
481
482
483
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
484
            anaconda  -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u "pytorch-${UPLOAD_CHANNEL}" --label main --no-progress --force
Edward Z. Yang's avatar
Edward Z. Yang committed
485
486
487

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
488
489
490
491
    parameters:
      subfolder:
        description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)"
        type: string
Edward Z. Yang's avatar
Edward Z. Yang committed
492
493
494
495
496
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
497
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
498
499
500
501
502
503
504
505
506
507
      - checkout
      - run:
          command: |
            pip install --user awscli
            export PATH="$HOME/.local/bin:$PATH"
            # Prevent credential from leaking
            set +x
            export AWS_ACCESS_KEY_ID="${PYTORCH_BINARY_AWS_ACCESS_KEY_ID}"
            export AWS_SECRET_ACCESS_KEY="${PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY}"
            set -x
Edward Z. Yang's avatar
Edward Z. Yang committed
508
            for pkg in ~/workspace/*.whl; do
509
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
510
            done
511

guyang3532's avatar
guyang3532 committed
512
513
514
515
516
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
517
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
      - run:
          name: install binaries
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_linux_pip:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
536
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
      - run:
          name: install binaries
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_docker_image_build:
    machine:
      image: ubuntu-1604:201903-01
    resource_class: large
    environment:
      image_name: torchvision/smoke_test
    steps:
      - checkout
557
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
      - run:
          name: Build and push Docker image
          no_output_timeout: "1h"
          command: |
            set +x
            echo "${DOCKER_HUB_TOKEN}" | docker login --username "${DOCKER_HUB_USERNAME}" --password-stdin
            set -x
            cd .circleci/smoke_test/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
            docker tag ${image_name}:${CIRCLE_WORKFLOW_ID} ${image_name}:latest
            docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
            docker push ${image_name}:latest

  smoke_test_win_conda:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
577
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
578
579
580
581
582
583
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda env remove -n python${PYTHON_VERSION} || true
584
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
585
            conda activate python${PYTHON_VERSION}
586
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_win_pip:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
603
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
            conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

619
620
621
622
623
624
625
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
626
      - designate_upload_channel
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - save_cache:

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

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

  unittest_linux_gpu:
    <<: *binary_common
    machine:
661
      image: ubuntu-1604-cuda-10.2:202012-01
662
    resource_class: gpu.nvidia.medium
663
    environment:
664
      image_name: "pytorch/manylinux-cuda102"
665
      PYTHON_VERSION: << parameters.python_version >>
666
667
    steps:
      - checkout
668
      - designate_upload_channel
669
670
671
672
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
673
674
675
676
677
      - restore_cache:

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

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

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

          paths:
            - conda
            - env
688
689
690
691
692
693
694
695
      - run:
          # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
          # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
          # They're avaiable in all the other workflows (OSX and Windows).
          # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
          # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
          name: export CIRCLECI env var
          command: echo "CIRCLECI=true" >> ./env.list
696
697
      - run:
          name: Install torchvision
698
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
699
700
      - run:
          name: Run tests
701
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
702
703
704
705
706
707
708
709
710
711
712
713
      - run:
          name: Post Process
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout
714
      - designate_upload_channel
715
      - install_cuda_compatible_cmath
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

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

  unittest_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    environment:
752
      CUDA_VERSION: "10.2"
753
      PYTHON_VERSION: << parameters.python_version >>
754
755
    steps:
      - checkout
756
      - designate_upload_channel
757
      - install_cuda_compatible_cmath
758
759
760
761
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
762
763
764
765
      - restore_cache:

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

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

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

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

Francisco Massa's avatar
Francisco Massa committed
789
790
791
  unittest_macos_cpu:
    <<: *binary_common
    macos:
792
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
793
794
795
    resource_class: large
    steps:
      - checkout
796
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
      - run:
          name: Install wget
          command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
          # Disable brew auto update which is very slow
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - save_cache:

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

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

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

  cmake_linux_gpu:
    <<: *binary_common
    machine:
848
      image: ubuntu-1604-cuda-10.2:202012-01
849
850
851
852
853
854
855
856
    resource_class: gpu.small
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
857
      - designate_upload_channel
858
859
860
861
862
      - run:
          name: Setup conda
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> .circleci/unittest/linux/scripts/setup_env.sh
      - run:
          name: Build torchvision C++ distribution and test
863
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -e UPLOAD_CHANNEL -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh
864
865
866
867

  cmake_macos_cpu:
    <<: *binary_common
    macos:
868
      xcode: "12.0"
869
870
    steps:
      - checkout_merge
871
      - designate_upload_channel
872
873
874
875
876
877
878
879
880
881
882
883
884
885
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build cmake
            packaging/build_cmake.sh

  cmake_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout_merge
886
      - designate_upload_channel
887
      - install_cuda_compatible_cmath
888
889
890
891
892
893
894
895
896
897
898
899
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/build_cmake.sh

  cmake_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    steps:
      - checkout_merge
900
      - designate_upload_channel
901
      - install_cuda_compatible_cmath
902
903
904
905
906
907
908
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
  build_docs:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda100"
    resource_class: 2xlarge+
    steps:
      - attach_workspace:
          at: ~/workspace
      - checkout
      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - designate_upload_channel
      - run:
          name: Install torchvision
          command: .circleci/unittest/linux/scripts/install.sh
925
926
927
928
929
930
931
932
933
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

          paths:
            - ./docs/source/auto_examples
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
      - 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}
985
            target=${tag:-main}
986
987
988
            ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target


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

1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
  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'
1603
1604
1605
1606
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.9
          python_version: '3.9'
1607
      - unittest_linux_gpu:
1608
          cu_version: cu102
1609
1610
1611
          filters:
            branches:
              only:
1612
              - main
1613
1614
1615
1616
              - nightly
          name: unittest_linux_gpu_py3.6
          python_version: '3.6'
      - unittest_linux_gpu:
1617
          cu_version: cu102
1618
1619
1620
          filters:
            branches:
              only:
1621
              - main
1622
1623
1624
1625
              - nightly
          name: unittest_linux_gpu_py3.7
          python_version: '3.7'
      - unittest_linux_gpu:
1626
          cu_version: cu102
1627
1628
          name: unittest_linux_gpu_py3.8
          python_version: '3.8'
1629
      - unittest_linux_gpu:
1630
          cu_version: cu102
1631
1632
1633
          filters:
            branches:
              only:
1634
              - main
1635
1636
1637
              - nightly
          name: unittest_linux_gpu_py3.9
          python_version: '3.9'
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
      - 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'
1650
1651
1652
1653
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.9
          python_version: '3.9'
1654
      - unittest_windows_gpu:
1655
          cu_version: cu102
1656
1657
1658
          filters:
            branches:
              only:
1659
              - main
1660
1661
1662
1663
              - nightly
          name: unittest_windows_gpu_py3.6
          python_version: '3.6'
      - unittest_windows_gpu:
1664
          cu_version: cu102
1665
1666
1667
          filters:
            branches:
              only:
1668
              - main
1669
1670
1671
1672
              - nightly
          name: unittest_windows_gpu_py3.7
          python_version: '3.7'
      - unittest_windows_gpu:
1673
          cu_version: cu102
1674
1675
          name: unittest_windows_gpu_py3.8
          python_version: '3.8'
1676
      - unittest_windows_gpu:
1677
          cu_version: cu102
1678
1679
1680
          filters:
            branches:
              only:
1681
              - main
1682
1683
1684
              - nightly
          name: unittest_windows_gpu_py3.9
          python_version: '3.9'
Francisco Massa's avatar
Francisco Massa committed
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
      - 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'
1697
1698
1699
1700
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.9
          python_version: '3.9'
1701
1702
1703
1704
1705
1706
1707
1708

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1709
          cu_version: cu102
1710
1711
          name: cmake_linux_gpu
          python_version: '3.8'
1712
          wheel_docker_image: pytorch/manylinux-cuda102
1713
1714
1715
1716
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1717
      - cmake_windows_gpu:
1718
          cu_version: cu102
1719
1720
          name: cmake_windows_gpu
          python_version: '3.8'
1721
1722
1723
1724
1725
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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