config.yml 72.7 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
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
558
      - binary_linux_wheel:
559
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
560
          name: binary_linux_wheel_py3.6_cpu
561
          python_version: '3.6'
562
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
563
      - binary_linux_wheel:
564
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
565
          name: binary_linux_wheel_py3.6_cu92
566
          python_version: '3.6'
567
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
568
569
570
571
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
572
573
574
575
576
577
          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
578
      - binary_linux_wheel:
579
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
580
          name: binary_linux_wheel_py3.7_cpu
581
          python_version: '3.7'
582
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
583
      - binary_linux_wheel:
584
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
585
          name: binary_linux_wheel_py3.7_cu92
586
          python_version: '3.7'
587
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
588
589
590
591
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
592
593
594
595
596
597
          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
598
599
600
601
      - binary_linux_wheel:
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
602
          wheel_docker_image: pytorch/manylinux-cuda102
603
604
605
606
607
608
609
610
611
      - 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'
612
613
614
615
616
617
          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
618
      - binary_macos_wheel:
619
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
620
          name: binary_macos_wheel_py3.6_cpu
621
          python_version: '3.6'
622
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
623
      - binary_macos_wheel:
624
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
625
          name: binary_macos_wheel_py3.7_cpu
626
          python_version: '3.7'
627
          wheel_docker_image: pytorch/manylinux-cuda102
628
629
630
631
      - binary_macos_wheel:
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
632
          wheel_docker_image: pytorch/manylinux-cuda102
633
      - binary_win_wheel:
634
635
636
637
          cu_version: cpu
          filters:
            branches:
              only: master
638
639
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
640
641
          name: binary_win_wheel_py3.6_cpu
          python_version: '3.6'
642
      - binary_win_wheel:
643
          cu_version: cu101
644
645
646
          filters:
            branches:
              only: master
647
648
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
649
650
          name: binary_win_wheel_py3.6_cu101
          python_version: '3.6'
651
      - binary_win_wheel:
652
          cu_version: cu102
653
654
655
          filters:
            branches:
              only: master
656
657
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
658
659
          name: binary_win_wheel_py3.6_cu102
          python_version: '3.6'
660
      - binary_win_wheel:
661
662
663
664
          cu_version: cpu
          filters:
            branches:
              only: master
665
666
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
667
668
          name: binary_win_wheel_py3.7_cpu
          python_version: '3.7'
669
      - binary_win_wheel:
670
          cu_version: cu101
671
672
673
          filters:
            branches:
              only: master
674
675
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
676
677
          name: binary_win_wheel_py3.7_cu101
          python_version: '3.7'
678
      - binary_win_wheel:
679
          cu_version: cu102
680
681
682
          filters:
            branches:
              only: master
683
684
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
685
686
          name: binary_win_wheel_py3.7_cu102
          python_version: '3.7'
687
      - binary_win_wheel:
688
689
690
          cu_version: cpu
          name: binary_win_wheel_py3.8_cpu
          python_version: '3.8'
691
      - binary_win_wheel:
692
          cu_version: cu101
693
694
695
          filters:
            branches:
              only: master
696
697
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
698
699
          name: binary_win_wheel_py3.8_cu101
          python_version: '3.8'
700
      - binary_win_wheel:
701
          cu_version: cu102
702
703
          name: binary_win_wheel_py3.8_cu102
          python_version: '3.8'
Edward Z. Yang's avatar
Edward Z. Yang committed
704
      - binary_linux_conda:
705
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
706
          name: binary_linux_conda_py3.6_cpu
707
          python_version: '3.6'
708
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
709
      - binary_linux_conda:
710
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
711
          name: binary_linux_conda_py3.6_cu92
712
          python_version: '3.6'
713
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
714
715
716
717
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
718
719
720
721
722
723
          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
724
      - binary_linux_conda:
725
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
726
          name: binary_linux_conda_py3.7_cpu
727
          python_version: '3.7'
728
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
729
      - binary_linux_conda:
730
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
731
          name: binary_linux_conda_py3.7_cu92
732
          python_version: '3.7'
733
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
734
735
736
737
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
738
739
740
741
742
743
          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
744
745
746
747
      - binary_linux_conda:
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
748
          wheel_docker_image: pytorch/manylinux-cuda102
749
750
751
752
753
754
755
756
757
      - 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'
758
759
760
761
762
763
          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
764
      - binary_macos_conda:
765
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
766
          name: binary_macos_conda_py3.6_cpu
767
          python_version: '3.6'
768
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
769
      - binary_macos_conda:
770
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
771
          name: binary_macos_conda_py3.7_cpu
772
          python_version: '3.7'
773
          wheel_docker_image: pytorch/manylinux-cuda102
774
775
776
777
      - binary_macos_conda:
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
778
          wheel_docker_image: pytorch/manylinux-cuda102
779
      - binary_win_conda:
780
781
782
783
          cu_version: cpu
          filters:
            branches:
              only: master
784
785
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
786
787
          name: binary_win_conda_py3.6_cpu
          python_version: '3.6'
788
      - binary_win_conda:
789
          cu_version: cu101
790
791
792
          filters:
            branches:
              only: master
793
794
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
795
796
          name: binary_win_conda_py3.6_cu101
          python_version: '3.6'
797
      - binary_win_conda:
798
          cu_version: cu102
799
800
801
          filters:
            branches:
              only: master
802
803
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
804
805
          name: binary_win_conda_py3.6_cu102
          python_version: '3.6'
806
      - binary_win_conda:
807
808
809
810
          cu_version: cpu
          filters:
            branches:
              only: master
811
812
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
813
814
          name: binary_win_conda_py3.7_cpu
          python_version: '3.7'
815
      - binary_win_conda:
816
          cu_version: cu101
817
818
819
          filters:
            branches:
              only: master
820
821
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
822
823
          name: binary_win_conda_py3.7_cu101
          python_version: '3.7'
824
      - binary_win_conda:
825
          cu_version: cu102
826
827
828
          filters:
            branches:
              only: master
829
830
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
831
832
          name: binary_win_conda_py3.7_cu102
          python_version: '3.7'
833
      - binary_win_conda:
834
835
836
          cu_version: cpu
          name: binary_win_conda_py3.8_cpu
          python_version: '3.8'
837
      - binary_win_conda:
838
          cu_version: cu101
839
840
841
          filters:
            branches:
              only: master
842
843
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
844
845
          name: binary_win_conda_py3.8_cu101
          python_version: '3.8'
846
      - binary_win_conda:
847
          cu_version: cu102
848
849
          name: binary_win_conda_py3.8_cu102
          python_version: '3.8'
850
      - python_lint
851
      - python_type_check
852
      - clang_format
Edward Z. Yang's avatar
Edward Z. Yang committed
853

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