config.yml 53.6 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
56
binary_common: &binary_common
  parameters:
    # Edit these defaults to do a release`
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
57
      description: "PyTorch version to build against; by default, use a nightly"
58
      type: string
59
      default: ""
60
61
62
63
    # 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
64
65
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
66
67
68
69
70
      type: string
    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
71
72
73
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
74
      default: "pytorch/manylinux-cuda101"
75
76
77
78
  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
79
    CU_VERSION: << parameters.cu_version >>
80

81
jobs:
82
83
84
85
86
87
88
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
89
            pip install --user --progress-bar off jinja2 pyyaml
90
91
92
            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)

93
94
95
96
97
98
99
100
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off flake8 typing
101
102
103
104
105
106
107
108
109
110
111
            flake8 --config=setup.cfg .

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off numpy mypy
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
112
            pip install --user --progress-bar off --editable .
113
            mypy --config-file mypy.ini
114

115
116
117
118
119
120
121
122
123
124
125
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            sudo apt-get update -y
            sudo apt-get install -y clang-format
            ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc

126
127
128
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
129
      - image: << parameters.wheel_docker_image >>
130
131
    resource_class: 2xlarge+
    steps:
132
      - checkout_merge
133
134
135
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
136
137
138
139
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
140
141
142
143

  binary_linux_conda:
    <<: *binary_common
    docker:
144
      - image: "pytorch/conda-cuda"
145
    resource_class: 2xlarge+
146
    steps:
147
      - checkout_merge
148
149
150
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
151
152
153
154
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
155
156
      - store_test_results:
          path: build_results/
157

Francisco Massa's avatar
Francisco Massa committed
158
159
160
161
162
163
  binary_linux_conda_cuda:
    <<: *binary_common
    machine:
      image: ubuntu-1604:201903-01
    resource_class: gpu.medium
    steps:
164
    - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
165
166
167
    - run:
        name: Setup environment
        command: |
168
          set -ex
Francisco Massa's avatar
Francisco Massa committed
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190

          curl -L https://packagecloud.io/circleci/trusty/gpgkey | sudo apt-key add -
          curl -L https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

          sudo apt-get update

          sudo apt-get install \
              apt-transport-https \
              ca-certificates \
              curl \
              gnupg-agent \
              software-properties-common

          curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

          sudo add-apt-repository \
             "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
             $(lsb_release -cs) \
             stable"

          sudo apt-get update
          export DOCKER_VERSION="5:19.03.2~3-0~ubuntu-xenial"
Francisco Massa's avatar
Francisco Massa committed
191
          sudo apt-get install docker-ce=${DOCKER_VERSION} docker-ce-cli=${DOCKER_VERSION} containerd.io=1.2.6-3
Francisco Massa's avatar
Francisco Massa committed
192
193
194
195
196
197
198
199
200
201

          # Add the package repositories
          distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
          curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
          curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

          export NVIDIA_CONTAINER_VERSION="1.0.3-1"
          sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit=${NVIDIA_CONTAINER_VERSION}
          sudo systemctl restart docker

202
          DRIVER_FN="NVIDIA-Linux-x86_64-440.59.run"
Francisco Massa's avatar
Francisco Massa committed
203
204
205
206
207
208
209
          wget "https://s3.amazonaws.com/ossci-linux/nvidia_driver/$DRIVER_FN"
          sudo /bin/bash "$DRIVER_FN" -s --no-drm || (sudo cat /var/log/nvidia-installer.log && false)
          nvidia-smi

    - run:
        name: Pull docker image
        command: |
210
          set -ex
211
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
212
213
214
215
216
217
          echo Pulling docker image $DOCKER_IMAGE
          docker pull $DOCKER_IMAGE >/dev/null

    - run:
        name: Build and run tests
        command: |
218
          set -ex
Francisco Massa's avatar
Francisco Massa committed
219
220
221

          cd ${HOME}/project/

222
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
223
224
225
226
227
228
          export VARS_TO_PASS="-e PYTHON_VERSION -e BUILD_VERSION -e PYTORCH_VERSION -e UNICODE_ABI -e CU_VERSION"

          docker run --gpus all  --ipc=host -v $(pwd):/remote -w /remote ${VARS_TO_PASS} ${DOCKER_IMAGE} ./packaging/build_conda.sh

  binary_win_conda:
    <<: *binary_common
