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

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

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

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

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

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

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

87
jobs:
88
89
90
91
92
93
94
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
95
            pip install --user --progress-bar off jinja2 pyyaml
96
97
98
            python .circleci/regenerate.py
            git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)

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

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
116
117
            sudo apt-get update -y
            sudo apt install -y libturbojpeg-dev
118
119
            pip install --user --progress-bar off numpy mypy
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
120
            pip install --user --progress-bar off --editable .
121
            mypy --config-file mypy.ini
122

123
124
125
126
127
128
129
130
131
132
133
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            sudo apt-get update -y
            sudo apt-get install -y clang-format
            ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc

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

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

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

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

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

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

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

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

guyang3532's avatar
guyang3532 committed
303
304
305
306
307
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
308
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
      - 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
327
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
      - 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
348
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
      - 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
368
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
      - 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
394
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
      - 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"

411
412
413
414
415
416
417
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
418
      - designate_upload_channel
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

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

  unittest_linux_gpu:
    <<: *binary_common
    machine:
      image: ubuntu-1604-cuda-10.1:201909-23
    resource_class: gpu.small
    environment:
      image_name: "pytorch/manylinux-cuda101"
    steps:
      - checkout
459
      - designate_upload_channel
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
481
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL "${image_name}" .circleci/unittest/linux/scripts/install.sh
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
      - 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
497
      - designate_upload_channel
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

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

  unittest_windows_gpu:
    <<: *binary_common
    executor:
      name: windows-gpu
    environment:
      CUDA_VERSION: "10.1"
    steps:
      - checkout
537
      - designate_upload_channel
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

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

Francisco Massa's avatar
Francisco Massa committed
569
570
571
572
573
574
575
  unittest_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.4.1"
    resource_class: large
    steps:
      - checkout
576
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
      - 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

612
613
614
615
616
617
618
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
619
      - designate_upload_channel
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
      - 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
637
      - designate_upload_channel
638
639
640
641
642
      - 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
643
          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
644
645
646
647
648
649
650

  cmake_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
      - checkout_merge
651
      - designate_upload_channel
652
653
654
655
656
657
658
659
660
661
662
663
664
665
      - 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
666
      - designate_upload_channel
667
668
669
670
671
672
673
674
675
676
677
678
      - 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
679
      - designate_upload_channel
680
681
682
683
684
685
686
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

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

1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
  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
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
      - 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'
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168

  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'
1169
1170
1171
1172
      - cmake_windows_gpu:
          cu_version: cu101
          name: cmake_windows_gpu
          python_version: '3.8'
1173
1174
1175
1176
1177
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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