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
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
Vasilis Vryniotis's avatar
Vasilis Vryniotis committed
116
      default: "0.10.0"
117
    pytorch_version:
118
      description: "PyTorch version to build against; by default, use a nightly"
119
      type: string
Vasilis Vryniotis's avatar
Vasilis Vryniotis committed
120
      default: "1.9.0"
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
690
691

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
692
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
693
694
      - run:
          name: Run tests
695
          command: docker run -e CIRCLECI -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
696
697
698
699
700
701
702
703
704
705
706
707
      - run:
          name: Post Process
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout
708
      - designate_upload_channel
709
      - install_cuda_compatible_cmath
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
      - 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:
746
      CUDA_VERSION: "10.2"
747
      PYTHON_VERSION: << parameters.python_version >>
748
749
    steps:
      - checkout
750
      - designate_upload_channel
751
      - install_cuda_compatible_cmath
752
753
754
755
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
756
757
758
759
      - restore_cache:

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

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

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

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

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

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

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

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

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

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

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

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

  cmake_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout_merge
880
      - designate_upload_channel
881
      - install_cuda_compatible_cmath
882
883
884
885
886
887
888
889
890
891
892
893
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/build_cmake.sh

  cmake_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    steps:
      - checkout_merge
894
      - designate_upload_channel
895
      - install_cuda_compatible_cmath
896
897
898
899
900
901
902
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

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

928
929
930
931
932
933
934
935
936
937
938
939
      - 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
940
941
942
943
944
945
      - save_cache:

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

          paths:
            - ./docs/source/auto_examples
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
      - 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


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

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

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
1572
          cu_version: cu102
1573
1574
          name: cmake_linux_gpu
          python_version: '3.8'
1575
          wheel_docker_image: pytorch/manylinux-cuda102
1576
1577
1578
1579
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
1580
      - cmake_windows_gpu:
1581
          cu_version: cu102
1582
1583
          name: cmake_windows_gpu
          python_version: '3.8'
1584
1585
1586
1587
1588
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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