config.yml 54 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

Francisco Massa's avatar
Francisco Massa committed
9
orbs:
10
  win: circleci/windows@2.0.0
Francisco Massa's avatar
Francisco Massa committed
11

12
13
14
15
16
17
18
executors:
  windows-gpu-prototype:
    machine:
      resource_class: windows.gpu.small.prototype
      image: windows-server-2019-nvidia:201908-28
      shell: bash.exe

19
20
21
22
23
commands:
  checkout_merge:
    description: "checkout merge branch"
    steps:
      - checkout
24
25
26
27
28
29
30
31
32
#     - 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
33
34
35
36
37
38
39
40
41
42
43
44
  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}
45

46
47
48
49
50
51
52
53
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:
54
      description: "PyTorch version to build against; by default, use a nightly"
55
      type: string
56
      default: ""
57
58
59
60
    # 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
61
62
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
63
64
65
66
67
      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
68
69
70
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
71
      default: "pytorch/manylinux-cuda101"
72
73
74
75
  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
76
    CU_VERSION: << parameters.cu_version >>
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
binary_windows: &binary_windows
  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:
      description: "PyTorch version to build against; by default, use a nightly"
      type: string
      default: ""
    # Don't edit these
    python_version:
      description: "Python version to build against (e.g., 3.7)"
      type: string
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
      type: string
  environment:
    DESIRED_PYTHON: << parameters.python_version >>
    PYTORCH_VERSION: << parameters.pytorch_version >>
    CUDA_VERSION: << parameters.cu_version >>
    USE_SCCACHE: "1"
    VC_YEAR: "2017"

103
jobs:
104
105
106
107
108
109
110
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
111
            pip install --user --progress-bar off jinja2 pyyaml
112
113
114
            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)

115
116
117
118
119
120
121
122
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off flake8 typing
123
124
125
126
127
128
129
130
131
132
133
134
135
            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
            pip install --user --progress-bar off .
            mypy --config-file mypy.ini
136

137
138
139
140
141
142
143
144
145
146
147
  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

148
149
150
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
151
      - image: << parameters.wheel_docker_image >>
152
153
    resource_class: 2xlarge+
    steps:
154
      - checkout_merge
155
156
157
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
158
159
160
161
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
162
163
164
165

  binary_linux_conda:
    <<: *binary_common
    docker:
166
      - image: "pytorch/conda-cuda"
167
    resource_class: 2xlarge+
168
    steps:
169
      - checkout_merge
170
171
172
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
173
174
175
176
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
177
178
      - store_test_results:
          path: build_results/
179

Francisco Massa's avatar
Francisco Massa committed
180
181
182
183
184
185
  binary_linux_conda_cuda:
    <<: *binary_common
    machine:
      image: ubuntu-1604:201903-01
    resource_class: gpu.medium
    steps:
186
    - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
187
188
189
    - run:
        name: Setup environment
        command: |
190
          set -ex
Francisco Massa's avatar
Francisco Massa committed
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212

          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
213
          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
214
215
216
217
218
219
220
221
222
223

          # 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

224
          DRIVER_FN="NVIDIA-Linux-x86_64-440.59.run"
Francisco Massa's avatar
Francisco Massa committed
225
226
227
228
229
230
231
          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: |
232
          set -ex
233
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
234
235
236
237
238
239
          echo Pulling docker image $DOCKER_IMAGE
          docker pull $DOCKER_IMAGE >/dev/null

    - run:
        name: Build and run tests
        command: |
240
          set -ex
Francisco Massa's avatar
Francisco Massa committed
241
242
243

          cd ${HOME}/project/

244
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
245
246
247
248
249
250
251
          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
    executor:
252
      name: win/default
Francisco Massa's avatar
Francisco Massa committed
253
254
      shell: bash.exe
    steps:
255
      - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
256
257
258
      - run:
          command: |
            choco install miniconda3
259
260
261
            (& "C:\tools\miniconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
Francisco Massa's avatar
Francisco Massa committed
262
263
            bash packaging/build_conda.sh
          shell: powershell.exe
264
265
      - store_test_results:
          path: build_results/
Francisco Massa's avatar
Francisco Massa committed
266

267
268
269
270
271
272
273
274
275
276
277
278
279
280
  binary_win_conda_cuda:
    <<: *binary_common
    executor: windows-gpu-prototype
    steps:
      - checkout_merge
      - run:
          command: |
            choco install miniconda3
            (& "C:\tools\miniconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
            bash packaging/build_conda.sh
          shell: powershell.exe

281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
  binary_win_conda_release:
    <<: *binary_windows
    executor:
      name: win/default
      shell: cmd.exe
    steps:
      - checkout_merge
      - run:
          name: Build conda packages
          command: |
            call packaging/windows/internal/build_conda.bat
      - store_artifacts:
          path: packaging/windows/output
      - persist_to_workspace:
          root: packaging/windows/output
          paths:
            - "*"
      - store_test_results:
          path: build_results/

  binary_win_wheel_release:
    <<: *binary_windows
    executor:
      name: win/default
      shell: cmd.exe
    steps:
      - checkout_merge
      - run:
          name: Build wheel packages
          command: |
            call packaging/windows/internal/build_wheels.bat
      - store_artifacts:
          path: packaging/windows/output
      - persist_to_workspace:
          root: packaging/windows/output
          paths:
            - "*"
      - store_test_results:
          path: build_results/

321
322
323
324
325
  binary_macos_wheel:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
326
      - checkout_merge
327
328
329
330
331
332
333
334
335
336
337
      - 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
338
339
340
341
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
342
343
344
345
346
347

  binary_macos_conda:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
348
      - checkout_merge
349
350
351
352
353
354
355
356
357
      - 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
358
359
360
361
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
362
363
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
364
365
366
367
368
369
370
371

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
372
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
373
374
375
376
377
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
378
            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
379
380
381

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
382
383
384
385
    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
386
387
388
389
390
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
391
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
392
393
394
395
396
397
398
399
400
401
      - 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
402
            for pkg in ~/workspace/*.whl; do
403
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
404
            done
405

406

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

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