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

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

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

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

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

49
50
51
52
53
54
55
56
binary_common: &binary_common
  parameters:
    # Edit these defaults to do a release`
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
57
      description: "PyTorch version to build against; by default, use a nightly"
58
      type: string
59
      default: ""
60
61
62
63
    # Don't edit these
    python_version:
      description: "Python version to build against (e.g., 3.7)"
      type: string
Edward Z. Yang's avatar
Edward Z. Yang committed
64
65
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
66
      type: string
guyang3532's avatar
guyang3532 committed
67
      default: "cpu"
68
69
70
71
    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
72
73
74
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
75
      default: "pytorch/manylinux-cuda101"
76
77
78
79
  environment:
    PYTHON_VERSION: << parameters.python_version >>
    PYTORCH_VERSION: << parameters.pytorch_version >>
    UNICODE_ABI: << parameters.unicode_abi >>
Edward Z. Yang's avatar
Edward Z. Yang committed
80
    CU_VERSION: << parameters.cu_version >>
81

guyang3532's avatar
guyang3532 committed
82
83
84
85
86
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: torchvision/smoke_test:latest

87
jobs:
88
89
90
91
92
93
94
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
95
            pip install --user --progress-bar off jinja2 pyyaml
96
97
98
            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)

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

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
116
117
            sudo apt-get update -y
            sudo apt install -y libturbojpeg-dev
118
119
            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
120
            pip install --user --progress-bar off --editable .
121
            mypy --config-file mypy.ini
122

123
124
125
126
127
128
129
130
131
132
133
  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

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

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

Francisco Massa's avatar
Francisco Massa committed
166
  binary_win_conda:
167
168
    <<: *binary_common
    executor: windows-cpu
169
170
171
172
173
    steps:
      - checkout_merge
      - run:
          name: Build conda packages
          command: |
174
175
176
177
178
179
180
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate base
            conda install -yq conda-build "conda-package-handling!=1.5.0"
            packaging/build_conda.sh
181
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
182
      - store_artifacts:
183
          path: C:/tools/miniconda3/conda-bld/win-64
184
      - persist_to_workspace:
185
          root: C:/tools/miniconda3/conda-bld/win-64
186
187
188
189
190
          paths:
            - "*"
      - store_test_results:
          path: build_results/

191
  binary_win_wheel:
192
193
    <<: *binary_common
    executor: windows-cpu
194
195
196
197
198
    steps:
      - checkout_merge
      - run:
          name: Build wheel packages
          command: |
199
200
201
202
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
203
      - store_artifacts:
204
          path: dist
205
      - persist_to_workspace:
206
          root: dist
207
208
209
210
211
          paths:
            - "*"
      - store_test_results:
          path: build_results/

212
213
214
  binary_macos_wheel:
    <<: *binary_common
    macos:
215
      xcode: "9.4.1"
216
    steps:
217
      - checkout_merge
218
219
220
221
222
223
224
225
226
227
228
      - 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
229
230
231
232
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
233
234
235
236

  binary_macos_conda:
    <<: *binary_common
    macos:
237
      xcode: "9.4.1"
238
    steps:
239
      - checkout_merge
240
241
242
243
244
245
246
247
248
      - 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
249
250
251
252
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
253
254
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
255
256
257
258
259
260
261
262

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
263
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
264
265
266
267
268
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
269
            anaconda  -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u "pytorch-${UPLOAD_CHANNEL}" --label main --no-progress --force
Edward Z. Yang's avatar
Edward Z. Yang committed
270
271
272

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
273
274
275
276
    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
277
278
279
280
281
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
282
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
283
284
285
286
287
288
289
290
291
292
      - 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
