config.yml 91.5 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
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
130
131
132
133
            curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
            chmod +x clang-format
            sudo mv clang-format /opt/clang-format
            ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
134

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

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

Francisco Massa's avatar
Francisco Massa committed
169
  binary_win_conda:
170
171
    <<: *binary_common
    executor: windows-cpu
172
173
    steps:
      - checkout_merge
174
      - designate_upload_channel
175
176
177
      - run:
          name: Build conda packages
          command: |
178
179
180
181
182
183
184
            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
185
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
186
      - store_artifacts:
187
          path: C:/tools/miniconda3/conda-bld/win-64
188
      - persist_to_workspace:
189
          root: C:/tools/miniconda3/conda-bld/win-64
190
191
192
193
194
          paths:
            - "*"
      - store_test_results:
          path: build_results/

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

217
218
219
  binary_macos_wheel:
    <<: *binary_common
    macos:
220
      xcode: "9.4.1"
221
    steps:
222
      - checkout_merge
223
      - designate_upload_channel
224
225
226
227
228
229
230
231
232
233
234
      - 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
235
236
237
238
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
239
240
241
242

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

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
270
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
271
272
273
274
275
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
276
            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
277
278
279

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

guyang3532's avatar
guyang3532 committed
304
305
306
307
308
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
309
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
      - 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
328
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
      - 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
349
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
      - 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
369
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
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
      - 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
395
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
      - 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"

412
413
414
415
416
417
418
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
419
      - designate_upload_channel
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
      - 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"
458
      PYTHON_VERSION: << parameters.python_version >>
459
460
    steps:
      - checkout
461
      - designate_upload_channel
462
463
464
465
466
467
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - run:
          name: Setup
468
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
469
470
471
472
473
474
475
476
477
      - 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
478
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL "${image_name}" .circleci/unittest/linux/scripts/install.sh
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
      - 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
494
      - designate_upload_channel
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
      - 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"
532
      PYTHON_VERSION: << parameters.python_version >>
533
534
    steps:
      - checkout
535
      - designate_upload_channel
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .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
561

Francisco Massa's avatar
Francisco Massa committed
562
563
564
565
566
567
568
  unittest_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.4.1"
    resource_class: large
    steps:
      - checkout
