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

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

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

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

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

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

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

            export HOMEBREW_NO_AUTO_UPDATE=1

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

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

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

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

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

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

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

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

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

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

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

222
223
224
225
226
227
228
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
229
230
231
            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
232
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
233

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

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

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

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

Francisco Massa's avatar
Francisco Massa committed
294
  binary_win_conda:
295
296
    <<: *binary_common
    executor: windows-cpu
297
298
    steps:
      - checkout_merge
299
      - designate_upload_channel
300
      - install_cuda_compatible_cmath
301
302
      - run:
          name: Build conda packages
303
          no_output_timeout: 20m
304
          command: |
305
306
307
308
309
310
311
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
            packaging/build_conda.sh
312
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
313
      - store_artifacts:
314
          path: C:/tools/miniconda3/conda-bld/win-64
315
      - persist_to_workspace:
316
          root: C:/tools/miniconda3/conda-bld/win-64
317
318
319
320
321
          paths:
            - "*"
      - store_test_results:
          path: build_results/

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

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

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
439
440
  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"

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

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

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

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

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

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

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

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

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
692
          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
693
694
      - run:
          name: Run tests
695
          command: docker run -e CIRCLECI -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
696
697
698
699
700
701
702
703
704
705
706
707
      - 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
708
      - designate_upload_channel
709
      - install_cuda_compatible_cmath
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
742
743
744
745
746
      - 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:
      CUDA_VERSION: "10.1"
747
      PYTHON_VERSION: << parameters.python_version >>
748
749
    steps:
      - checkout
750
      - designate_upload_channel
751
      - install_cuda_compatible_cmath
752
753
754
755
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
756
757
758
759
      - restore_cache:

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

761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

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

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

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

  cmake_linux_gpu:
    <<: *binary_common
    machine:
      image: ubuntu-1604-cuda-10.1:201909-23
    resource_class: gpu.small
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
851
      - designate_upload_channel
852
853
854
855
856
      - 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
857
          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
858
859
860
861

  cmake_macos_cpu:
    <<: *binary_common
    macos:
862
      xcode: "12.0"
863
864
    steps:
      - checkout_merge
865
      - designate_upload_channel
866
867
868
869
870
871
872
873
874
875
876
877
878
879
      - 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
880
      - designate_upload_channel
881
      - install_cuda_compatible_cmath
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
      - install_cuda_compatible_cmath
896
897
898
899
900
901
902
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
  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
      - run:
          name: Build docs
          command: |
            set -ex
            tag=${CIRCLE_TAG:1:5}
            VERSION=${tag:-master}
            eval "$(./conda/bin/conda shell.bash hook)"
            conda activate ./env
            pushd docs
            pip install -r requirements.txt
            make html
            popd
      - persist_to_workspace:
          root: ./
          paths:
            - "*"
      - store_artifacts:
          path: ./docs/build/html
          destination: docs

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


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

1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
  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'
1571
1572
1573
1574
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.9
          python_version: '3.9'
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.6
          python_version: '3.6'
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.7
          python_version: '3.7'
      - unittest_linux_gpu:
          cu_version: cu101
          name: unittest_linux_gpu_py3.8
          python_version: '3.8'
1597
1598
1599
1600
1601
1602
1603
1604
1605
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.9
          python_version: '3.9'
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
      - 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'
1618
1619
1620
1621
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.9
          python_version: '3.9'
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.6
          python_version: '3.6'
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.7
          python_version: '3.7'
      - unittest_windows_gpu:
          cu_version: cu101
          name: unittest_windows_gpu_py3.8
          python_version: '3.8'
1644
1645
1646
1647
1648
1649
1650
1651
1652
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.9
          python_version: '3.9'
Francisco Massa's avatar
Francisco Massa committed
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
      - 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'
1665
1666
1667
1668
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.9
          python_version: '3.9'
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
          cu_version: cu101
          name: cmake_linux_gpu
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda101
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1685
1686
1687
1688
      - cmake_windows_gpu:
          cu_version: cu101
          name: cmake_windows_gpu
          python_version: '3.8'
1689
1690
1691
1692
1693
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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