229
    executor: windows-cpu
Francisco Massa's avatar
Francisco Massa committed
230
    steps:
231
      - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
232
233
      - run:
          command: |
234
235
236
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
237
238
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
239
            packaging/build_conda.sh
240
241
      - store_test_results:
          path: build_results/
Francisco Massa's avatar
Francisco Massa committed
242

243
244
  binary_win_conda_cuda:
    <<: *binary_common
245
    executor: windows-gpu
246
247
248
249
    steps:
      - checkout_merge
      - run:
          command: |
250
251
252
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
253
254
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
255
            packaging/build_conda.sh
256

257
  binary_win_conda_release:
258
259
    <<: *binary_common
    executor: windows-cpu
260
261
262
263
264
    steps:
      - checkout_merge
      - run:
          name: Build conda packages
          command: |
265
266
267
268
269
270
271
            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
272
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
273
      - store_artifacts:
274
          path: C:/tools/miniconda3/conda-bld/win-64
275
      - persist_to_workspace:
276
          root: C:/tools/miniconda3/conda-bld/win-64
277
278
279
280
281
282
          paths:
            - "*"
      - store_test_results:
          path: build_results/

  binary_win_wheel_release:
283
284
    <<: *binary_common
    executor: windows-cpu
285
286
287
288
289
    steps:
      - checkout_merge
      - run:
          name: Build wheel packages
          command: |
290
291
292
293
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
294
      - store_artifacts:
295
          path: dist
296
      - persist_to_workspace:
297
          root: dist
298
299
300
301
302
          paths:
            - "*"
      - store_test_results:
          path: build_results/

303
304
305
306
307
  binary_macos_wheel:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
308
      - checkout_merge
309
310
311
312
313
314
315
316
317
318
319
      - 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
320
321
322
323
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
324
325
326
327
328
329

  binary_macos_conda:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
330
      - checkout_merge
331
332
333
334
335
336
337
338
339
      - 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
340
341
342
343
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
344
345
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
346
347
348
349
350
351
352
353

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
354
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
355
356
357
358
359
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
360
            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
361
362
363

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
364
365
366
367
    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
368
369
370
371
372
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
373
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
374
375
376
377
378
379
380
381
382
383
      - 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
