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

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

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

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

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

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

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

            export HOMEBREW_NO_AUTO_UPDATE=1

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

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

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

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

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

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

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

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

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

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
205
206
            sudo apt-get update -y
            sudo apt install -y libturbojpeg-dev
207
            pip install --user --progress-bar off mypy
208
            pip install --user --progress-bar off --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
            conda activate python${PYTHON_VERSION}
583
            conda install Pillow>=5.3.0
guyang3532's avatar
guyang3532 committed
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
            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
      - 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:
663
      image: ubuntu-1604-cuda-10.2:202012-01
664
    resource_class: gpu.nvidia.medium
665
    environment:
666
      image_name: "pytorch/manylinux-cuda102"
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

          paths:
            - conda
            - env
690
691
692
693
694
695
696
697
      - run:
          # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
          # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
          # They're avaiable in all the other workflows (OSX and Windows).
          # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
          # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
          name: export CIRCLECI env var
          command: echo "CIRCLECI=true" >> ./env.list
698
699
      - run:
          name: Install torchvision
700
          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
701
702
      - run:
          name: Run tests
703
          command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
704
705
706
707
708
709
710
711
712
713
714
715
      - 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
716
      - designate_upload_channel
717
      - install_cuda_compatible_cmath
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
      - 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:
754
      CUDA_VERSION: "10.2"
755
      PYTHON_VERSION: << parameters.python_version >>
756
757
    steps:
      - checkout
758
      - designate_upload_channel
759
      - install_cuda_compatible_cmath
760
761
762
763
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
764
765
766
767
      - restore_cache:

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

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

Francisco Massa's avatar
Francisco Massa committed
791
792
793
  unittest_macos_cpu:
    <<: *binary_common
    macos:
794
      xcode: "12.0"
Francisco Massa's avatar
Francisco Massa committed
795
796
797
    resource_class: large
    steps:
      - checkout
798
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
      - 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

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

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

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

911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
  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
927
928
929
930
931
932
933
934
935
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

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


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

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

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

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