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

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

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

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

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

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

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

            export HOMEBREW_NO_AUTO_UPDATE=1

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

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

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

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

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

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

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

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

180
181
182
183
184
185
186
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
187
188
189
            pip install --user --progress-bar off pre-commit
            pre-commit install-hooks
      - run: pre-commit run --all-files
190
191
192
193
194
195
196
197

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
198
199
            sudo apt-get update -y
            sudo apt install -y libturbojpeg-dev
200
            pip install --user --progress-bar off mypy
201
            pip install --user --progress-bar off types-requests
202
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
203
            pip install --user --progress-bar off --editable .
204
            mypy --config-file mypy.ini
205

206
207
208
209
210
211
212
213
214
215
  docstring_parameters_sync:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user pydocstyle
            pydocstyle

216
217
218
219
220
221
222
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
223
224
225
            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
226
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
227

Francisco Massa's avatar
Francisco Massa committed
228
229
230
231
232
233
234
235
236
  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
237
            pip install --user --progress-bar off .
Anirudh's avatar
Anirudh committed
238
            pip install pytest
Francisco Massa's avatar
Francisco Massa committed
239
240
            python test/test_hub.py

241
242
243
244
245
246
247
248
249
  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
250
            pip install --user --progress-bar off .
251
            pip install --user onnx
252
            pip install --user onnxruntime
253
            pip install --user pytest
254
255
            python test/test_onnx.py

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

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

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

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

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

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

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

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

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

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

guyang3532's avatar
guyang3532 committed
503
504
505
506
507
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
508
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
      - 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
527
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
      - 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
548
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
      - 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
568
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
569
570
571
572
573
574
      - 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
575
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
576
            conda activate python${PYTHON_VERSION}
577
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
            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
594
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
      - 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"

610
611
612
613
614
615
616
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
617
      - designate_upload_channel
618
619
620
621
622
623
624
625
626
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
      - 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:
652
      image: ubuntu-1604-cuda-10.2:202012-01
653
    resource_class: gpu.nvidia.medium
654
    environment:
655
      image_name: "pytorch/manylinux-cuda102"
656
      PYTHON_VERSION: << parameters.python_version >>
657
658
    steps:
      - checkout
659
      - designate_upload_channel
660
661
662
663
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
664
665
666
667
668
      - restore_cache:

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

669
670
      - run:
          name: Setup
671
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
672
673
      - save_cache:

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

          paths:
            - conda
            - env
679
680
681
682
683
684
685
686
      - 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
687
688
      - run:
          name: Install torchvision
689
          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
690
691
      - run:
          name: Run tests
692
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
693
694
695
696
697
698
699
700
701
702
703
704
      - 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
705
      - designate_upload_channel
706
707
708
709
710
711
712
713
714
715
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
      - 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:
742
      CUDA_VERSION: "11.1"
743
      PYTHON_VERSION: << parameters.python_version >>
744
745
    steps:
      - checkout
746
      - designate_upload_channel
747
748
749
750
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
751
752
753
754
      - restore_cache:

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

756
757
758
759
760
761
762
763
764
765
      - 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
766
767
768
769
770
771
      - run:
          name: Install CUDA
          command: packaging/windows/internal/cuda_install.bat
      - run:
          name: Update CUDA driver
          command: packaging/windows/internal/driver_update.bat
772
773
774
775
776
777
778
779
780
781
782
      - 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
783

Francisco Massa's avatar
Francisco Massa committed
784
785
786
  unittest_macos_cpu:
    <<: *binary_common
    macos:
787
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
788
789
790
    resource_class: large
    steps:
      - checkout
791
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
792
793
794
795
796
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
      - 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

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

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

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

902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
  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
918
919
920
921
922
923
924
925
926
      - 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" }}

927
928
929
930
931
      - run:
          name: Build docs
          command: |
            set -ex
            tag=${CIRCLE_TAG:1:5}
932
            VERSION=${tag:-main}
933
934
935
936
937
938
            eval "$(./conda/bin/conda shell.bash hook)"
            conda activate ./env
            pushd docs
            pip install -r requirements.txt
            make html
            popd
939
940
941
942
943
944
      - save_cache:

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

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


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

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

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1702
          cu_version: cu102
1703
1704
          name: cmake_linux_gpu
          python_version: '3.8'
1705
          wheel_docker_image: pytorch/manylinux-cuda102
1706
1707
1708
1709
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1710
      - cmake_windows_gpu:
1711
          cu_version: cu102
1712
1713
          name: cmake_windows_gpu
          python_version: '3.8'
1714
1715
1716
1717
1718
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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