384
            for pkg in ~/workspace/*.whl; do
385
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
386
            done
387

388

389
390
391
392
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
393
      - binary_linux_wheel:
394
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
395
          name: binary_linux_wheel_py3.6_cpu
396
          python_version: '3.6'
397
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
398
      - binary_linux_wheel:
399
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
400
          name: binary_linux_wheel_py3.6_cu92
401
          python_version: '3.6'
402
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
403
404
405
406
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
407
408
409
410
411
412
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
          cu_version: cu102
          name: binary_linux_wheel_py3.6_cu102
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
413
      - binary_linux_wheel:
414
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
415
          name: binary_linux_wheel_py3.7_cpu
416
          python_version: '3.7'
417
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
418
      - binary_linux_wheel:
419
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
420
          name: binary_linux_wheel_py3.7_cu92
421
          python_version: '3.7'
422
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
423
424
425
426
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
427
428
429
430
431
432
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
          cu_version: cu102
          name: binary_linux_wheel_py3.7_cu102
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda102
433
434
435
436
      - binary_linux_wheel:
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
437
          wheel_docker_image: pytorch/manylinux-cuda102
438
439
440
441
442
443
444
445
446
      - binary_linux_wheel:
          cu_version: cu92
          name: binary_linux_wheel_py3.8_cu92
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda92
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.8_cu101
          python_version: '3.8'
447
448
449
450
451
452
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
          cu_version: cu102
          name: binary_linux_wheel_py3.8_cu102
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
453
      - binary_macos_wheel:
454
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
455
          name: binary_macos_wheel_py3.6_cpu
456
          python_version: '3.6'
457
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
458
      - binary_macos_wheel:
459
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
460
          name: binary_macos_wheel_py3.7_cpu
461
          python_version: '3.7'
462
          wheel_docker_image: pytorch/manylinux-cuda102
463
464
465
466
      - binary_macos_wheel:
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
467
          wheel_docker_image: pytorch/manylinux-cuda102
468
469
470
471
472
473
474
475
      - binary_win_wheel_release:
          cu_version: cpu
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.6_cpu
          python_version: '3.6'
      - binary_win_wheel_release:
476
          cu_version: cu92
477
478
479
480
481
482
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.6_cu92
          python_version: '3.6'
      - binary_win_wheel_release:
483
          cu_version: cu101
484
485
486
487
488
489
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.6_cu101
          python_version: '3.6'
      - binary_win_wheel_release:
490
          cu_version: cu102
491
492
493
494
495
496
497
498
499
500
501
502
503
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.6_cu102
          python_version: '3.6'
      - binary_win_wheel_release:
          cu_version: cpu
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.7_cpu
          python_version: '3.7'
      - binary_win_wheel_release:
504
          cu_version: cu92
505
506
507
508
509
510
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.7_cu92
          python_version: '3.7'
      - binary_win_wheel_release:
511
          cu_version: cu101
512
513
514
515
516
517
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.7_cu101
          python_version: '3.7'
      - binary_win_wheel_release:
518
          cu_version: cu102
519
520
521
522
523
524
525
526
527
528
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.7_cu102
          python_version: '3.7'
      - binary_win_wheel_release:
          cu_version: cpu
          name: binary_win_wheel_py3.8_cpu
          python_version: '3.8'
      - binary_win_wheel_release:
529
          cu_version: cu92
530
531
532
533
534
535
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.8_cu92
          python_version: '3.8'
      - binary_win_wheel_release:
536
          cu_version: cu101
537
538
539
540
541
542
          filters:
            branches:
              only: master
          name: binary_win_wheel_py3.8_cu101
          python_version: '3.8'
      - binary_win_wheel_release:
543
          cu_version: cu102
544
545
          name: binary_win_wheel_py3.8_cu102
          python_version: '3.8'
Edward Z. Yang's avatar
Edward Z. Yang committed
546
      - binary_linux_conda:
547
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
548
          name: binary_linux_conda_py3.6_cpu
549
          python_version: '3.6'
550
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
551
      - binary_linux_conda:
552
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
553
          name: binary_linux_conda_py3.6_cu92
554
          python_version: '3.6'
555
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
556
557
558
559
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
560
561
562
563
564
565
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
          cu_version: cu102
          name: binary_linux_conda_py3.6_cu102
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
566
      - binary_linux_conda:
567
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
568
          name: binary_linux_conda_py3.7_cpu
569
          python_version: '3.7'
570
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
571
      - binary_linux_conda:
572
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
573
          name: binary_linux_conda_py3.7_cu92
574
          python_version: '3.7'
575
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
576
577
578
579
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
580
581
582
583
584
585
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
          cu_version: cu102
          name: binary_linux_conda_py3.7_cu102
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda102
586
587
588
589
      - binary_linux_conda:
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
590
          wheel_docker_image: pytorch/manylinux-cuda102
591
592
593
594
595
596
597
598
599
      - binary_linux_conda:
          cu_version: cu92
          name: binary_linux_conda_py3.8_cu92
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda92
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.8_cu101
          python_version: '3.8'
600
601
602
603
604
605
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
          cu_version: cu102
          name: binary_linux_conda_py3.8_cu102
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
606
      - binary_macos_conda:
607
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
608
          name: binary_macos_conda_py3.6_cpu
609
          python_version: '3.6'
610
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
611
      - binary_macos_conda:
612
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
613
          name: binary_macos_conda_py3.7_cpu
614
          python_version: '3.7'
615
          wheel_docker_image: pytorch/manylinux-cuda102
616
617
618
619
      - binary_macos_conda:
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
620
          wheel_docker_image: pytorch/manylinux-cuda102
621
622
623
624
625
626
627
628
      - binary_win_conda_release:
          cu_version: cpu
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.6_cpu
          python_version: '3.6'
      - binary_win_conda_release:
629
          cu_version: cu92
630
631
632
633
634
635
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.6_cu92
          python_version: '3.6'
      - binary_win_conda_release:
636
          cu_version: cu101
637
638
639
640
641
642
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.6_cu101
          python_version: '3.6'
      - binary_win_conda_release:
643
          cu_version: cu102
644
645
646
647
648
649
650
651
652
653
654
655
656
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.6_cu102
          python_version: '3.6'
      - binary_win_conda_release:
          cu_version: cpu
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.7_cpu
          python_version: '3.7'
      - binary_win_conda_release:
657
          cu_version: cu92
658
659
660
661
662
663
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.7_cu92
          python_version: '3.7'
      - binary_win_conda_release:
664
          cu_version: cu101
665
666
667
668
669
670
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.7_cu101
          python_version: '3.7'
      - binary_win_conda_release:
671
          cu_version: cu102
672
673
674
675
676
677
678
679
680
681
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.7_cu102
          python_version: '3.7'
      - binary_win_conda_release:
          cu_version: cpu
          name: binary_win_conda_py3.8_cpu
          python_version: '3.8'
      - binary_win_conda_release:
682
          cu_version: cu92
683
684
685
686
687
688
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.8_cu92
          python_version: '3.8'
      - binary_win_conda_release:
689
          cu_version: cu101
690
691
692
693
694
695
          filters:
            branches:
              only: master
          name: binary_win_conda_py3.8_cu101
          python_version: '3.8'
      - binary_win_conda_release:
696
          cu_version: cu102
697
698
          name: binary_win_conda_py3.8_cu102
          python_version: '3.8'
699
      - binary_linux_conda_cuda:
700
701
702
          name: torchvision_linux_py3.8_cu102_cuda
          python_version: "3.8"
          cu_version: "cu102"
Francisco Massa's avatar
Francisco Massa committed
703
704
705
706
      - binary_win_conda:
          name: torchvision_win_py3.6_cpu
          python_version: "3.6"
          cu_version: "cpu"
707
708
709
710
      - binary_win_conda_cuda:
          name: torchvision_win_py3.6_cu101
          python_version: "3.6"
          cu_version: "cu101"
711
      - python_lint
712
      - python_type_check
713
      - clang_format
Edward Z. Yang's avatar
Edward Z. Yang committed
714
715
716
717

  nightly:
    jobs:
      - circleci_consistency
718
      - python_lint
719
      - python_type_check
720
      - clang_format
721
      - binary_linux_wheel:
722
          cu_version: cpu
723
724
725
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
726
          name: nightly_binary_linux_wheel_py3.6_cpu
727
          python_version: '3.6'
728
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
729
730
      - binary_wheel_upload:
          context: org-member
731
732
733
          filters:
            branches:
              only: nightly
734
735
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
736
          name: nightly_binary_linux_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
737
          requires:
738
739
          - nightly_binary_linux_wheel_py3.6_cpu
          subfolder: cpu/
740
      - binary_linux_wheel:
741
          cu_version: cu92
742
743
744
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
745
          name: nightly_binary_linux_wheel_py3.6_cu92
746
          python_version: '3.6'
747
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
748
749
      - binary_wheel_upload:
          context: org-member
750
751
752
          filters:
            branches:
              only: nightly
753
754
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
755
          name: nightly_binary_linux_wheel_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
756
          requires:
757
758
          - nightly_binary_linux_wheel_py3.6_cu92
          subfolder: cu92/
759
      - binary_linux_wheel:
760
          cu_version: cu101
761
762
763
          filters:
            branches:
              only: nightly
764
          name: nightly_binary_linux_wheel_py3.6_cu101
765
          python_version: '3.6'
766
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
767
768
      - binary_wheel_upload:
          context: org-member
769
770
771
          filters:
            branches:
              only: nightly
772
773
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
774
          name: nightly_binary_linux_wheel_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
775
          requires:
776
777
          - nightly_binary_linux_wheel_py3.6_cu101
          subfolder: cu101/
Francisco Massa's avatar
Francisco Massa committed
778
      - binary_linux_wheel:
779
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
780
781
782
          filters:
            branches:
              only: nightly
783
          name: nightly_binary_linux_wheel_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
784
          python_version: '3.6'
785
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
786
787
788
789
790
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
791
792
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
793
          name: nightly_binary_linux_wheel_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
794
          requires:
795
796
          - nightly_binary_linux_wheel_py3.6_cu102
          subfolder: cu102/
797
      - binary_linux_wheel:
798
          cu_version: cpu
799
800
801
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
802
          name: nightly_binary_linux_wheel_py3.7_cpu
803
          python_version: '3.7'
804
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
805
806
      - binary_wheel_upload:
          context: org-member
807
808
809
          filters:
            branches:
              only: nightly
810
811
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
812
          name: nightly_binary_linux_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
813
          requires:
814
815
          - nightly_binary_linux_wheel_py3.7_cpu
          subfolder: cpu/
816
      - binary_linux_wheel:
817
          cu_version: cu92
818
819
820
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
821
          name: nightly_binary_linux_wheel_py3.7_cu92
822
          python_version: '3.7'
823
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
824
825
      - binary_wheel_upload:
          context: org-member
826
827
828
          filters:
            branches:
              only: nightly
829
830
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
831
          name: nightly_binary_linux_wheel_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
832
          requires:
833
834
          - nightly_binary_linux_wheel_py3.7_cu92
          subfolder: cu92/
835
      - binary_linux_wheel:
836
          cu_version: cu101
837
838
839
          filters:
            branches:
              only: nightly
840
          name: nightly_binary_linux_wheel_py3.7_cu101
841
          python_version: '3.7'
842
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
843
844
      - binary_wheel_upload:
          context: org-member
845
846
847
          filters:
            branches:
              only: nightly
848
849
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
850
          name: nightly_binary_linux_wheel_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
851
          requires:
852
853
          - nightly_binary_linux_wheel_py3.7_cu101
          subfolder: cu101/
Francisco Massa's avatar
Francisco Massa committed
854
      - binary_linux_wheel:
855
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
856
857
858
          filters:
            branches:
              only: nightly
859
          name: nightly_binary_linux_wheel_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
860
          python_version: '3.7'
861
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
862
863
864
865
866
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
867
868
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
869
          name: nightly_binary_linux_wheel_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
870
          requires:
871
872
          - nightly_binary_linux_wheel_py3.7_cu102
          subfolder: cu102/
873
874
875
876
877
878
879
      - binary_linux_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
880
          wheel_docker_image: pytorch/manylinux-cuda102
881
882
883
884
885
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
886
887
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
          name: nightly_binary_linux_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu
          subfolder: cpu/
      - binary_linux_wheel:
          cu_version: cu92
          filters:
            branches:
              only: nightly
          name: nightly_binary_linux_wheel_py3.8_cu92
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda92
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
905
906
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
907
908
909
910
911
          name: nightly_binary_linux_wheel_py3.8_cu92_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cu92
          subfolder: cu92/
      - binary_linux_wheel:
912
          cu_version: cu101
913
914
915
          filters:
            branches:
              only: nightly
916
          name: nightly_binary_linux_wheel_py3.8_cu101
917
          python_version: '3.8'
918
          wheel_docker_image: pytorch/manylinux-cuda101
919
920
921
922
923
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
924
925
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
926
          name: nightly_binary_linux_wheel_py3.8_cu101_upload
927
          requires:
928
929
          - nightly_binary_linux_wheel_py3.8_cu101
          subfolder: cu101/
930
      - binary_linux_wheel:
931
          cu_version: cu102
932
933
934
          filters:
            branches:
              only: nightly
935
          name: nightly_binary_linux_wheel_py3.8_cu102
936
          python_version: '3.8'
937
          wheel_docker_image: pytorch/manylinux-cuda102
938
939
940
941
942
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
943
944
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
945
          name: nightly_binary_linux_wheel_py3.8_cu102_upload
946
          requires:
947
948
          - nightly_binary_linux_wheel_py3.8_cu102
          subfolder: cu102/
949
      - binary_macos_wheel:
950
          cu_version: cpu
951
952
953
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
954
          name: nightly_binary_macos_wheel_py3.6_cpu
955
          python_version: '3.6'
956
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
957
958
      - binary_wheel_upload:
          context: org-member
959
960
961
          filters:
            branches:
              only: nightly
962
963
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
964
          name: nightly_binary_macos_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
965
          requires:
966
967
          - nightly_binary_macos_wheel_py3.6_cpu
          subfolder: ''
968
      - binary_macos_wheel:
969
          cu_version: cpu
970
971
972
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
973
          name: nightly_binary_macos_wheel_py3.7_cpu
974
          python_version: '3.7'
975
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
976
977
      - binary_wheel_upload:
          context: org-member
978
979
980
          filters:
            branches:
              only: nightly
981
982
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
983
          name: nightly_binary_macos_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
984
          requires:
985
986
          - nightly_binary_macos_wheel_py3.7_cpu
          subfolder: ''
987
988
989
990
991
992
993
      - binary_macos_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
994
          wheel_docker_image: pytorch/manylinux-cuda102
995
996
997
998
999
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1000
1001
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1002
1003
1004
1005
          name: nightly_binary_macos_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.8_cpu
          subfolder: ''
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
      - binary_win_wheel_release:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.6_cpu
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1018
1019
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1020
1021
1022
1023
1024
          name: nightly_binary_win_wheel_py3.6_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cpu
          subfolder: cpu/
      - binary_win_wheel_release:
1025
          cu_version: cu92
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.6_cu92
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1036
1037
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1038
1039
1040
1041
1042
          name: nightly_binary_win_wheel_py3.6_cu92_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu92
          subfolder: cu92/
      - binary_win_wheel_release:
1043
          cu_version: cu101
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.6_cu101
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1054
1055
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1056
1057
1058
1059
1060
          name: nightly_binary_win_wheel_py3.6_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu101
          subfolder: cu101/
      - binary_win_wheel_release:
1061
          cu_version: cu102
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.6_cu102
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1072
1073
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
          name: nightly_binary_win_wheel_py3.6_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu102
          subfolder: cu102/
      - binary_win_wheel_release:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.7_cpu
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1090
1091
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1092
1093
1094
1095
1096
          name: nightly_binary_win_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cpu
          subfolder: cpu/
      - binary_win_wheel_release:
1097
          cu_version: cu92
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.7_cu92
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1108
1109
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1110
1111
1112
1113
1114
          name: nightly_binary_win_wheel_py3.7_cu92_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu92
          subfolder: cu92/
      - binary_win_wheel_release:
1115
          cu_version: cu101
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.7_cu101
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1126
1127
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1128
1129
1130
1131
1132
          name: nightly_binary_win_wheel_py3.7_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu101
          subfolder: cu101/
      - binary_win_wheel_release:
1133
          cu_version: cu102
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.7_cu102
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1144
1145
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
          name: nightly_binary_win_wheel_py3.7_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu102
          subfolder: cu102/
      - binary_win_wheel_release:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.8_cpu
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1162
1163
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1164
1165
1166
1167
1168
          name: nightly_binary_win_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cpu
          subfolder: cpu/
      - binary_win_wheel_release:
1169
          cu_version: cu92
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.8_cu92
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1180
1181
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1182
1183
1184
1185
1186
          name: nightly_binary_win_wheel_py3.8_cu92_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu92
          subfolder: cu92/
      - binary_win_wheel_release:
1187
          cu_version: cu101
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.8_cu101
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1198
1199
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1200
1201
1202
1203
1204
          name: nightly_binary_win_wheel_py3.8_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu101
          subfolder: cu101/
      - binary_win_wheel_release:
1205
          cu_version: cu102
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_wheel_py3.8_cu102
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1216
1217
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1218
1219
1220
1221
          name: nightly_binary_win_wheel_py3.8_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu102
          subfolder: cu102/
1222
      - binary_linux_conda:
1223
          cu_version: cpu
1224
1225
1226
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1227
          name: nightly_binary_linux_conda_py3.6_cpu
1228
          python_version: '3.6'
1229
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1230
1231
      - binary_conda_upload:
          context: org-member
1232
1233
1234
          filters:
            branches:
              only: nightly
1235
1236
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1237
          name: nightly_binary_linux_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1238
          requires:
1239
          - nightly_binary_linux_conda_py3.6_cpu
1240
      - binary_linux_conda:
1241
          cu_version: cu92
1242
1243
1244
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1245
          name: nightly_binary_linux_conda_py3.6_cu92
1246
          python_version: '3.6'
1247
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1248
1249
      - binary_conda_upload:
          context: org-member
1250
1251
1252
          filters:
            branches:
              only: nightly
1253
1254
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1255
          name: nightly_binary_linux_conda_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1256
          requires:
1257
          - nightly_binary_linux_conda_py3.6_cu92
1258
      - binary_linux_conda:
1259
          cu_version: cu101
1260
1261
1262
          filters:
            branches:
              only: nightly
1263
          name: nightly_binary_linux_conda_py3.6_cu101
1264
          python_version: '3.6'
1265
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1266
1267
      - binary_conda_upload:
          context: org-member
1268
1269
1270
          filters:
            branches:
              only: nightly
1271
1272
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1273
          name: nightly_binary_linux_conda_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1274
          requires:
1275
          - nightly_binary_linux_conda_py3.6_cu101
Francisco Massa's avatar
Francisco Massa committed
1276
      - binary_linux_conda:
1277
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1278
1279
1280
          filters:
            branches:
              only: nightly
1281
          name: nightly_binary_linux_conda_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1282
          python_version: '3.6'
1283
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1284
1285
1286
1287
1288
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1289
1290
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1291
          name: nightly_binary_linux_conda_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1292
          requires:
1293
          - nightly_binary_linux_conda_py3.6_cu102
1294
      - binary_linux_conda:
1295
          cu_version: cpu
1296
1297
1298
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1299
          name: nightly_binary_linux_conda_py3.7_cpu
1300
          python_version: '3.7'
1301
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1302
1303
      - binary_conda_upload:
          context: org-member
1304
1305
1306
          filters:
            branches:
              only: nightly
1307
1308
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1309
          name: nightly_binary_linux_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1310
          requires:
1311
          - nightly_binary_linux_conda_py3.7_cpu
1312
      - binary_linux_conda:
1313
          cu_version: cu92
1314
1315
1316
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1317
          name: nightly_binary_linux_conda_py3.7_cu92
1318
          python_version: '3.7'
1319
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1320
1321
      - binary_conda_upload:
          context: org-member
1322
1323
1324
          filters:
            branches:
              only: nightly
1325
1326
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1327
          name: nightly_binary_linux_conda_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1328
          requires:
1329
          - nightly_binary_linux_conda_py3.7_cu92
1330
      - binary_linux_conda:
1331
          cu_version: cu101
1332
1333
1334
          filters:
            branches:
              only: nightly
1335
          name: nightly_binary_linux_conda_py3.7_cu101
1336
          python_version: '3.7'
1337
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1338
1339
      - binary_conda_upload:
          context: org-member
1340
1341
1342
          filters:
            branches:
              only: nightly
1343
1344
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1345
          name: nightly_binary_linux_conda_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1346
          requires:
1347
          - nightly_binary_linux_conda_py3.7_cu101
Francisco Massa's avatar
Francisco Massa committed
1348
      - binary_linux_conda:
1349
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1350
1351
1352
          filters:
            branches:
              only: nightly
1353
          name: nightly_binary_linux_conda_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1354
          python_version: '3.7'
1355
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1356
1357
1358
1359
1360
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1361
1362
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1363
          name: nightly_binary_linux_conda_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1364
          requires:
1365
          - nightly_binary_linux_conda_py3.7_cu102
1366
1367
1368
1369
1370
1371
1372
      - binary_linux_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_linux_conda_py3.8_cpu
          python_version: '3.8'
1373
          wheel_docker_image: pytorch/manylinux-cuda102
1374
1375
1376
1377
1378
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1379
1380
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
          name: nightly_binary_linux_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cpu
      - binary_linux_conda:
          cu_version: cu92
          filters:
            branches:
              only: nightly
          name: nightly_binary_linux_conda_py3.8_cu92
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda92
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1397
1398
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1399
1400
1401
1402
          name: nightly_binary_linux_conda_py3.8_cu92_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cu92
      - binary_linux_conda:
1403
          cu_version: cu101
1404
1405
1406
          filters:
            branches:
              only: nightly
1407
          name: nightly_binary_linux_conda_py3.8_cu101
1408
          python_version: '3.8'
1409
          wheel_docker_image: pytorch/manylinux-cuda101
1410
1411
1412
1413
1414
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1415
1416
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1417
          name: nightly_binary_linux_conda_py3.8_cu101_upload
1418
          requires:
1419
          - nightly_binary_linux_conda_py3.8_cu101
1420
      - binary_linux_conda:
1421
          cu_version: cu102
1422
1423
1424
          filters:
            branches:
              only: nightly
1425
          name: nightly_binary_linux_conda_py3.8_cu102
1426
          python_version: '3.8'
1427
          wheel_docker_image: pytorch/manylinux-cuda102
1428
1429
1430
1431
1432
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1433
1434
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1435
          name: nightly_binary_linux_conda_py3.8_cu102_upload
1436
          requires:
1437
          - nightly_binary_linux_conda_py3.8_cu102
1438
      - binary_macos_conda:
1439
          cu_version: cpu
1440
1441
1442
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1443
          name: nightly_binary_macos_conda_py3.6_cpu
1444
          python_version: '3.6'
1445
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1446
1447
      - binary_conda_upload:
          context: org-member
1448
1449
1450
          filters:
            branches:
              only: nightly
1451
1452
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1453
          name: nightly_binary_macos_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1454
          requires:
1455
          - nightly_binary_macos_conda_py3.6_cpu
1456
      - binary_macos_conda:
1457
          cu_version: cpu
1458
1459
1460
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1461
          name: nightly_binary_macos_conda_py3.7_cpu
1462
          python_version: '3.7'
1463
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1464
1465
      - binary_conda_upload:
          context: org-member
1466
1467
1468
          filters:
            branches:
              only: nightly
1469
1470
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1471
          name: nightly_binary_macos_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1472
          requires:
1473
1474
1475
1476
1477
1478
1479
1480
          - nightly_binary_macos_conda_py3.7_cpu
      - binary_macos_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_macos_conda_py3.8_cpu
          python_version: '3.8'
1481
          wheel_docker_image: pytorch/manylinux-cuda102
1482
1483
1484
1485
1486
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1487
1488
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1489
1490
          name: nightly_binary_macos_conda_py3.8_cpu_upload
          requires:
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
          - nightly_binary_macos_conda_py3.8_cpu
      - binary_win_conda_release:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.6_cpu
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1504
1505
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1506
1507
1508
1509
          name: nightly_binary_win_conda_py3.6_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.6_cpu
      - binary_win_conda_release:
1510
          cu_version: cu92
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.6_cu92
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1521
1522
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1523
1524
1525
1526
          name: nightly_binary_win_conda_py3.6_cu92_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu92
      - binary_win_conda_release:
1527
          cu_version: cu101
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.6_cu101
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1538
1539
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1540
1541
1542
1543
          name: nightly_binary_win_conda_py3.6_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu101
      - binary_win_conda_release:
1544
          cu_version: cu102
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.6_cu102
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1555
1556
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
          name: nightly_binary_win_conda_py3.6_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu102
      - binary_win_conda_release:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.7_cpu
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1572
1573
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1574
1575
1576
1577
          name: nightly_binary_win_conda_py3.7_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.7_cpu
      - binary_win_conda_release:
1578
          cu_version: cu92
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.7_cu92
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1589
1590
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1591
1592
1593
1594
          name: nightly_binary_win_conda_py3.7_cu92_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu92
      - binary_win_conda_release:
1595
          cu_version: cu101
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.7_cu101
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1606
1607
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1608
1609
1610
1611
          name: nightly_binary_win_conda_py3.7_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu101
      - binary_win_conda_release:
1612
          cu_version: cu102
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.7_cu102
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1623
1624
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
          name: nightly_binary_win_conda_py3.7_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu102
      - binary_win_conda_release:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.8_cpu
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1640
1641
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1642
1643
1644
1645
          name: nightly_binary_win_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.8_cpu
      - binary_win_conda_release:
1646
          cu_version: cu92
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.8_cu92
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1657
1658
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1659
1660
1661
1662
          name: nightly_binary_win_conda_py3.8_cu92_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu92
      - binary_win_conda_release:
1663
          cu_version: cu101
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.8_cu101
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1674
1675
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1676
1677
1678
1679
          name: nightly_binary_win_conda_py3.8_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu101
      - binary_win_conda_release:
1680
          cu_version: cu102
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
          filters:
            branches:
              only: nightly
          name: nightly_binary_win_conda_py3.8_cu102
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1691
1692
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1693
1694
1695
          name: nightly_binary_win_conda_py3.8_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu102