config.yml 49.9 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
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off flake8 typing
112
113
114
115
116
117
118
119
120
121
122
123
124
            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
125

126
127
128
129
130
131
132
133
134
135
136
  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

137
138
139
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
140
      - image: << parameters.wheel_docker_image >>
141
142
    resource_class: 2xlarge+
    steps:
143
      - checkout_merge
144
145
146
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
147
148
149
150
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
151
152
153
154

  binary_linux_conda:
    <<: *binary_common
    docker:
155
      - image: "pytorch/conda-cuda"
156
    resource_class: 2xlarge+
157
    steps:
158
      - checkout_merge
159
160
161
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
162
163
164
165
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
166
167
      - store_test_results:
          path: build_results/
168

Francisco Massa's avatar
Francisco Massa committed
169
170
171
172
173
174
  binary_linux_conda_cuda:
    <<: *binary_common
    machine:
      image: ubuntu-1604:201903-01
    resource_class: gpu.medium
    steps:
175
    - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
176
177
178
    - run:
        name: Setup environment
        command: |
179
          set -ex
Francisco Massa's avatar
Francisco Massa committed
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201

          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
202
          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
203
204
205
206
207
208
209
210
211
212

          # 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

213
          DRIVER_FN="NVIDIA-Linux-x86_64-440.59.run"
Francisco Massa's avatar
Francisco Massa committed
214
215
216
217
218
219
220
          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: |
221
          set -ex
222
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
223
224
225
226
227
228
          echo Pulling docker image $DOCKER_IMAGE
          docker pull $DOCKER_IMAGE >/dev/null

    - run:
        name: Build and run tests
        command: |
229
          set -ex
Francisco Massa's avatar
Francisco Massa committed
230
231
232

          cd ${HOME}/project/

233
          export DOCKER_IMAGE=pytorch/conda-cuda
Francisco Massa's avatar
Francisco Massa committed
234
235
236
237
238
239
240
          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:
241
      name: win/default
Francisco Massa's avatar
Francisco Massa committed
242
243
      shell: bash.exe
    steps:
244
      - checkout_merge
Francisco Massa's avatar
Francisco Massa committed
245
246
247
      - run:
          command: |
            choco install miniconda3