569
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
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
      - run:
          name: Install wget
          command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
          # Disable brew auto update which is very slow
      - 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-v3-macos-{{ 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-v3-macos-{{ 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

605
606
607
608
609
610
611
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
612
      - designate_upload_channel
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
      - 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
630
      - designate_upload_channel
631
632
633
634
635
      - 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
636
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -e UPLOAD_CHANNEL -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh
637
638
639
640

  cmake_macos_cpu:
    <<: *binary_common
    macos:
641
      xcode: "9.4.1"
642
643
    steps:
      - checkout_merge
644
      - designate_upload_channel
645
646
647
648
649
650
651
652
653
654
655
656
657
658
      - 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
659
      - designate_upload_channel
660
661
662
663
664
665
666
667
668
669
670
671
      - 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
672
      - designate_upload_channel
673
674
675
676
677
678
679
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

680
681
682
683
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
684
      - binary_linux_wheel:
685
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
686
          name: binary_linux_wheel_py3.6_cpu
687
          python_version: '3.6'
688
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
689
      - binary_linux_wheel:
690
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
691
          name: binary_linux_wheel_py3.6_cu92
692
          python_version: '3.6'
693
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
694
695
696
697
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
698
699
700
701
702
703
          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
peterjc123's avatar
peterjc123 committed
704
705
706
707
708
      - binary_linux_wheel:
          cu_version: cu110
          name: binary_linux_wheel_py3.6_cu110
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda110
Edward Z. Yang's avatar
Edward Z. Yang committed
709
      - binary_linux_wheel:
710
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
711
          name: binary_linux_wheel_py3.7_cpu
712
          python_version: '3.7'
713
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
714
      - binary_linux_wheel:
715
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
716
          name: binary_linux_wheel_py3.7_cu92
717
          python_version: '3.7'
718
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
719
720
721
722
      - binary_linux_wheel:
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
723
724
725
726
727
728
          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
peterjc123's avatar
peterjc123 committed
729
730
731
732
733
      - binary_linux_wheel:
          cu_version: cu110
          name: binary_linux_wheel_py3.7_cu110
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda110
734
735
736
737
      - binary_linux_wheel:
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
738
          wheel_docker_image: pytorch/manylinux-cuda102
739
740
741
742
743
744
745
746
747
      - 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'
748
749
750
751
752
753
          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
peterjc123's avatar
peterjc123 committed
754
755
756
757
758
      - binary_linux_wheel:
          cu_version: cu110
          name: binary_linux_wheel_py3.8_cu110
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda110
Edward Z. Yang's avatar
Edward Z. Yang committed
759
      - binary_macos_wheel:
760
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
761
          name: binary_macos_wheel_py3.6_cpu
762
          python_version: '3.6'
763
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
764
      - binary_macos_wheel:
765
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
766
          name: binary_macos_wheel_py3.7_cpu
767
          python_version: '3.7'
768
          wheel_docker_image: pytorch/manylinux-cuda102
769
770
771
772
      - binary_macos_wheel:
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
773
          wheel_docker_image: pytorch/manylinux-cuda102
774
      - binary_win_wheel:
775
776
777
778
          cu_version: cpu
          filters:
            branches:
              only: master
779
780
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
781
782
          name: binary_win_wheel_py3.6_cpu
          python_version: '3.6'
783
      - binary_win_wheel:
784
          cu_version: cu101
785
786
787
          filters:
            branches:
              only: master
788
789
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
790
791
          name: binary_win_wheel_py3.6_cu101
          python_version: '3.6'
792
      - binary_win_wheel:
793
          cu_version: cu102
794
795
796
          filters:
            branches:
              only: master
797
798
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
799
800
          name: binary_win_wheel_py3.6_cu102
          python_version: '3.6'
peterjc123's avatar
peterjc123 committed
801
802
803
804
805
806
807
808
809
      - binary_win_wheel:
          cu_version: cu110
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_wheel_py3.6_cu110
          python_version: '3.6'
810
      - binary_win_wheel:
811
812
813
814
          cu_version: cpu
          filters:
            branches:
              only: master
815
816
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
817
818
          name: binary_win_wheel_py3.7_cpu
          python_version: '3.7'
819
      - binary_win_wheel:
820
          cu_version: cu101
821
822
823
          filters:
            branches:
              only: master
824
825
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
826
827
          name: binary_win_wheel_py3.7_cu101
          python_version: '3.7'
828
      - binary_win_wheel:
829
          cu_version: cu102
830
831
832
          filters:
            branches:
              only: master
833
834
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
835
836
          name: binary_win_wheel_py3.7_cu102
          python_version: '3.7'
peterjc123's avatar
peterjc123 committed
837
838
839
840
841
842
843
844
845
      - binary_win_wheel:
          cu_version: cu110
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_wheel_py3.7_cu110
          python_version: '3.7'
846
      - binary_win_wheel:
847
848
849
          cu_version: cpu
          name: binary_win_wheel_py3.8_cpu
          python_version: '3.8'
850
      - binary_win_wheel:
851
          cu_version: cu101
852
853
854
          filters:
            branches:
              only: master
855
856
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
857
858
          name: binary_win_wheel_py3.8_cu101
          python_version: '3.8'
859
      - binary_win_wheel:
860
          cu_version: cu102
peterjc123's avatar
peterjc123 committed
861
862
863
864
865
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
866
867
          name: binary_win_wheel_py3.8_cu102
          python_version: '3.8'
peterjc123's avatar
peterjc123 committed
868
869
870
871
      - binary_win_wheel:
          cu_version: cu110
          name: binary_win_wheel_py3.8_cu110
          python_version: '3.8'
Edward Z. Yang's avatar
Edward Z. Yang committed
872
      - binary_linux_conda:
873
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
874
          name: binary_linux_conda_py3.6_cpu
875
          python_version: '3.6'
876
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
877
      - binary_linux_conda:
878
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
879
          name: binary_linux_conda_py3.6_cu92
880
          python_version: '3.6'
881
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
882
883
884
885
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
886
887
888
889
890
891
          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
peterjc123's avatar
peterjc123 committed
892
893
894
895
896
      - binary_linux_conda:
          cu_version: cu110
          name: binary_linux_conda_py3.6_cu110
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda110
Edward Z. Yang's avatar
Edward Z. Yang committed
897
      - binary_linux_conda:
898
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
899
          name: binary_linux_conda_py3.7_cpu
900
          python_version: '3.7'
901
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
902
      - binary_linux_conda:
903
          cu_version: cu92
Edward Z. Yang's avatar
Edward Z. Yang committed
904
          name: binary_linux_conda_py3.7_cu92
905
          python_version: '3.7'
906
          wheel_docker_image: pytorch/manylinux-cuda92
Francisco Massa's avatar
Francisco Massa committed
907
908
909
910
      - binary_linux_conda:
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
911
912
913
914
915
916
          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
peterjc123's avatar
peterjc123 committed
917
918
919
920
921
      - binary_linux_conda:
          cu_version: cu110
          name: binary_linux_conda_py3.7_cu110
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda110
922
923
924
925
      - binary_linux_conda:
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
926
          wheel_docker_image: pytorch/manylinux-cuda102
927
928
929
930
931
932
933
934
935
      - 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'
936
937
938
939
940
941
          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
peterjc123's avatar
peterjc123 committed
942
943
944
945
946
      - binary_linux_conda:
          cu_version: cu110
          name: binary_linux_conda_py3.8_cu110
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda110
Edward Z. Yang's avatar
Edward Z. Yang committed
947
      - binary_macos_conda:
948
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
949
          name: binary_macos_conda_py3.6_cpu
950
          python_version: '3.6'
951
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
952
      - binary_macos_conda:
953
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
954
          name: binary_macos_conda_py3.7_cpu
955
          python_version: '3.7'
956
          wheel_docker_image: pytorch/manylinux-cuda102
957
958
959
960
      - binary_macos_conda:
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
961
          wheel_docker_image: pytorch/manylinux-cuda102
962
      - binary_win_conda:
963
964
965
966
          cu_version: cpu
          filters:
            branches:
              only: master
967
968
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
969
970
          name: binary_win_conda_py3.6_cpu
          python_version: '3.6'
971
      - binary_win_conda:
972
          cu_version: cu101
973
974
975
          filters:
            branches:
              only: master
976
977
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
978
979
          name: binary_win_conda_py3.6_cu101
          python_version: '3.6'
980
      - binary_win_conda:
981
          cu_version: cu102
982
983
984
          filters:
            branches:
              only: master
985
986
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
987
988
          name: binary_win_conda_py3.6_cu102
          python_version: '3.6'
peterjc123's avatar
peterjc123 committed
989
990
991
992
993
994
995
996
997
      - binary_win_conda:
          cu_version: cu110
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_conda_py3.6_cu110
          python_version: '3.6'
998
      - binary_win_conda:
999
1000
1001
1002
          cu_version: cpu
          filters:
            branches:
              only: master
1003
1004
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1005
1006
          name: binary_win_conda_py3.7_cpu
          python_version: '3.7'
1007
      - binary_win_conda:
1008
          cu_version: cu101
1009
1010
1011
          filters:
            branches:
              only: master
1012
1013
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1014
1015
          name: binary_win_conda_py3.7_cu101
          python_version: '3.7'
1016
      - binary_win_conda:
1017
          cu_version: cu102
1018
1019
1020
          filters:
            branches:
              only: master
1021
1022
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1023
1024
          name: binary_win_conda_py3.7_cu102
          python_version: '3.7'
peterjc123's avatar
peterjc123 committed
1025
1026
1027
1028
1029
1030
1031
1032
1033
      - binary_win_conda:
          cu_version: cu110
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_conda_py3.7_cu110
          python_version: '3.7'
1034
      - binary_win_conda:
1035
1036
1037
          cu_version: cpu
          name: binary_win_conda_py3.8_cpu
          python_version: '3.8'
1038
      - binary_win_conda:
1039
          cu_version: cu101
1040
1041
1042
          filters:
            branches:
              only: master
1043
1044
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1045
1046
          name: binary_win_conda_py3.8_cu101
          python_version: '3.8'
1047
      - binary_win_conda:
1048
          cu_version: cu102
peterjc123's avatar
peterjc123 committed
1049
1050
1051
1052
1053
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1054
1055
          name: binary_win_conda_py3.8_cu102
          python_version: '3.8'
peterjc123's avatar
peterjc123 committed
1056
1057
1058
1059
      - binary_win_conda:
          cu_version: cu110
          name: binary_win_conda_py3.8_cu110
          python_version: '3.8'
1060
      - python_lint
1061
      - python_type_check
1062
      - clang_format
Edward Z. Yang's avatar
Edward Z. Yang committed
1063

1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
  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'
Francisco Massa's avatar
Francisco Massa committed
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.6
          python_version: '3.6'
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.7
          python_version: '3.7'
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.8
          python_version: '3.8'
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161

  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'
1162
1163
1164
1165
      - cmake_windows_gpu:
          cu_version: cu101
          name: cmake_windows_gpu
          python_version: '3.8'
1166
1167
1168
1169
1170
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

Edward Z. Yang's avatar
Edward Z. Yang committed
1171
1172
1173
  nightly:
    jobs:
      - circleci_consistency
1174
      - python_lint
1175
      - python_type_check
1176
      - clang_format
1177
      - binary_linux_wheel:
1178
          cu_version: cpu
1179
1180
1181
          filters:
            branches:
              only: nightly
1182
1183
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1184
          name: nightly_binary_linux_wheel_py3.6_cpu
1185
          python_version: '3.6'
1186
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1187
1188
      - binary_wheel_upload:
          context: org-member
1189
1190
1191
          filters:
            branches:
              only: nightly
1192
1193
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1194
          name: nightly_binary_linux_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1195
          requires:
1196
1197
          - nightly_binary_linux_wheel_py3.6_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1198
1199
1200
1201
1202
1203
1204
1205
1206
      - 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
1207
      - binary_linux_wheel:
1208
          cu_version: cu92
1209
1210
1211
          filters:
            branches:
              only: nightly
1212
1213
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1214
          name: nightly_binary_linux_wheel_py3.6_cu92
1215
          python_version: '3.6'
1216
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1217
1218
      - binary_wheel_upload:
          context: org-member
1219
1220
1221
          filters:
            branches:
              only: nightly
1222
1223
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1224
          name: nightly_binary_linux_wheel_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1225
          requires:
1226
1227
          - nightly_binary_linux_wheel_py3.6_cu92
          subfolder: cu92/
guyang3532's avatar
guyang3532 committed
1228
1229
1230
1231
1232
1233
1234
1235
1236
      - 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
1237
      - binary_linux_wheel:
1238
          cu_version: cu101
1239
1240
1241
          filters:
            branches:
              only: nightly
1242
1243
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1244
          name: nightly_binary_linux_wheel_py3.6_cu101
1245
          python_version: '3.6'
1246
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1247
1248
      - binary_wheel_upload:
          context: org-member
1249
1250
1251
          filters:
            branches:
              only: nightly
1252
1253
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1254
          name: nightly_binary_linux_wheel_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1255
          requires:
1256
1257
          - nightly_binary_linux_wheel_py3.6_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1258
1259
1260
1261
1262
1263
1264
1265
1266
      - 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
1267
      - binary_linux_wheel:
1268
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1269
1270
1271
          filters:
            branches:
              only: nightly
1272
1273
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1274
          name: nightly_binary_linux_wheel_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1275
          python_version: '3.6'
1276
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1277
1278
1279
1280
1281
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1282
1283
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1284
          name: nightly_binary_linux_wheel_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1285
          requires:
1286
1287
          - nightly_binary_linux_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1288
1289
1290
1291
1292
1293
1294
1295
1296
      - 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
peterjc123's avatar
peterjc123 committed
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
      - binary_linux_wheel:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_wheel_py3.6_cu110
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda110
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_wheel_py3.6_cu110_upload
          requires:
          - nightly_binary_linux_wheel_py3.6_cu110
          subfolder: cu110/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.6_cu110_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_linux_wheel_py3.6_cu110_upload
1327
      - binary_linux_wheel:
1328
          cu_version: cpu
1329
1330
1331
          filters:
            branches:
              only: nightly
1332
1333
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1334
          name: nightly_binary_linux_wheel_py3.7_cpu
1335
          python_version: '3.7'
1336
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1337
1338
      - binary_wheel_upload:
          context: org-member
1339
1340
1341
          filters:
            branches:
              only: nightly
1342
1343
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1344
          name: nightly_binary_linux_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1345
          requires:
1346
1347
          - nightly_binary_linux_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1348
1349
1350
1351
1352
1353
1354
1355
1356
      - 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
1357
      - binary_linux_wheel:
1358
          cu_version: cu92
1359
1360
1361
          filters:
            branches:
              only: nightly
1362
1363
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1364
          name: nightly_binary_linux_wheel_py3.7_cu92
1365
          python_version: '3.7'
1366
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
1367
1368
      - binary_wheel_upload:
          context: org-member
1369
1370
1371
          filters:
            branches:
              only: nightly
1372
1373
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1374
          name: nightly_binary_linux_wheel_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1375
          requires:
1376
1377
          - nightly_binary_linux_wheel_py3.7_cu92
          subfolder: cu92/
guyang3532's avatar
guyang3532 committed
1378
1379
1380
1381
1382
1383
1384
1385
1386
      - 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
1387
      - binary_linux_wheel:
1388
          cu_version: cu101
1389
1390
1391
          filters:
            branches:
              only: nightly
1392
1393
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1394
          name: nightly_binary_linux_wheel_py3.7_cu101
1395
          python_version: '3.7'
1396
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1397
1398
      - binary_wheel_upload:
          context: org-member
1399
1400
1401
          filters:
            branches:
              only: nightly
1402
1403
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1404
          name: nightly_binary_linux_wheel_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1405
          requires:
1406
1407
          - nightly_binary_linux_wheel_py3.7_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1408
1409
1410
1411
1412
1413
1414
1415
1416
      - 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
1417
      - binary_linux_wheel:
1418
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1419
1420
1421
          filters:
            branches:
              only: nightly
1422
1423
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1424
          name: nightly_binary_linux_wheel_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1425
          python_version: '3.7'
1426
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1427
1428
1429
1430
1431
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1432
1433
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1434
          name: nightly_binary_linux_wheel_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1435
          requires:
1436
1437
          - nightly_binary_linux_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1438
1439
1440
1441
1442
1443
1444
1445
1446
      - 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
peterjc123's avatar
peterjc123 committed
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
      - binary_linux_wheel:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_wheel_py3.7_cu110
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda110
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_wheel_py3.7_cu110_upload
          requires:
          - nightly_binary_linux_wheel_py3.7_cu110
          subfolder: cu110/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.7_cu110_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_linux_wheel_py3.7_cu110_upload
1477
1478
1479
1480
1481
      - binary_linux_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
1482
1483
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1484
1485
          name: nightly_binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
1486
          wheel_docker_image: pytorch/manylinux-cuda102
1487
1488
1489
1490
1491
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1492
1493
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1494
1495
1496
1497
          name: nightly_binary_linux_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1498
1499
1500
1501
1502
1503
1504
1505
1506
      - 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
1507
1508
1509
1510
1511
      - binary_linux_wheel:
          cu_version: cu92
          filters:
            branches:
              only: nightly
1512
1513
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1514
1515
1516
1517
1518
1519
1520
1521
          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
1522
1523
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1524
1525
1526
1527
          name: nightly_binary_linux_wheel_py3.8_cu92_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cu92
          subfolder: cu92/
guyang3532's avatar
guyang3532 committed
1528
1529
1530
1531
1532
1533
1534
1535
1536
      - 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
1537
      - binary_linux_wheel:
1538
          cu_version: cu101
1539
1540
1541
          filters:
            branches:
              only: nightly
1542
1543
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1544
          name: nightly_binary_linux_wheel_py3.8_cu101
1545
          python_version: '3.8'
1546
          wheel_docker_image: pytorch/manylinux-cuda101
1547
1548
1549
1550
1551
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1552
1553
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1554
          name: nightly_binary_linux_wheel_py3.8_cu101_upload
1555
          requires:
1556
1557
          - nightly_binary_linux_wheel_py3.8_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1558
1559
1560
1561
1562
1563
1564
1565
1566
      - 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
1567
      - binary_linux_wheel:
1568
          cu_version: cu102
1569
1570
1571
          filters:
            branches:
              only: nightly
1572
1573
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1574
          name: nightly_binary_linux_wheel_py3.8_cu102
1575
          python_version: '3.8'
1576
          wheel_docker_image: pytorch/manylinux-cuda102
1577
1578
1579
1580
1581
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1582
1583
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1584
          name: nightly_binary_linux_wheel_py3.8_cu102_upload
1585
          requires:
1586
1587
          - nightly_binary_linux_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1588
1589
1590
1591
1592
1593
1594
1595
1596
      - 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
peterjc123's avatar
peterjc123 committed
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
      - binary_linux_wheel:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_wheel_py3.8_cu110
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda110
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_wheel_py3.8_cu110_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cu110
          subfolder: cu110/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.8_cu110_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_linux_wheel_py3.8_cu110_upload
1627
      - binary_macos_wheel:
1628
          cu_version: cpu
1629
1630
1631
          filters:
            branches:
              only: nightly
1632
1633
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1634
          name: nightly_binary_macos_wheel_py3.6_cpu
1635
          python_version: '3.6'
1636
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1637
1638
      - binary_wheel_upload:
          context: org-member
1639
1640
1641
          filters:
            branches:
              only: nightly
1642
1643
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1644
          name: nightly_binary_macos_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1645
          requires:
1646
1647
          - nightly_binary_macos_wheel_py3.6_cpu
          subfolder: ''
1648
      - binary_macos_wheel:
1649
          cu_version: cpu
1650
1651
1652
          filters:
            branches:
              only: nightly
1653
1654
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1655
          name: nightly_binary_macos_wheel_py3.7_cpu
1656
          python_version: '3.7'
1657
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1658
1659
      - binary_wheel_upload:
          context: org-member
1660
1661
1662
          filters:
            branches:
              only: nightly
1663
1664
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1665
          name: nightly_binary_macos_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1666
          requires:
1667
1668
          - nightly_binary_macos_wheel_py3.7_cpu
          subfolder: ''
1669
1670
1671
1672
1673
      - binary_macos_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
1674
1675
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1676
1677
          name: nightly_binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
1678
          wheel_docker_image: pytorch/manylinux-cuda102
1679
1680
1681
1682
1683
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1684
1685
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1686
1687
1688
1689
          name: nightly_binary_macos_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.8_cpu
          subfolder: ''
1690
      - binary_win_wheel:
1691
1692
1693
1694
          cu_version: cpu
          filters:
            branches:
              only: nightly
1695
1696
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1697
1698
1699
1700
1701
1702
1703
          name: nightly_binary_win_wheel_py3.6_cpu
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1704
1705
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1706
1707
1708
1709
          name: nightly_binary_win_wheel_py3.6_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1710
1711
1712
1713
1714
1715
1716
1717
1718
      - 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
1719
      - binary_win_wheel:
1720
          cu_version: cu101
1721
1722
1723
          filters:
            branches:
              only: nightly
1724
1725
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1726
1727
1728
1729
1730
1731
1732
          name: nightly_binary_win_wheel_py3.6_cu101
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1733
1734
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1735
1736
1737
1738
          name: nightly_binary_win_wheel_py3.6_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1739
1740
1741
1742
1743
1744
1745
1746
1747
      - 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
1748
      - binary_win_wheel:
1749
          cu_version: cu102
1750
1751
1752
          filters:
            branches:
              only: nightly
1753
1754
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1755
1756
1757
1758
1759
1760
1761
          name: nightly_binary_win_wheel_py3.6_cu102
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1762
1763
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1764
1765
1766
1767
          name: nightly_binary_win_wheel_py3.6_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1768
1769
1770
1771
1772
1773
1774
1775
1776
      - 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
peterjc123's avatar
peterjc123 committed
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
      - binary_win_wheel:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.6_cu110
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.6_cu110_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu110
          subfolder: cu110/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.6_cu110_smoke_test_pip
          python_version: '3.6'
          requires:
          - nightly_binary_win_wheel_py3.6_cu110_upload
1806
      - binary_win_wheel:
1807
1808
1809
1810
          cu_version: cpu
          filters:
            branches:
              only: nightly
1811
1812
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1813
1814
1815
1816
1817
1818
1819
          name: nightly_binary_win_wheel_py3.7_cpu
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1820
1821
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1822
1823
1824
1825
          name: nightly_binary_win_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1826
1827
1828
1829
1830
1831
1832
1833
1834
      - 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
1835
      - binary_win_wheel:
1836
          cu_version: cu101
1837
1838
1839
          filters:
            branches:
              only: nightly
1840
1841
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1842
1843
1844
1845
1846
1847
1848
          name: nightly_binary_win_wheel_py3.7_cu101
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1849
1850
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1851
1852
1853
1854
          name: nightly_binary_win_wheel_py3.7_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1855
1856
1857
1858
1859
1860
1861
1862
1863
      - 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
1864
      - binary_win_wheel:
1865
          cu_version: cu102
1866
1867
1868
          filters:
            branches:
              only: nightly
1869
1870
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1871
1872
1873
1874
1875
1876
1877
          name: nightly_binary_win_wheel_py3.7_cu102
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1878
1879
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1880
1881
1882
1883
          name: nightly_binary_win_wheel_py3.7_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1884
1885
1886
1887
1888
1889
1890
1891
1892
      - 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
peterjc123's avatar
peterjc123 committed
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
      - binary_win_wheel:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.7_cu110
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.7_cu110_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu110
          subfolder: cu110/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.7_cu110_smoke_test_pip
          python_version: '3.7'
          requires:
          - nightly_binary_win_wheel_py3.7_cu110_upload
1922
      - binary_win_wheel:
1923
1924
1925
1926
          cu_version: cpu
          filters:
            branches:
              only: nightly
1927
1928
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1929
1930
1931
1932
1933
1934
1935
          name: nightly_binary_win_wheel_py3.8_cpu
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1936
1937
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1938
1939
1940
1941
          name: nightly_binary_win_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1942
1943
1944
1945
1946
1947
1948
1949
1950
      - 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
1951
      - binary_win_wheel:
1952
          cu_version: cu101
1953
1954
1955
          filters:
            branches:
              only: nightly
1956
1957
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1958
1959
1960
1961
1962
1963
1964
          name: nightly_binary_win_wheel_py3.8_cu101
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1965
1966
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1967
1968
1969
1970
          name: nightly_binary_win_wheel_py3.8_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1971
1972
1973
1974
1975
1976
1977
1978
1979
      - 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
1980
      - binary_win_wheel:
1981
          cu_version: cu102
1982
1983
1984
          filters:
            branches:
              only: nightly
1985
1986
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1987
1988
1989
1990
1991
1992
1993
          name: nightly_binary_win_wheel_py3.8_cu102
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1994
1995
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1996
1997
1998
1999
          name: nightly_binary_win_wheel_py3.8_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2000
2001
2002
2003
2004
2005
2006
2007
2008
      - 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
peterjc123's avatar
peterjc123 committed
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
      - binary_win_wheel:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.8_cu110
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.8_cu110_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu110
          subfolder: cu110/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.8_cu110_smoke_test_pip
          python_version: '3.8'
          requires:
          - nightly_binary_win_wheel_py3.8_cu110_upload
2038
      - binary_linux_conda:
2039
          cu_version: cpu
2040
2041
2042
          filters:
            branches:
              only: nightly
2043
2044
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2045
          name: nightly_binary_linux_conda_py3.6_cpu
2046
          python_version: '3.6'
2047
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2048
2049
      - binary_conda_upload:
          context: org-member
2050
2051
2052
          filters:
            branches:
              only: nightly
2053
2054
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2055
          name: nightly_binary_linux_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2056
          requires:
2057
          - nightly_binary_linux_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
2058
2059
2060
2061
2062
2063
2064
2065
2066
      - 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
2067
      - binary_linux_conda:
2068
          cu_version: cu92
2069
2070
2071
          filters:
            branches:
              only: nightly
2072
2073
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2074
          name: nightly_binary_linux_conda_py3.6_cu92
2075
          python_version: '3.6'
2076
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
2077
2078
      - binary_conda_upload:
          context: org-member
2079
2080
2081
          filters:
            branches:
              only: nightly
2082
2083
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2084
          name: nightly_binary_linux_conda_py3.6_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2085
          requires:
2086
          - nightly_binary_linux_conda_py3.6_cu92
guyang3532's avatar
guyang3532 committed
2087
2088
2089
2090
2091
2092
2093
2094
2095
      - 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
2096
      - binary_linux_conda:
2097
          cu_version: cu101
2098
2099
2100
          filters:
            branches:
              only: nightly
2101
2102
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2103
          name: nightly_binary_linux_conda_py3.6_cu101
2104
          python_version: '3.6'
2105
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
2106
2107
      - binary_conda_upload:
          context: org-member
2108
2109
2110
          filters:
            branches:
              only: nightly
2111
2112
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2113
          name: nightly_binary_linux_conda_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2114
          requires:
2115
          - nightly_binary_linux_conda_py3.6_cu101
guyang3532's avatar
guyang3532 committed
2116
2117
2118
2119
2120
2121
2122
2123
2124
      - 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
2125
      - binary_linux_conda:
2126
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
2127
2128
2129
          filters:
            branches:
              only: nightly
2130
2131
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2132
          name: nightly_binary_linux_conda_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
2133
          python_version: '3.6'
2134
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
2135
2136
2137
2138
2139
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2140
2141
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2142
          name: nightly_binary_linux_conda_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
2143
          requires:
2144
          - nightly_binary_linux_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
2145
2146
2147
2148
2149
2150
2151
2152
2153
      - 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
peterjc123's avatar
peterjc123 committed
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
      - binary_linux_conda:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.6_cu110
          python_version: '3.6'
          wheel_docker_image: pytorch/manylinux-cuda110
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.6_cu110_upload
          requires:
          - nightly_binary_linux_conda_py3.6_cu110
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.6_cu110_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_linux_conda_py3.6_cu110_upload
2183
      - binary_linux_conda:
2184
          cu_version: cpu
2185
2186
2187
          filters:
            branches:
              only: nightly
2188
2189
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2190
          name: nightly_binary_linux_conda_py3.7_cpu
2191
          python_version: '3.7'
2192
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2193
2194
      - binary_conda_upload:
          context: org-member
2195
2196
2197
          filters:
            branches:
              only: nightly
2198
2199
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2200
          name: nightly_binary_linux_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2201
          requires:
2202
          - nightly_binary_linux_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
2203
2204
2205
2206
2207
2208
2209
2210
2211
      - 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
2212
      - binary_linux_conda:
2213
          cu_version: cu92
2214
2215
2216
          filters:
            branches:
              only: nightly
2217
2218
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2219
          name: nightly_binary_linux_conda_py3.7_cu92
2220
          python_version: '3.7'
2221
          wheel_docker_image: pytorch/manylinux-cuda92
Edward Z. Yang's avatar
Edward Z. Yang committed
2222
2223
      - binary_conda_upload:
          context: org-member
2224
2225
2226
          filters:
            branches:
              only: nightly
2227
2228
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2229
          name: nightly_binary_linux_conda_py3.7_cu92_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2230
          requires:
2231
          - nightly_binary_linux_conda_py3.7_cu92
guyang3532's avatar
guyang3532 committed
2232
2233
2234
2235
2236
2237
2238
2239
2240
      - 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
2241
      - binary_linux_conda:
2242
          cu_version: cu101
2243
2244
2245
          filters:
            branches:
              only: nightly
2246
2247
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2248
          name: nightly_binary_linux_conda_py3.7_cu101
2249
          python_version: '3.7'
2250
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
2251
2252
      - binary_conda_upload:
          context: org-member
2253
2254
2255
          filters:
            branches:
              only: nightly
2256
2257
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2258
          name: nightly_binary_linux_conda_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2259
          requires:
2260
          - nightly_binary_linux_conda_py3.7_cu101
guyang3532's avatar
guyang3532 committed
2261
2262
2263
2264
2265
2266
2267
2268
2269
      - 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
2270
      - binary_linux_conda:
2271
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
2272
2273
2274
          filters:
            branches:
              only: nightly
2275
2276
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2277
          name: nightly_binary_linux_conda_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
2278
          python_version: '3.7'
2279
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
2280
2281
2282
2283
2284
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2285
2286
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2287
          name: nightly_binary_linux_conda_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
2288
          requires:
2289
          - nightly_binary_linux_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
2290
2291
2292
2293
2294
2295
2296
2297
2298
      - 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
peterjc123's avatar
peterjc123 committed
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
      - binary_linux_conda:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.7_cu110
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda110
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.7_cu110_upload
          requires:
          - nightly_binary_linux_conda_py3.7_cu110
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.7_cu110_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_linux_conda_py3.7_cu110_upload
2328
2329
2330
2331
2332
      - binary_linux_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
2333
2334
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2335
2336
          name: nightly_binary_linux_conda_py3.8_cpu
          python_version: '3.8'
2337
          wheel_docker_image: pytorch/manylinux-cuda102
2338
2339
2340
2341
2342
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2343
2344
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2345
2346
2347
          name: nightly_binary_linux_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
2348
2349
2350
2351
2352
2353
2354
2355
2356
      - 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
2357
2358
2359
2360
2361
      - binary_linux_conda:
          cu_version: cu92
          filters:
            branches:
              only: nightly
2362
2363
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2364
2365
2366
2367
2368
2369
2370
2371
          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
2372
2373
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2374
2375
2376
          name: nightly_binary_linux_conda_py3.8_cu92_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cu92
guyang3532's avatar
guyang3532 committed
2377
2378
2379
2380
2381
2382
2383
2384
2385
      - 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
2386
      - binary_linux_conda:
2387
          cu_version: cu101
2388
2389
2390
          filters:
            branches:
              only: nightly
2391
2392
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2393
          name: nightly_binary_linux_conda_py3.8_cu101
2394
          python_version: '3.8'
2395
          wheel_docker_image: pytorch/manylinux-cuda101
2396
2397
2398
2399
2400
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2401
2402
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2403
          name: nightly_binary_linux_conda_py3.8_cu101_upload
2404
          requires:
2405
          - nightly_binary_linux_conda_py3.8_cu101
guyang3532's avatar
guyang3532 committed
2406
2407
2408
2409
2410
2411
2412
2413
2414
      - 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
2415
      - binary_linux_conda:
2416
          cu_version: cu102
2417
2418
2419
          filters:
            branches:
              only: nightly
2420
2421
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2422
          name: nightly_binary_linux_conda_py3.8_cu102
2423
          python_version: '3.8'
2424
          wheel_docker_image: pytorch/manylinux-cuda102
2425
2426
2427
2428
2429
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2430
2431
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2432
          name: nightly_binary_linux_conda_py3.8_cu102_upload
2433
          requires:
2434
          - nightly_binary_linux_conda_py3.8_cu102
guyang3532's avatar
guyang3532 committed
2435
2436
2437
2438
2439
2440
2441
2442
2443
      - 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
peterjc123's avatar
peterjc123 committed
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
      - binary_linux_conda:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.8_cu110
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda110
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.8_cu110_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cu110
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.8_cu110_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_linux_conda_py3.8_cu110_upload
2473
      - binary_macos_conda:
2474
          cu_version: cpu
2475
2476
2477
          filters:
            branches:
              only: nightly
2478
2479
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2480
          name: nightly_binary_macos_conda_py3.6_cpu
2481
          python_version: '3.6'
2482
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2483
2484
      - binary_conda_upload:
          context: org-member
2485
2486
2487
          filters:
            branches:
              only: nightly
2488
2489
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2490
          name: nightly_binary_macos_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2491
          requires:
2492
          - nightly_binary_macos_conda_py3.6_cpu
2493
      - binary_macos_conda:
2494
          cu_version: cpu
2495
2496
2497
          filters:
            branches:
              only: nightly
2498
2499
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2500
          name: nightly_binary_macos_conda_py3.7_cpu
2501
          python_version: '3.7'
2502
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2503
2504
      - binary_conda_upload:
          context: org-member
2505
2506
2507
          filters:
            branches:
              only: nightly
2508
2509
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2510
          name: nightly_binary_macos_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2511
          requires:
2512
2513
2514
2515
2516
2517
          - nightly_binary_macos_conda_py3.7_cpu
      - binary_macos_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
2518
2519
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2520
2521
          name: nightly_binary_macos_conda_py3.8_cpu
          python_version: '3.8'
2522
          wheel_docker_image: pytorch/manylinux-cuda102
2523
2524
2525
2526
2527
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2528
2529
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2530
2531
          name: nightly_binary_macos_conda_py3.8_cpu_upload
          requires:
2532
          - nightly_binary_macos_conda_py3.8_cpu
2533
      - binary_win_conda:
2534
2535
2536
2537
          cu_version: cpu
          filters:
            branches:
              only: nightly
2538
2539
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2540
2541
2542
2543
2544
2545
2546
          name: nightly_binary_win_conda_py3.6_cpu
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2547
2548
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2549
2550
2551
          name: nightly_binary_win_conda_py3.6_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
2552
2553
2554
2555
2556
2557
2558
2559
2560
      - 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
2561
      - binary_win_conda:
2562
          cu_version: cu101
2563
2564
2565
          filters:
            branches:
              only: nightly
2566
2567
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2568
2569
2570
2571
2572
2573
2574
          name: nightly_binary_win_conda_py3.6_cu101
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2575
2576
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2577
2578
2579
          name: nightly_binary_win_conda_py3.6_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu101
guyang3532's avatar
guyang3532 committed
2580
2581
2582
2583
2584
2585
2586
2587
2588
      - 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
2589
      - binary_win_conda:
2590
          cu_version: cu102
2591
2592
2593
          filters:
            branches:
              only: nightly
2594
2595
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2596
2597
2598
2599
2600
2601
2602
          name: nightly_binary_win_conda_py3.6_cu102
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2603
2604
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2605
2606
2607
          name: nightly_binary_win_conda_py3.6_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
2608
2609
2610
2611
2612
2613
2614
2615
2616
      - 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
peterjc123's avatar
peterjc123 committed
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
      - binary_win_conda:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.6_cu110
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.6_cu110_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu110
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.6_cu110_smoke_test_conda
          python_version: '3.6'
          requires:
          - nightly_binary_win_conda_py3.6_cu110_upload
2645
      - binary_win_conda:
2646
2647
2648
2649
          cu_version: cpu
          filters:
            branches:
              only: nightly
2650
2651
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2652
2653
2654
2655
2656
2657
2658
          name: nightly_binary_win_conda_py3.7_cpu
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2659
2660
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2661
2662
2663
          name: nightly_binary_win_conda_py3.7_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
2664
2665
2666
2667
2668
2669
2670
2671
2672
      - 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
2673
      - binary_win_conda:
2674
          cu_version: cu101
2675
2676
2677
          filters:
            branches:
              only: nightly
2678
2679
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2680
2681
2682
2683
2684
2685
2686
          name: nightly_binary_win_conda_py3.7_cu101
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2687
2688
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2689
2690
2691
          name: nightly_binary_win_conda_py3.7_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu101
guyang3532's avatar
guyang3532 committed
2692
2693
2694
2695
2696
2697
2698
2699
2700
      - 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
2701
      - binary_win_conda:
2702
          cu_version: cu102
2703
2704
2705
          filters:
            branches:
              only: nightly
2706
2707
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2708
2709
2710
2711
2712
2713
2714
          name: nightly_binary_win_conda_py3.7_cu102
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2715
2716
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2717
2718
2719
          name: nightly_binary_win_conda_py3.7_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
2720
2721
2722
2723
2724
2725
2726
2727
2728
      - 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
peterjc123's avatar
peterjc123 committed
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
      - binary_win_conda:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.7_cu110
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.7_cu110_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu110
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.7_cu110_smoke_test_conda
          python_version: '3.7'
          requires:
          - nightly_binary_win_conda_py3.7_cu110_upload
2757
      - binary_win_conda:
2758
2759
2760
2761
          cu_version: cpu
          filters:
            branches:
              only: nightly
2762
2763
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2764
2765
2766
2767
2768
2769
2770
          name: nightly_binary_win_conda_py3.8_cpu
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2771
2772
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2773
2774
2775
          name: nightly_binary_win_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
2776
2777
2778
2779
2780
2781
2782
2783
2784
      - 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
2785
      - binary_win_conda:
2786
          cu_version: cu101
2787
2788
2789
          filters:
            branches:
              only: nightly
2790
2791
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2792
2793
2794
2795
2796
2797
2798
          name: nightly_binary_win_conda_py3.8_cu101
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2799
2800
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2801
2802
2803
          name: nightly_binary_win_conda_py3.8_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu101
guyang3532's avatar
guyang3532 committed
2804
2805
2806
2807
2808
2809
2810
2811
2812
      - 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
2813
      - binary_win_conda:
2814
          cu_version: cu102
2815
2816
2817
          filters:
            branches:
              only: nightly
2818
2819
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2820
2821
2822
2823
2824
2825
2826
          name: nightly_binary_win_conda_py3.8_cu102
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2827
2828
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2829
2830
          name: nightly_binary_win_conda_py3.8_cu102_upload
          requires:
guyang3532's avatar
guyang3532 committed
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
          - 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
peterjc123's avatar
peterjc123 committed
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
      - binary_win_conda:
          cu_version: cu110
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.8_cu110
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.8_cu110_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu110
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.8_cu110_smoke_test_conda
          python_version: '3.8'
          requires:
          - nightly_binary_win_conda_py3.8_cu110_upload
guyang3532's avatar
guyang3532 committed
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
  docker_build:
    triggers:
      - schedule:
          cron: "0 10 * * 0"
          filters:
            branches:
              only:
                - master
    jobs:
      - smoke_test_docker_image_build:
          context: org-member