config.yml 49.4 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
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:
42
      description: "PyTorch version to build against; by default, use a nightly"
43
      type: string
44
      default: ""
45
46
47
48
    # 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
49
50
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
51
52
53
54
55
      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
56
57
58
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
59
      default: "pytorch/manylinux-cuda101"
60
61
62
63
64
  environment:
    PYTHON_VERSION: << parameters.python_version >>
    BUILD_VERSION: << parameters.build_version >>
    PYTORCH_VERSION: << parameters.pytorch_version >>
    UNICODE_ABI: << parameters.unicode_abi >>
Edward Z. Yang's avatar
Edward Z. Yang committed
65
    CU_VERSION: << parameters.cu_version >>
66

67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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"

92
jobs:
93
94
95
96
97
98
99
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
100
            pip install --user --progress-bar off jinja2 pyyaml
101
102
103
            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)

104
105
106
107
108
109
110
111
112
113
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off flake8 typing
            flake8 .

114
115
116
117
118
119
120
121
122
123
124
  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

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

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

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

          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
190
          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
191
192
193
194
195
196
197
198
199
200

          # 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

201
          DRIVER_FN="NVIDIA-Linux-x86_64-440.59.run"
Francisco Massa's avatar
Francisco Massa committed
202
203
204
205
206
207
208
          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: |
209
          set -ex
210
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
211
212
213
214
215
216
          echo Pulling docker image $DOCKER_IMAGE
          docker pull $DOCKER_IMAGE >/dev/null

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

          cd ${HOME}/project/

221
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
222
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
    executor:
229
      name: win/default
Francisco Massa's avatar
Francisco Massa committed
230
231
      shell: bash.exe
    steps:
232
      - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
233
234
235
      - run:
          command: |
            choco install miniconda3
236
237
238
            (& "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
239
240
            bash packaging/build_conda.sh
          shell: powershell.exe
241
242
      - store_test_results:
          path: build_results/
Francisco Massa's avatar
Francisco Massa committed
243

244
245
246
247
248
249
250
251
252
253
254
255
256
257
  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

258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
  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/

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

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

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
354
            anaconda  -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force
Edward Z. Yang's avatar
Edward Z. Yang committed
355
356
357

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
358
359
360
361
    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
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
      - 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
377
378
379
            for pkg in ~/workspace/*.whl; do
              aws s3 cp "$pkg" "s3://pytorch/whl/nightly/<< parameters.subfolder >>" --acl public-read
            done
380

381

382
383
384
385
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
386
      - binary_linux_wheel:
387
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
388
          name: binary_linux_wheel_py3.6_cpu
389
          python_version: '3.6'
390
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
391
      - binary_linux_wheel:
392
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
393
          name: binary_linux_wheel_py3.6_cu92
394
          python_version: '3.6'
395
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
396
397
398
399
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
400
401
402
403
404
405
          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
406
      - binary_linux_wheel:
407
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
408
          name: binary_linux_wheel_py3.7_cpu
409
          python_version: '3.7'
410
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
411
      - binary_linux_wheel:
412
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
413
          name: binary_linux_wheel_py3.7_cu92
414
          python_version: '3.7'
415
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
416
417
418
419
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
420
421
422
423
424
425
          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
426
427
428
429
      - binary_linux_wheel:
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
430
          wheel_docker_image: pytorch/manylinux-cuda102
431
432
433
434
435
436
437
438
439
      - 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'
440
441
442
443
444
445
          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
446
      - binary_macos_wheel:
447
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
448
          name: binary_macos_wheel_py3.6_cpu
449
          python_version: '3.6'
450
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
451
      - binary_macos_wheel:
452
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
453
          name: binary_macos_wheel_py3.7_cpu
454
          python_version: '3.7'
455
          wheel_docker_image: pytorch/manylinux-cuda102
456
457
458
459
      - binary_macos_wheel:
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
460
          wheel_docker_image: pytorch/manylinux-cuda102
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
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
      - 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
539
      - binary_linux_conda:
540
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
541
          name: binary_linux_conda_py3.6_cpu
542
          python_version: '3.6'
543
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
544
      - binary_linux_conda:
545
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
546
          name: binary_linux_conda_py3.6_cu92
547
          python_version: '3.6'
548
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
549
550
551
552
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
553
554
555
556
557
558
          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
559
      - binary_linux_conda:
560
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
561
          name: binary_linux_conda_py3.7_cpu
562
          python_version: '3.7'
563
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
564
      - binary_linux_conda:
565
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
566
          name: binary_linux_conda_py3.7_cu92
567
          python_version: '3.7'
568
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
569
570
571
572
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
573
574
575
576
577
578
          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
579
580
581
582
      - binary_linux_conda:
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
583
          wheel_docker_image: pytorch/manylinux-cuda102
584
585
586
587
588
589
590
591
592
      - 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'
593
594
595
596
597
598
          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
599
      - binary_macos_conda:
600
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
601
          name: binary_macos_conda_py3.6_cpu
602
          python_version: '3.6'
603
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
604
      - binary_macos_conda:
605
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
606
          name: binary_macos_conda_py3.7_cpu
607
          python_version: '3.7'
608
          wheel_docker_image: pytorch/manylinux-cuda102
609
610
611
612
      - binary_macos_conda:
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
613
          wheel_docker_image: pytorch/manylinux-cuda102
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
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
      - 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'
692
      - binary_linux_conda_cuda:
693
694
695
          name: torchvision_linux_py3.8_cu102_cuda
          python_version: "3.8"
          cu_version: "cu102"
Francisco Massa's avatar
Francisco Massa committed
696
697
698
699
      - binary_win_conda:
          name: torchvision_win_py3.6_cpu
          python_version: "3.6"
          cu_version: "cpu"
700
701
702
703
      - binary_win_conda_cuda:
          name: torchvision_win_py3.6_cu101
          python_version: "3.6"
          cu_version: "cu101"
704
      - python_lint
705
      - clang_format
Edward Z. Yang's avatar
Edward Z. Yang committed
706
707
708
709

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