248
249
250
            (& "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
251
252
            bash packaging/build_conda.sh
          shell: powershell.exe
253
254
      - store_test_results:
          path: build_results/
Francisco Massa's avatar
Francisco Massa committed
255

256
257
258
259
260
261
262
263
264
265
266
267
268
269
  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

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
298
299
300
301
302
303
304
305
306
307
308
309
  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/

310
311
312
313
314
  binary_macos_wheel:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
315
      - checkout_merge
316
317
318
319
320
321
322
323
324
325
326
      - 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
327
328
329
330
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
331
332
333
334
335
336

  binary_macos_conda:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
337
      - checkout_merge
338
339
340
341
342
343
344
345
346
      - 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
347
348
349
350
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
351
352
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
353
354
355
356
357
358
359
360
361
362
363
364
365

  # 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
366
            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
367
368
369

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
370
371
372
373
    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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
    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
389
390
391
            for pkg in ~/workspace/*.whl; do
              aws s3 cp "$pkg" "s3://pytorch/whl/nightly/<< parameters.subfolder >>" --acl public-read
            done
392

393

394
395
396
397
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
398
      - binary_linux_wheel:
399
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
400
          name: binary_linux_wheel_py3.6_cpu
401
          python_version: '3.6'
402
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
403
      - binary_linux_wheel:
404
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
405
          name: binary_linux_wheel_py3.6_cu92
406
          python_version: '3.6'
407
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
408
409
410
411
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
412
413
414
415
416
417
          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
418
      - binary_linux_wheel:
419
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
420
          name: binary_linux_wheel_py3.7_cpu
421
          python_version: '3.7'
422
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
423
      - binary_linux_wheel:
424
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
425
          name: binary_linux_wheel_py3.7_cu92
426
          python_version: '3.7'
427
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
428
429
430
431
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
432
433
434
435
436
437
          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
438
439
440
441
      - binary_linux_wheel:
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
442
          wheel_docker_image: pytorch/manylinux-cuda102
443
444
445
446
447
448
449
450
451
      - 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'
452
453
454
455
456
457
          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
458
      - binary_macos_wheel:
459
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
460
          name: binary_macos_wheel_py3.6_cpu
461
          python_version: '3.6'
462
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
463
      - binary_macos_wheel:
464
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
465
          name: binary_macos_wheel_py3.7_cpu
466
          python_version: '3.7'
467
          wheel_docker_image: pytorch/manylinux-cuda102
468
469
470
471
      - binary_macos_wheel:
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
472
          wheel_docker_image: pytorch/manylinux-cuda102
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
539
540
541
542
543
544
545
546
547
548
549
550
      - 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
551
      - binary_linux_conda:
552
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
553
          name: binary_linux_conda_py3.6_cpu
554
          python_version: '3.6'
555
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
556
      - binary_linux_conda:
557
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
558
          name: binary_linux_conda_py3.6_cu92
559
          python_version: '3.6'
560
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
561
562
563
564
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
565
566
567
568
569
570
          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
571
      - binary_linux_conda:
572
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
573
          name: binary_linux_conda_py3.7_cpu
574
          python_version: '3.7'
575
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
576
      - binary_linux_conda:
577
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
578
          name: binary_linux_conda_py3.7_cu92
579
          python_version: '3.7'
580
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
581
582
583
584
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
585
586
587
588
589
590
          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
591
592
593
594
      - binary_linux_conda:
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
595
          wheel_docker_image: pytorch/manylinux-cuda102
596
597
598
599
600
601
602
603
604
      - 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'
605
606
607
608
609
610
          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
611
      - binary_macos_conda:
612
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
613
          name: binary_macos_conda_py3.6_cpu
614
          python_version: '3.6'
615
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
616
      - binary_macos_conda:
617
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
618
          name: binary_macos_conda_py3.7_cpu
619
          python_version: '3.7'
620
          wheel_docker_image: pytorch/manylinux-cuda102
621
622
623
624
      - binary_macos_conda:
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
625
          wheel_docker_image: pytorch/manylinux-cuda102
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
692
693
694
695
696
697
698
699
700
701
702
703
      - 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'
704
      - binary_linux_conda_cuda:
705
706
707
          name: torchvision_linux_py3.8_cu102_cuda
          python_version: "3.8"
          cu_version: "cu102"
Francisco Massa's avatar
Francisco Massa committed
708
709
710
711
      - binary_win_conda:
          name: torchvision_win_py3.6_cpu
          python_version: "3.6"
          cu_version: "cpu"
712
713
714
715
      - binary_win_conda_cuda:
          name: torchvision_win_py3.6_cu101
          python_version: "3.6"
          cu_version: "cu101"
716
      - python_lint
717
      - python_type_check
718
      - clang_format
Edward Z. Yang's avatar
Edward Z. Yang committed
719
720
721
722

  nightly:
    jobs:
      - circleci_consistency
723
      - python_lint
724
      - python_type_check
725
      - clang_format
726
      - binary_linux_wheel:
727
          cu_version: cpu
728
729
730
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
731
          name: nightly_binary_linux_wheel_py3.6_cpu
732
          python_version: '3.6'
733
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
734
735
      - binary_wheel_upload:
          context: org-member
736
737
738
          filters:
            branches:
              only: nightly
739
          name: nightly_binary_linux_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
740
          requires:
741
742
          - nightly_binary_linux_wheel_py3.6_cpu
          subfolder: cpu/
743
      - binary_linux_wheel:
744
          cu_version: cu92
745
746
747
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
748
          name: nightly_binary_linux_wheel_py3.6_cu92
749
          python_version: '3.6'
750
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
751
752
      - binary_wheel_upload:
          context: org-member
753
754
755
          filters:
            branches:
              only: nightly
756
          name: nightly_binary_linux_wheel_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
757
          requires:
758
759
          - nightly_binary_linux_wheel_py3.6_cu92
          subfolder: cu92/
760
      - binary_linux_wheel:
761
          cu_version: cu101
762
763
764
          filters:
            branches:
              only: nightly
765
          name: nightly_binary_linux_wheel_py3.6_cu101
766
          python_version: '3.6'
767
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
768
769
      - binary_wheel_upload:
          context: org-member
770
771
772
          filters:
            branches:
              only: nightly
773
          name: nightly_binary_linux_wheel_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
774
          requires:
775
776
          - nightly_binary_linux_wheel_py3.6_cu101
          subfolder: cu101/
Francisco Massa's avatar
Francisco Massa committed
777
      - binary_linux_wheel:
778
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
779
780
781
          filters:
            branches:
              only: nightly
782
          name: nightly_binary_linux_wheel_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
783
          python_version: '3.6'
784
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
785
786
787
788
789
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
790
          name: nightly_binary_linux_wheel_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
791
          requires:
792
793
          - nightly_binary_linux_wheel_py3.6_cu102
          subfolder: cu102/
794
      - binary_linux_wheel:
795
          cu_version: cpu
796
797
798
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
799
          name: nightly_binary_linux_wheel_py3.7_cpu
800
          python_version: '3.7'
801
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
802
803
      - binary_wheel_upload:
          context: org-member
804
805
806
          filters:
            branches:
              only: nightly
807
          name: nightly_binary_linux_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
808
          requires:
809
810
          - nightly_binary_linux_wheel_py3.7_cpu
          subfolder: cpu/
811
      - binary_linux_wheel:
812
          cu_version: cu92
813
814
815
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
816
          name: nightly_binary_linux_wheel_py3.7_cu92
817
          python_version: '3.7'
818
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
819
820
      - binary_wheel_upload:
          context: org-member
821
822
823
          filters:
            branches:
              only: nightly
824
          name: nightly_binary_linux_wheel_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
825
          requires:
826
827
          - nightly_binary_linux_wheel_py3.7_cu92
          subfolder: cu92/
828
      - binary_linux_wheel:
829
          cu_version: cu101
830
831
832
          filters:
            branches:
              only: nightly
833
          name: nightly_binary_linux_wheel_py3.7_cu101
834
          python_version: '3.7'
835
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
836
837
      - binary_wheel_upload:
          context: org-member
838
839
840
          filters:
            branches:
              only: nightly
841
          name: nightly_binary_linux_wheel_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
842
          requires:
843
844
          - nightly_binary_linux_wheel_py3.7_cu101
          subfolder: cu101/
Francisco Massa's avatar
Francisco Massa committed
845
      - binary_linux_wheel:
846
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
847
848
849
          filters:
            branches:
              only: nightly
850
          name: nightly_binary_linux_wheel_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
851
          python_version: '3.7'
852
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
853
854
855
856
857
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
858
          name: nightly_binary_linux_wheel_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
859
          requires:
860
861
          - nightly_binary_linux_wheel_py3.7_cu102
          subfolder: cu102/
862
863
864
865
866
867
868
      - binary_linux_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
869
          wheel_docker_image: pytorch/manylinux-cuda102
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
      - 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:
897
          cu_version: cu101
898
899
900
          filters:
            branches:
              only: nightly
901
          name: nightly_binary_linux_wheel_py3.8_cu101
902
          python_version: '3.8'
903
          wheel_docker_image: pytorch/manylinux-cuda101
904
905
906
907
908
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
909
          name: nightly_binary_linux_wheel_py3.8_cu101_upload
910
          requires:
911
912
          - nightly_binary_linux_wheel_py3.8_cu101
          subfolder: cu101/
913
      - binary_linux_wheel:
914
          cu_version: cu102
915
916
917
          filters:
            branches:
              only: nightly
918
          name: nightly_binary_linux_wheel_py3.8_cu102
919
          python_version: '3.8'
920
          wheel_docker_image: pytorch/manylinux-cuda102
921
922
923
924
925
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
926
          name: nightly_binary_linux_wheel_py3.8_cu102_upload
927
          requires:
928
929
          - nightly_binary_linux_wheel_py3.8_cu102
          subfolder: cu102/
930
      - binary_macos_wheel:
931
          cu_version: cpu
932
933
934
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
935
          name: nightly_binary_macos_wheel_py3.6_cpu
936
          python_version: '3.6'
937
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
938
939
      - binary_wheel_upload:
          context: org-member
940
941
942
          filters:
            branches:
              only: nightly
943
          name: nightly_binary_macos_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
944
          requires:
945
946
          - nightly_binary_macos_wheel_py3.6_cpu
          subfolder: ''
947
      - binary_macos_wheel:
948
          cu_version: cpu
949
950
951
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
952
          name: nightly_binary_macos_wheel_py3.7_cpu
953
          python_version: '3.7'
954
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
955
956
      - binary_wheel_upload:
          context: org-member
957
958
959
          filters:
            branches:
              only: nightly
960
          name: nightly_binary_macos_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
961
          requires:
962
963
          - nightly_binary_macos_wheel_py3.7_cpu
          subfolder: ''
964
965
966
967
968
969
970
      - binary_macos_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
971
          wheel_docker_image: pytorch/manylinux-cuda102
972
973
974
975
976
977
978
979
980
      - 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: ''
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
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
      - 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/
1173
      - binary_linux_conda:
1174
          cu_version: cpu
1175
1176
1177
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1178
          name: nightly_binary_linux_conda_py3.6_cpu
1179
          python_version: '3.6'
1180
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1181
1182
      - binary_conda_upload:
          context: org-member
1183
1184
1185
          filters:
            branches:
              only: nightly
1186
          name: nightly_binary_linux_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1187
          requires:
1188
          - nightly_binary_linux_conda_py3.6_cpu
1189
      - binary_linux_conda:
1190
          cu_version: cu92
1191
1192
1193
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1194
          name: nightly_binary_linux_conda_py3.6_cu92
1195
          python_version: '3.6'
1196
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1197
1198
      - binary_conda_upload:
          context: org-member
1199
1200
1201
          filters:
            branches:
              only: nightly
1202
          name: nightly_binary_linux_conda_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1203
          requires:
1204
          - nightly_binary_linux_conda_py3.6_cu92
1205
      - binary_linux_conda:
1206
          cu_version: cu101
1207
1208
1209
          filters:
            branches:
              only: nightly
1210
          name: nightly_binary_linux_conda_py3.6_cu101
1211
          python_version: '3.6'
1212
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1213
1214
      - binary_conda_upload:
          context: org-member
1215
1216
1217
          filters:
            branches:
              only: nightly
1218
          name: nightly_binary_linux_conda_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1219
          requires:
1220
          - nightly_binary_linux_conda_py3.6_cu101
Francisco Massa's avatar
Francisco Massa committed
1221
      - binary_linux_conda:
1222
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1223
1224
1225
          filters:
            branches:
              only: nightly
1226
          name: nightly_binary_linux_conda_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1227
          python_version: '3.6'
1228
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1229
1230
1231
1232
1233
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1234
          name: nightly_binary_linux_conda_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1235
          requires:
1236
          - nightly_binary_linux_conda_py3.6_cu102
1237
      - binary_linux_conda:
1238
          cu_version: cpu
1239
1240
1241
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1242
          name: nightly_binary_linux_conda_py3.7_cpu
1243
          python_version: '3.7'
1244
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1245
1246
      - binary_conda_upload:
          context: org-member
1247
1248
1249
          filters:
            branches:
              only: nightly
1250
          name: nightly_binary_linux_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1251
          requires:
1252
          - nightly_binary_linux_conda_py3.7_cpu
1253
      - binary_linux_conda:
1254
          cu_version: cu92
1255
1256
1257
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1258
          name: nightly_binary_linux_conda_py3.7_cu92
1259
          python_version: '3.7'
1260
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1261
1262
      - binary_conda_upload:
          context: org-member
1263
1264
1265
          filters:
            branches:
              only: nightly
1266
          name: nightly_binary_linux_conda_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1267
          requires:
1268
          - nightly_binary_linux_conda_py3.7_cu92
1269
      - binary_linux_conda:
1270
          cu_version: cu101
1271
1272
1273
          filters:
            branches:
              only: nightly
1274
          name: nightly_binary_linux_conda_py3.7_cu101
1275
          python_version: '3.7'
1276
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1277
1278
      - binary_conda_upload:
          context: org-member
1279
1280
1281
          filters:
            branches:
              only: nightly
1282
          name: nightly_binary_linux_conda_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1283
          requires:
1284
          - nightly_binary_linux_conda_py3.7_cu101
Francisco Massa's avatar
Francisco Massa committed
1285
      - binary_linux_conda:
1286
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1287
1288
1289
          filters:
            branches:
              only: nightly
1290
          name: nightly_binary_linux_conda_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1291
          python_version: '3.7'
1292
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1293
1294
1295
1296
1297
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1298
          name: nightly_binary_linux_conda_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1299
          requires:
1300
          - nightly_binary_linux_conda_py3.7_cu102
1301
1302
1303
1304
1305
1306
1307
      - binary_linux_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
          name: nightly_binary_linux_conda_py3.8_cpu
          python_version: '3.8'
1308
          wheel_docker_image: pytorch/manylinux-cuda102
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
      - 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:
1334
          cu_version: cu101
1335
1336
1337
          filters:
            branches:
              only: nightly
1338
          name: nightly_binary_linux_conda_py3.8_cu101
1339
          python_version: '3.8'
1340
          wheel_docker_image: pytorch/manylinux-cuda101
1341
1342
1343
1344
1345
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1346
          name: nightly_binary_linux_conda_py3.8_cu101_upload
1347
          requires:
1348
          - nightly_binary_linux_conda_py3.8_cu101
1349
      - binary_linux_conda:
1350
          cu_version: cu102
1351
1352
1353
          filters:
            branches:
              only: nightly
1354
          name: nightly_binary_linux_conda_py3.8_cu102
1355
          python_version: '3.8'
1356
          wheel_docker_image: pytorch/manylinux-cuda102
1357
1358
1359
1360
1361
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1362
          name: nightly_binary_linux_conda_py3.8_cu102_upload
1363
          requires:
1364
          - nightly_binary_linux_conda_py3.8_cu102
1365
      - binary_macos_conda:
1366
          cu_version: cpu
1367
1368
1369
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1370
          name: nightly_binary_macos_conda_py3.6_cpu
1371
          python_version: '3.6'
1372
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1373
1374
      - binary_conda_upload:
          context: org-member
1375
1376
1377
          filters:
            branches:
              only: nightly
1378
          name: nightly_binary_macos_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1379
          requires:
1380
          - nightly_binary_macos_conda_py3.6_cpu
1381
      - binary_macos_conda:
1382
          cu_version: cpu
1383
1384
1385
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
1386
          name: nightly_binary_macos_conda_py3.7_cpu
1387
          python_version: '3.7'
1388
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1389
1390
      - binary_conda_upload:
          context: org-member
1391
1392
1393
          filters:
            branches:
              only: nightly
1394
          name: nightly_binary_macos_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1395
          requires:
1396
1397
1398
1399
1400
1401
1402
1403
          - 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'
1404
          wheel_docker_image: pytorch/manylinux-cuda102
1405
1406
1407
1408
1409
1410
1411
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
          name: nightly_binary_macos_conda_py3.8_cpu_upload
          requires:
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
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
          - 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