293
            for pkg in ~/workspace/*.whl; do
294
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
295
            done
296

guyang3532's avatar
guyang3532 committed
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          name: install binaries
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_linux_pip:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          name: install binaries
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_docker_image_build:
    machine:
      image: ubuntu-1604:201903-01
    resource_class: large
    environment:
      image_name: torchvision/smoke_test
    steps:
      - checkout
      - run:
          name: Build and push Docker image
          no_output_timeout: "1h"
          command: |
            set +x
            echo "${DOCKER_HUB_TOKEN}" | docker login --username "${DOCKER_HUB_USERNAME}" --password-stdin
            set -x
            cd .circleci/smoke_test/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
            docker tag ${image_name}:${CIRCLE_WORKFLOW_ID} ${image_name}:latest
            docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
            docker push ${image_name}:latest

  smoke_test_win_conda:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda env remove -n python${PYTHON_VERSION} || true
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
            conda activate python${PYTHON_VERSION}
            conda install Pillow
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_win_pip:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda env remove -n python${PYTHON_VERSION} || true
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
            conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
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
539
540
541
542
543
544
545
546
547
548
549
550
551
552
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - save_cache:

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

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/linux/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/linux/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_linux_gpu:
    <<: *binary_common
    machine:
      image: ubuntu-1604-cuda-10.1:201909-23
    resource_class: gpu.small
    environment:
      image_name: "pytorch/manylinux-cuda101"
    steps:
      - checkout
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
      - save_cache:

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

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/install.sh
      - run:
          name: Run tests
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
      - run:
          name: Post Process
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/windows/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/windows/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/windows/scripts/post_process.sh
      - store_test_results:
          path: test-results

  unittest_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    environment:
      CUDA_VERSION: "10.1"
    steps:
      - checkout
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
          command: .circleci/unittest/windows/scripts/install.sh
      - run:
          name: Run tests
          command: .circleci/unittest/windows/scripts/run_test.sh
      - run:
          name: Post process
          command: .circleci/unittest/windows/scripts/post_process.sh
      - store_test_results:
          path: test-results
553

554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
      - run:
          name: Setup conda
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - run: packaging/build_cmake.sh

  cmake_linux_gpu:
    <<: *binary_common
    machine:
      image: ubuntu-1604-cuda-10.1:201909-23
    resource_class: gpu.small
    environment:
      PYTHON_VERSION: << parameters.python_version >>
      PYTORCH_VERSION: << parameters.pytorch_version >>
      UNICODE_ABI: << parameters.unicode_abi >>
      CU_VERSION: << parameters.cu_version >>
    steps:
      - checkout_merge
      - run:
          name: Setup conda
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> .circleci/unittest/linux/scripts/setup_env.sh
      - run:
          name: Build torchvision C++ distribution and test
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh

  cmake_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
      - checkout_merge
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build cmake
            packaging/build_cmake.sh

  cmake_windows_cpu:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - checkout_merge
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/build_cmake.sh

  cmake_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    steps:
      - checkout_merge
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

624
625
626
627
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
628
      - binary_linux_wheel:
629
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
630
          name: binary_linux_wheel_py3.6_cpu
631
          python_version: '3.6'
632
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
633
      - binary_linux_wheel:
634
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
635
          name: binary_linux_wheel_py3.6_cu92
636
          python_version: '3.6'
637
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
638
639
640
641
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
642
643
644
645
646
647
          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
648
      - binary_linux_wheel:
649
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
650
          name: binary_linux_wheel_py3.7_cpu
651
          python_version: '3.7'
652
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
653
      - binary_linux_wheel:
654
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
655
          name: binary_linux_wheel_py3.7_cu92
656
          python_version: '3.7'
657
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
658
659
660
661
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
662
663
664
665
666
667
          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
668
669
670
671
      - binary_linux_wheel:
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
672
          wheel_docker_image: pytorch/manylinux-cuda102
673
674
675
676
677
678
679
680
681
      - 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'
682
683
684
685
686
687
          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
688
      - binary_macos_wheel:
689
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
690
          name: binary_macos_wheel_py3.6_cpu
691
          python_version: '3.6'
692
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
693
      - binary_macos_wheel:
694
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
695
          name: binary_macos_wheel_py3.7_cpu
696
          python_version: '3.7'
697
          wheel_docker_image: pytorch/manylinux-cuda102
698
699
700
701
      - binary_macos_wheel:
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
702
          wheel_docker_image: pytorch/manylinux-cuda102
703
      - binary_win_wheel:
704
705
706
707
          cu_version: cpu
          filters:
            branches:
              only: master
708
709
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
710
711
          name: binary_win_wheel_py3.6_cpu
          python_version: '3.6'
712
      - binary_win_wheel:
713
          cu_version: cu101
714
715
716
          filters:
            branches:
              only: master
717
718
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
719
720
          name: binary_win_wheel_py3.6_cu101
          python_version: '3.6'
721
      - binary_win_wheel:
722
          cu_version: cu102
723
724
725
          filters:
            branches:
              only: master
726
727
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
728
729
          name: binary_win_wheel_py3.6_cu102
          python_version: '3.6'
730
      - binary_win_wheel:
731
732
733
734
          cu_version: cpu
          filters:
            branches:
              only: master
735
736
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
737
738
          name: binary_win_wheel_py3.7_cpu
          python_version: '3.7'
739
      - binary_win_wheel:
740
          cu_version: cu101
741
742
743
          filters:
            branches:
              only: master
744
745
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
746
747
          name: binary_win_wheel_py3.7_cu101
          python_version: '3.7'
748
      - binary_win_wheel:
749
          cu_version: cu102
750
751
752
          filters:
            branches:
              only: master
753
754
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
755
756
          name: binary_win_wheel_py3.7_cu102
          python_version: '3.7'
757
      - binary_win_wheel:
758
759
760
          cu_version: cpu
          name: binary_win_wheel_py3.8_cpu
          python_version: '3.8'
761
      - binary_win_wheel:
762
          cu_version: cu101
763
764
765
          filters:
            branches:
              only: master
766
767
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
768
769
          name: binary_win_wheel_py3.8_cu101
          python_version: '3.8'
770
      - binary_win_wheel:
771
          cu_version: cu102
772
773
          name: binary_win_wheel_py3.8_cu102
          python_version: '3.8'
Edward Z. Yang's avatar
Edward Z. Yang committed
774
      - binary_linux_conda:
775
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
776
          name: binary_linux_conda_py3.6_cpu
777
          python_version: '3.6'
778
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
779
      - binary_linux_conda:
780
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
781
          name: binary_linux_conda_py3.6_cu92
782
          python_version: '3.6'
783
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
784
785
786
787
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
788
789
790
791
792
793
          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
794
      - binary_linux_conda:
795
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
796
          name: binary_linux_conda_py3.7_cpu
797
          python_version: '3.7'
798
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
799
      - binary_linux_conda:
800
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
801
          name: binary_linux_conda_py3.7_cu92
802
          python_version: '3.7'
803
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
804
805
806
807
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
808
809
810
811
812
813
          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
814
815
816
817
      - binary_linux_conda:
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
818
          wheel_docker_image: pytorch/manylinux-cuda102
819
820
821
822
823
824
825
826
827
      - 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'
828
829
830
831
832
833
          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
834
      - binary_macos_conda:
835
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
836
          name: binary_macos_conda_py3.6_cpu
837
          python_version: '3.6'
838
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
839
      - binary_macos_conda:
840
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
841
          name: binary_macos_conda_py3.7_cpu
842
          python_version: '3.7'
843
          wheel_docker_image: pytorch/manylinux-cuda102
844
845
846
847
      - binary_macos_conda:
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
848
          wheel_docker_image: pytorch/manylinux-cuda102
849
      - binary_win_conda:
850
851
852
853
          cu_version: cpu
          filters:
            branches:
              only: master
854
855
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
856
857
          name: binary_win_conda_py3.6_cpu
          python_version: '3.6'
858
      - binary_win_conda:
859
          cu_version: cu101
860
861
862
          filters:
            branches:
              only: master
863
864
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
865
866
          name: binary_win_conda_py3.6_cu101
          python_version: '3.6'
867
      - binary_win_conda:
868
          cu_version: cu102
869
870
871
          filters:
            branches:
              only: master
872
873
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
874
875
          name: binary_win_conda_py3.6_cu102
          python_version: '3.6'
876
      - binary_win_conda:
877
878
879
880
          cu_version: cpu
          filters:
            branches:
              only: master
881
882
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
883
884
          name: binary_win_conda_py3.7_cpu
          python_version: '3.7'
885
      - binary_win_conda:
886
          cu_version: cu101
887
888
889
          filters:
            branches:
              only: master
890
891
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
892
893
          name: binary_win_conda_py3.7_cu101
          python_version: '3.7'
894
      - binary_win_conda:
895
          cu_version: cu102
896
897
898
          filters:
            branches:
              only: master
899
900
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
901
902
          name: binary_win_conda_py3.7_cu102
          python_version: '3.7'
903
      - binary_win_conda:
904
905
906
          cu_version: cpu
          name: binary_win_conda_py3.8_cpu
          python_version: '3.8'
907
      - binary_win_conda:
908
          cu_version: cu101
909
910
911
          filters:
            branches:
              only: master
912
913
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
914
915
          name: binary_win_conda_py3.8_cu101
          python_version: '3.8'
916
      - binary_win_conda:
917
          cu_version: cu102
918
919
          name: binary_win_conda_py3.8_cu102
          python_version: '3.8'
920
      - python_lint
921
      - python_type_check
922
      - clang_format
Edward Z. Yang's avatar
Edward Z. Yang committed
923

924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
  unittest:
    jobs:
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.6
          python_version: '3.6'
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.7
          python_version: '3.7'
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.8
          python_version: '3.8'
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.6
          python_version: '3.6'
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.7
          python_version: '3.7'
      - unittest_linux_gpu:
          cu_version: cu101
          name: unittest_linux_gpu_py3.8
          python_version: '3.8'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.6
          python_version: '3.6'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.7
          python_version: '3.7'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.8
          python_version: '3.8'
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.6
          python_version: '3.6'
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.7
          python_version: '3.7'
      - unittest_windows_gpu:
          cu_version: cu101
          name: unittest_windows_gpu_py3.8
          python_version: '3.8'
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014

  cmake:
    jobs:
      - cmake_linux_cpu:
          cu_version: cpu
          name: cmake_linux_cpu
          python_version: '3.8'
      - cmake_linux_gpu:
          cu_version: cu101
          name: cmake_linux_gpu
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda101
      - cmake_windows_cpu:
          cu_version: cpu
          name: cmake_windows_cpu
          python_version: '3.8'
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

Edward Z. Yang's avatar
Edward Z. Yang committed
1015
1016
1017
  nightly:
    jobs:
      - circleci_consistency
1018
      - python_lint
1019
      - python_type_check
1020
      - clang_format
1021
      - binary_linux_wheel:
1022
          cu_version: cpu
1023
1024
1025
          filters:
            branches:
              only: nightly
1026
1027
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1028
          name: nightly_binary_linux_wheel_py3.6_cpu
1029
          python_version: '3.6'
1030
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1031
1032
      - binary_wheel_upload:
          context: org-member
1033
1034
1035
          filters:
            branches:
              only: nightly
1036
1037
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1038
          name: nightly_binary_linux_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1039
          requires:
1040
1041
          - nightly_binary_linux_wheel_py3.6_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1042
1043
1044
1045
1046
1047
1048
1049
1050
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cpu_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cpu_upload
1051
      - binary_linux_wheel:
1052
          cu_version: cu92
1053
1054
1055
          filters:
            branches:
              only: nightly
1056
1057
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1058
          name: nightly_binary_linux_wheel_py3.6_cu92
1059
          python_version: '3.6'
1060
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1061
1062
      - binary_wheel_upload:
          context: org-member
1063
1064
1065
          filters:
            branches:
              only: nightly
1066
1067
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1068
          name: nightly_binary_linux_wheel_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1069
          requires:
1070
1071
          - nightly_binary_linux_wheel_py3.6_cu92
          subfolder: cu92/
guyang3532's avatar
guyang3532 committed
1072
1073
1074
1075
1076
1077
1078
1079
1080
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cu92_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cu92_upload
1081
      - binary_linux_wheel:
1082
          cu_version: cu101
1083
1084
1085
          filters:
            branches:
              only: nightly
1086
1087
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1088
          name: nightly_binary_linux_wheel_py3.6_cu101
1089
          python_version: '3.6'
1090
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1091
1092
      - binary_wheel_upload:
          context: org-member
1093
1094
1095
          filters:
            branches:
              only: nightly
1096
1097
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1098
          name: nightly_binary_linux_wheel_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1099
          requires:
1100
1101
          - nightly_binary_linux_wheel_py3.6_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1102
1103
1104
1105
1106
1107
1108
1109
1110
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cu101_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cu101_upload
Francisco Massa's avatar
Francisco Massa committed
1111
      - binary_linux_wheel:
1112
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1113
1114
1115
          filters:
            branches:
              only: nightly
1116
1117
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1118
          name: nightly_binary_linux_wheel_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1119
          python_version: '3.6'
1120
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1121
1122
1123
1124
1125
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1126
1127
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1128
          name: nightly_binary_linux_wheel_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1129
          requires:
1130
1131
          - nightly_binary_linux_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1132
1133
1134
1135
1136
1137
1138
1139
1140
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cu102_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cu102_upload
1141
      - binary_linux_wheel:
1142
          cu_version: cpu
1143
1144
1145
          filters:
            branches:
              only: nightly
1146
1147
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1148
          name: nightly_binary_linux_wheel_py3.7_cpu
1149
          python_version: '3.7'
1150
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1151
1152
      - binary_wheel_upload:
          context: org-member
1153
1154
1155
          filters:
            branches:
              only: nightly
1156
1157
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1158
          name: nightly_binary_linux_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1159
          requires:
1160
1161
          - nightly_binary_linux_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1162
1163
1164
1165
1166
1167
1168
1169
1170
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cpu_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cpu_upload
1171
      - binary_linux_wheel:
1172
          cu_version: cu92
1173
1174
1175
          filters:
            branches:
              only: nightly
1176
1177
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1178
          name: nightly_binary_linux_wheel_py3.7_cu92
1179
          python_version: '3.7'
1180
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1181
1182
      - binary_wheel_upload:
          context: org-member
1183
1184
1185
          filters:
            branches:
              only: nightly
1186
1187
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1188
          name: nightly_binary_linux_wheel_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1189
          requires:
1190
1191
          - nightly_binary_linux_wheel_py3.7_cu92
          subfolder: cu92/
guyang3532's avatar
guyang3532 committed
1192
1193
1194
1195
1196
1197
1198
1199
1200
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cu92_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cu92_upload
1201
      - binary_linux_wheel:
1202
          cu_version: cu101
1203
1204
1205
          filters:
            branches:
              only: nightly
1206
1207
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1208
          name: nightly_binary_linux_wheel_py3.7_cu101
1209
          python_version: '3.7'
1210
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1211
1212
      - binary_wheel_upload:
          context: org-member
1213
1214
1215
          filters:
            branches:
              only: nightly
1216
1217
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1218
          name: nightly_binary_linux_wheel_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1219
          requires:
1220
1221
          - nightly_binary_linux_wheel_py3.7_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1222
1223
1224
1225
1226
1227
1228
1229
1230
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cu101_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cu101_upload
Francisco Massa's avatar
Francisco Massa committed
1231
      - binary_linux_wheel:
1232
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1233
1234
1235
          filters:
            branches:
              only: nightly
1236
1237
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1238
          name: nightly_binary_linux_wheel_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1239
          python_version: '3.7'
1240
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1241
1242
1243
1244
1245
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1246
1247
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1248
          name: nightly_binary_linux_wheel_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1249
          requires:
1250
1251
          - nightly_binary_linux_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1252
1253
1254
1255
1256
1257
1258
1259
1260
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cu102_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cu102_upload
1261
1262
1263
1264
1265
      - binary_linux_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
1266
1267
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1268
1269
          name: nightly_binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
1270
          wheel_docker_image: pytorch/manylinux-cuda102
1271
1272
1273
1274
1275
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1276
1277
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1278
1279
1280
1281
          name: nightly_binary_linux_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1282
1283
1284
1285
1286
1287
1288
1289
1290
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cpu_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu_upload
1291
1292
1293
1294
1295
      - binary_linux_wheel:
          cu_version: cu92
          filters:
            branches:
              only: nightly
1296
1297
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1298
1299
1300
1301
1302
1303
1304
1305
          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
1306
1307
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1308
1309
1310
1311
          name: nightly_binary_linux_wheel_py3.8_cu92_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cu92
          subfolder: cu92/
guyang3532's avatar
guyang3532 committed
1312
1313
1314
1315
1316
1317
1318
1319
1320
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cu92_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cu92_upload
1321
      - binary_linux_wheel:
1322
          cu_version: cu101
1323
1324
1325
          filters:
            branches:
              only: nightly
1326
1327
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1328
          name: nightly_binary_linux_wheel_py3.8_cu101
1329
          python_version: '3.8'
1330
          wheel_docker_image: pytorch/manylinux-cuda101
1331
1332
1333
1334
1335
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1336
1337
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1338
          name: nightly_binary_linux_wheel_py3.8_cu101_upload
1339
          requires:
1340
1341
          - nightly_binary_linux_wheel_py3.8_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1342
1343
1344
1345
1346
1347
1348
1349
1350
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cu101_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cu101_upload
1351
      - binary_linux_wheel:
1352
          cu_version: cu102
1353
1354
1355
          filters:
            branches:
              only: nightly
1356
1357
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1358
          name: nightly_binary_linux_wheel_py3.8_cu102
1359
          python_version: '3.8'
1360
          wheel_docker_image: pytorch/manylinux-cuda102
1361
1362
1363
1364
1365
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1366
1367
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1368
          name: nightly_binary_linux_wheel_py3.8_cu102_upload
1369
          requires:
1370
1371
          - nightly_binary_linux_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1372
1373
1374
1375
1376
1377
1378
1379
1380
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cu102_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cu102_upload
1381
      - binary_macos_wheel:
1382
          cu_version: cpu
1383
1384
1385
          filters:
            branches:
              only: nightly
1386
1387
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1388
          name: nightly_binary_macos_wheel_py3.6_cpu
1389
          python_version: '3.6'
1390
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1391
1392
      - binary_wheel_upload:
          context: org-member
1393
1394
1395
          filters:
            branches:
              only: nightly
1396
1397
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1398
          name: nightly_binary_macos_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1399
          requires:
1400
1401
          - nightly_binary_macos_wheel_py3.6_cpu
          subfolder: ''
1402
      - binary_macos_wheel:
1403
          cu_version: cpu
1404
1405
1406
          filters:
            branches:
              only: nightly
1407
1408
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1409
          name: nightly_binary_macos_wheel_py3.7_cpu
1410
          python_version: '3.7'
1411
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1412
1413
      - binary_wheel_upload:
          context: org-member
1414
1415
1416
          filters:
            branches:
              only: nightly
1417
1418
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1419
          name: nightly_binary_macos_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1420
          requires:
1421
1422
          - nightly_binary_macos_wheel_py3.7_cpu
          subfolder: ''
1423
1424
1425
1426
1427
      - binary_macos_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
1428
1429
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1430
1431
          name: nightly_binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
1432
          wheel_docker_image: pytorch/manylinux-cuda102
1433
1434
1435
1436
1437
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1438
1439
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1440
1441
1442
1443
          name: nightly_binary_macos_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.8_cpu
          subfolder: ''
1444
      - binary_win_wheel:
1445
1446
1447
1448
          cu_version: cpu
          filters:
            branches:
              only: nightly
1449
1450
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1451
1452
1453
1454
1455
1456
1457
          name: nightly_binary_win_wheel_py3.6_cpu
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1458
1459
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1460
1461
1462
1463
          name: nightly_binary_win_wheel_py3.6_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1464
1465
1466
1467
1468
1469
1470
1471
1472
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.6_cpu_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_win_wheel_py3.6_cpu_upload
1473
      - binary_win_wheel:
1474
          cu_version: cu101
1475
1476
1477
          filters:
            branches:
              only: nightly
1478
1479
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1480
1481
1482
1483
1484
1485
1486
          name: nightly_binary_win_wheel_py3.6_cu101
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1487
1488
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1489
1490
1491
1492
          name: nightly_binary_win_wheel_py3.6_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1493
1494
1495
1496
1497
1498
1499
1500
1501
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.6_cu101_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_win_wheel_py3.6_cu101_upload
1502
      - binary_win_wheel:
1503
          cu_version: cu102
1504
1505
1506
          filters:
            branches:
              only: nightly
1507
1508
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1509
1510
1511
1512
1513
1514
1515
          name: nightly_binary_win_wheel_py3.6_cu102
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1516
1517
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1518
1519
1520
1521
          name: nightly_binary_win_wheel_py3.6_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1522
1523
1524
1525
1526
1527
1528
1529
1530
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.6_cu102_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_win_wheel_py3.6_cu102_upload
1531
      - binary_win_wheel:
1532
1533
1534
1535
          cu_version: cpu
          filters:
            branches:
              only: nightly
1536
1537
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1538
1539
1540
1541
1542
1543
1544
          name: nightly_binary_win_wheel_py3.7_cpu
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1545
1546
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1547
1548
1549
1550
          name: nightly_binary_win_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1551
1552
1553
1554
1555
1556
1557
1558
1559
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.7_cpu_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_win_wheel_py3.7_cpu_upload
1560
      - binary_win_wheel:
1561
          cu_version: cu101
1562
1563
1564
          filters:
            branches:
              only: nightly
1565
1566
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1567
1568
1569
1570
1571
1572
1573
          name: nightly_binary_win_wheel_py3.7_cu101
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1574
1575
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1576
1577
1578
1579
          name: nightly_binary_win_wheel_py3.7_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1580
1581
1582
1583
1584
1585
1586
1587
1588
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.7_cu101_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_win_wheel_py3.7_cu101_upload
1589
      - binary_win_wheel:
1590
          cu_version: cu102
1591
1592
1593
          filters:
            branches:
              only: nightly
1594
1595
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1596
1597
1598
1599
1600
1601
1602
          name: nightly_binary_win_wheel_py3.7_cu102
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1603
1604
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1605
1606
1607
1608
          name: nightly_binary_win_wheel_py3.7_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1609
1610
1611
1612
1613
1614
1615
1616
1617
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.7_cu102_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_win_wheel_py3.7_cu102_upload
1618
      - binary_win_wheel:
1619
1620
1621
1622
          cu_version: cpu
          filters:
            branches:
              only: nightly
1623
1624
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1625
1626
1627
1628
1629
1630
1631
          name: nightly_binary_win_wheel_py3.8_cpu
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1632
1633
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1634
1635
1636
1637
          name: nightly_binary_win_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1638
1639
1640
1641
1642
1643
1644
1645
1646
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.8_cpu_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_win_wheel_py3.8_cpu_upload
1647
      - binary_win_wheel:
1648
          cu_version: cu101
1649
1650
1651
          filters:
            branches:
              only: nightly
1652
1653
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1654
1655
1656
1657
1658
1659
1660
          name: nightly_binary_win_wheel_py3.8_cu101
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1661
1662
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1663
1664
1665
1666
          name: nightly_binary_win_wheel_py3.8_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1667
1668
1669
1670
1671
1672
1673
1674
1675
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.8_cu101_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_win_wheel_py3.8_cu101_upload
1676
      - binary_win_wheel:
1677
          cu_version: cu102
1678
1679
1680
          filters:
            branches:
              only: nightly
1681
1682
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1683
1684
1685
1686
1687
1688
1689
          name: nightly_binary_win_wheel_py3.8_cu102
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1690
1691
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1692
1693
1694
1695
          name: nightly_binary_win_wheel_py3.8_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1696
1697
1698
1699
1700
1701
1702
1703
1704
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.8_cu102_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_win_wheel_py3.8_cu102_upload
1705
      - binary_linux_conda:
1706
          cu_version: cpu
1707
1708
1709
          filters:
            branches:
              only: nightly
1710
1711
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1712
          name: nightly_binary_linux_conda_py3.6_cpu
1713
          python_version: '3.6'
1714
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1715
1716
      - binary_conda_upload:
          context: org-member
1717
1718
1719
          filters:
            branches:
              only: nightly
1720
1721
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1722
          name: nightly_binary_linux_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1723
          requires:
1724
          - nightly_binary_linux_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
1725
1726
1727
1728
1729
1730
1731
1732
1733
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.6_cpu_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_linux_conda_py3.6_cpu_upload
1734
      - binary_linux_conda:
1735
          cu_version: cu92
1736
1737
1738
          filters:
            branches:
              only: nightly
1739
1740
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1741
          name: nightly_binary_linux_conda_py3.6_cu92
1742
          python_version: '3.6'
1743
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1744
1745
      - binary_conda_upload:
          context: org-member
1746
1747
1748
          filters:
            branches:
              only: nightly
1749
1750
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1751
          name: nightly_binary_linux_conda_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1752
          requires:
1753
          - nightly_binary_linux_conda_py3.6_cu92
guyang3532's avatar
guyang3532 committed
1754
1755
1756
1757
1758
1759
1760
1761
1762
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.6_cu92_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_linux_conda_py3.6_cu92_upload
1763
      - binary_linux_conda:
1764
          cu_version: cu101
1765
1766
1767
          filters:
            branches:
              only: nightly
1768
1769
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1770
          name: nightly_binary_linux_conda_py3.6_cu101
1771
          python_version: '3.6'
1772
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1773
1774
      - binary_conda_upload:
          context: org-member
1775
1776
1777
          filters:
            branches:
              only: nightly
1778
1779
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1780
          name: nightly_binary_linux_conda_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1781
          requires:
1782
          - nightly_binary_linux_conda_py3.6_cu101
guyang3532's avatar
guyang3532 committed
1783
1784
1785
1786
1787
1788
1789
1790
1791
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.6_cu101_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_linux_conda_py3.6_cu101_upload
Francisco Massa's avatar
Francisco Massa committed
1792
      - binary_linux_conda:
1793
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1794
1795
1796
          filters:
            branches:
              only: nightly
1797
1798
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1799
          name: nightly_binary_linux_conda_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1800
          python_version: '3.6'
1801
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1802
1803
1804
1805
1806
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1807
1808
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1809
          name: nightly_binary_linux_conda_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1810
          requires:
1811
          - nightly_binary_linux_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
1812
1813
1814
1815
1816
1817
1818
1819
1820
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.6_cu102_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_linux_conda_py3.6_cu102_upload
1821
      - binary_linux_conda:
1822
          cu_version: cpu
1823
1824
1825
          filters:
            branches:
              only: nightly
1826
1827
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1828
          name: nightly_binary_linux_conda_py3.7_cpu
1829
          python_version: '3.7'
1830
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1831
1832
      - binary_conda_upload:
          context: org-member
1833
1834
1835
          filters:
            branches:
              only: nightly
1836
1837
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1838
          name: nightly_binary_linux_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1839
          requires:
1840
          - nightly_binary_linux_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
1841
1842
1843
1844
1845
1846
1847
1848
1849
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cpu_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cpu_upload
1850
      - binary_linux_conda:
1851
          cu_version: cu92
1852
1853
1854
          filters:
            branches:
              only: nightly
1855
1856
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1857
          name: nightly_binary_linux_conda_py3.7_cu92
1858
          python_version: '3.7'
1859
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1860
1861
      - binary_conda_upload:
          context: org-member
1862
1863
1864
          filters:
            branches:
              only: nightly
1865
1866
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1867
          name: nightly_binary_linux_conda_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1868
          requires:
1869
          - nightly_binary_linux_conda_py3.7_cu92
guyang3532's avatar
guyang3532 committed
1870
1871
1872
1873
1874
1875
1876
1877
1878
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cu92_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cu92_upload
1879
      - binary_linux_conda:
1880
          cu_version: cu101
1881
1882
1883
          filters:
            branches:
              only: nightly
1884
1885
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1886
          name: nightly_binary_linux_conda_py3.7_cu101
1887
          python_version: '3.7'
1888
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1889
1890
      - binary_conda_upload:
          context: org-member
1891
1892
1893
          filters:
            branches:
              only: nightly
1894
1895
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1896
          name: nightly_binary_linux_conda_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1897
          requires:
1898
          - nightly_binary_linux_conda_py3.7_cu101
guyang3532's avatar
guyang3532 committed
1899
1900
1901
1902
1903
1904
1905
1906
1907
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cu101_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cu101_upload
Francisco Massa's avatar
Francisco Massa committed
1908
      - binary_linux_conda:
1909
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1910
1911
1912
          filters:
            branches:
              only: nightly
1913
1914
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1915
          name: nightly_binary_linux_conda_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1916
          python_version: '3.7'
1917
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1918
1919
1920
1921
1922
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1923
1924
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1925
          name: nightly_binary_linux_conda_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1926
          requires:
1927
          - nightly_binary_linux_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
1928
1929
1930
1931
1932
1933
1934
1935
1936
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cu102_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cu102_upload
1937
1938
1939
1940
1941
      - binary_linux_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
1942
1943
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1944
1945
          name: nightly_binary_linux_conda_py3.8_cpu
          python_version: '3.8'
1946
          wheel_docker_image: pytorch/manylinux-cuda102
1947
1948
1949
1950
1951
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1952
1953
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1954
1955
1956
          name: nightly_binary_linux_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
1957
1958
1959
1960
1961
1962
1963
1964
1965
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.8_cpu_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_linux_conda_py3.8_cpu_upload
1966
1967
1968
1969
1970
      - binary_linux_conda:
          cu_version: cu92
          filters:
            branches:
              only: nightly
1971
1972
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1973
1974
1975
1976
1977
1978
1979
1980
          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
1981
1982
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1983
1984
1985
          name: nightly_binary_linux_conda_py3.8_cu92_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cu92
guyang3532's avatar
guyang3532 committed
1986
1987
1988
1989
1990
1991
1992
1993
1994
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.8_cu92_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_linux_conda_py3.8_cu92_upload
1995
      - binary_linux_conda:
1996
          cu_version: cu101
1997
1998
1999
          filters:
            branches:
              only: nightly
2000
2001
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2002
          name: nightly_binary_linux_conda_py3.8_cu101
2003
          python_version: '3.8'
2004
          wheel_docker_image: pytorch/manylinux-cuda101
2005
2006
2007
2008
2009
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2010
2011
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2012
          name: nightly_binary_linux_conda_py3.8_cu101_upload
2013
          requires:
2014
          - nightly_binary_linux_conda_py3.8_cu101
guyang3532's avatar
guyang3532 committed
2015
2016
2017
2018
2019
2020
2021
2022
2023
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.8_cu101_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_linux_conda_py3.8_cu101_upload
2024
      - binary_linux_conda:
2025
          cu_version: cu102
2026
2027
2028
          filters:
            branches:
              only: nightly
2029
2030
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2031
          name: nightly_binary_linux_conda_py3.8_cu102
2032
          python_version: '3.8'
2033
          wheel_docker_image: pytorch/manylinux-cuda102
2034
2035
2036
2037
2038
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2039
2040
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2041
          name: nightly_binary_linux_conda_py3.8_cu102_upload
2042
          requires:
2043
          - nightly_binary_linux_conda_py3.8_cu102
guyang3532's avatar
guyang3532 committed
2044
2045
2046
2047
2048
2049
2050
2051
2052
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.8_cu102_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_linux_conda_py3.8_cu102_upload
2053
      - binary_macos_conda:
2054
          cu_version: cpu
2055
2056
2057
          filters:
            branches:
              only: nightly
2058
2059
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2060
          name: nightly_binary_macos_conda_py3.6_cpu
2061
          python_version: '3.6'
2062
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2063
2064
      - binary_conda_upload:
          context: org-member
2065
2066
2067
          filters:
            branches:
              only: nightly
2068
2069
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2070
          name: nightly_binary_macos_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2071
          requires:
2072
          - nightly_binary_macos_conda_py3.6_cpu
2073
      - binary_macos_conda:
2074
          cu_version: cpu
2075
2076
2077
          filters:
            branches:
              only: nightly
2078
2079
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2080
          name: nightly_binary_macos_conda_py3.7_cpu
2081
          python_version: '3.7'
2082
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2083
2084
      - binary_conda_upload:
          context: org-member
2085
2086
2087
          filters:
            branches:
              only: nightly
2088
2089
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2090
          name: nightly_binary_macos_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2091
          requires:
2092
2093
2094
2095
2096
2097
          - nightly_binary_macos_conda_py3.7_cpu
      - binary_macos_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
2098
2099
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2100
2101
          name: nightly_binary_macos_conda_py3.8_cpu
          python_version: '3.8'
2102
          wheel_docker_image: pytorch/manylinux-cuda102
2103
2104
2105
2106
2107
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2108
2109
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2110
2111
          name: nightly_binary_macos_conda_py3.8_cpu_upload
          requires:
2112
          - nightly_binary_macos_conda_py3.8_cpu
2113
      - binary_win_conda:
2114
2115
2116
2117
          cu_version: cpu
          filters:
            branches:
              only: nightly
2118
2119
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2120
2121
2122
2123
2124
2125
2126
          name: nightly_binary_win_conda_py3.6_cpu
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2127
2128
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2129
2130
2131
          name: nightly_binary_win_conda_py3.6_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
2132
2133
2134
2135
2136
2137
2138
2139
2140
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.6_cpu_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_win_conda_py3.6_cpu_upload
2141
      - binary_win_conda:
2142
          cu_version: cu101
2143
2144
2145
          filters:
            branches:
              only: nightly
2146
2147
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2148
2149
2150
2151
2152
2153
2154
          name: nightly_binary_win_conda_py3.6_cu101
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2155
2156
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2157
2158
2159
          name: nightly_binary_win_conda_py3.6_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu101
guyang3532's avatar
guyang3532 committed
2160
2161
2162
2163
2164
2165
2166
2167
2168
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.6_cu101_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_win_conda_py3.6_cu101_upload
2169
      - binary_win_conda:
2170
          cu_version: cu102
2171
2172
2173
          filters:
            branches:
              only: nightly
2174
2175
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2176
2177
2178
2179
2180
2181
2182
          name: nightly_binary_win_conda_py3.6_cu102
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2183
2184
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2185
2186
2187
          name: nightly_binary_win_conda_py3.6_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
2188
2189
2190
2191
2192
2193
2194
2195
2196
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.6_cu102_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_win_conda_py3.6_cu102_upload
2197
      - binary_win_conda:
2198
2199
2200
2201
          cu_version: cpu
          filters:
            branches:
              only: nightly
2202
2203
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2204
2205
2206
2207
2208
2209
2210
          name: nightly_binary_win_conda_py3.7_cpu
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2211
2212
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2213
2214
2215
          name: nightly_binary_win_conda_py3.7_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
2216
2217
2218
2219
2220
2221
2222
2223
2224
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.7_cpu_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_win_conda_py3.7_cpu_upload
2225
      - binary_win_conda:
2226
          cu_version: cu101
2227
2228
2229
          filters:
            branches:
              only: nightly
2230
2231
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2232
2233
2234
2235
2236
2237
2238
          name: nightly_binary_win_conda_py3.7_cu101
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2239
2240
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2241
2242
2243
          name: nightly_binary_win_conda_py3.7_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu101
guyang3532's avatar
guyang3532 committed
2244
2245
2246
2247
2248
2249
2250
2251
2252
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.7_cu101_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_win_conda_py3.7_cu101_upload
2253
      - binary_win_conda:
2254
          cu_version: cu102
2255
2256
2257
          filters:
            branches:
              only: nightly
2258
2259
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2260
2261
2262
2263
2264
2265
2266
          name: nightly_binary_win_conda_py3.7_cu102
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2267
2268
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2269
2270
2271
          name: nightly_binary_win_conda_py3.7_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
2272
2273
2274
2275
2276
2277
2278
2279
2280
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.7_cu102_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_win_conda_py3.7_cu102_upload
2281
      - binary_win_conda:
2282
2283
2284
2285
          cu_version: cpu
          filters:
            branches:
              only: nightly
2286
2287
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2288
2289
2290
2291
2292
2293
2294
          name: nightly_binary_win_conda_py3.8_cpu
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2295
2296
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2297
2298
2299
          name: nightly_binary_win_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
2300
2301
2302
2303
2304
2305
2306
2307
2308
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.8_cpu_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_win_conda_py3.8_cpu_upload
2309
      - binary_win_conda:
2310
          cu_version: cu101
2311
2312
2313
          filters:
            branches:
              only: nightly
2314
2315
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2316
2317
2318
2319
2320
2321
2322
          name: nightly_binary_win_conda_py3.8_cu101
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2323
2324
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2325
2326
2327
          name: nightly_binary_win_conda_py3.8_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu101
guyang3532's avatar
guyang3532 committed
2328
2329
2330
2331
2332
2333
2334
2335
2336
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.8_cu101_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_win_conda_py3.8_cu101_upload
2337
      - binary_win_conda:
2338
          cu_version: cu102
2339
2340
2341
          filters:
            branches:
              only: nightly
2342
2343
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2344
2345
2346
2347
2348
2349
2350
          name: nightly_binary_win_conda_py3.8_cu102
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2351
2352
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2353
2354
          name: nightly_binary_win_conda_py3.8_cu102_upload
          requires:
guyang3532's avatar
guyang3532 committed
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
          - nightly_binary_win_conda_py3.8_cu102
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.8_cu102_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_win_conda_py3.8_cu102_upload
  docker_build:
    triggers:
      - schedule:
          cron: "0 10 * * 0"
          filters:
            branches:
              only:
                - master
    jobs:
      - smoke_test_docker_image_build:
          context: org-member