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

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

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

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

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

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

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

            export HOMEBREW_NO_AUTO_UPDATE=1

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

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

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

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

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

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

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

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

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

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

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

223
224
225
226
227
228
229
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
230
231
232
            curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
            chmod +x clang-format
            sudo mv clang-format /opt/clang-format
233
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
234

Francisco Massa's avatar
Francisco Massa committed
235
236
237
238
239
240
241
242
243
244
245
246
  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

247
248
249
250
251
252
253
254
255
256
257
  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
258
            pip install --user onnxruntime
259
260
            python test/test_onnx.py

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

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

Francisco Massa's avatar
Francisco Massa committed
295
  binary_win_conda:
296
297
    <<: *binary_common
    executor: windows-cpu
298
299
    steps:
      - checkout_merge
300
      - designate_upload_channel
301
      - install_cuda_compatible_cmath
302
303
      - run:
          name: Build conda packages
304
          no_output_timeout: 20m
305
          command: |
306
307
308
309
310
311
312
            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
313
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
314
      - store_artifacts:
315
          path: C:/tools/miniconda3/conda-bld/win-64
316
      - persist_to_workspace:
317
          root: C:/tools/miniconda3/conda-bld/win-64
318
319
320
321
322
          paths:
            - "*"
      - store_test_results:
          path: build_results/

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

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

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
441
  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"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
  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
928
929
930
931
932
933
934
935
936
      - 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" }}

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

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

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


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

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

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

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