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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

212
213
214
  binary_macos_wheel:
    <<: *binary_common
    macos:
215
      xcode: "9.4.1"
216
    steps:
217
      - checkout_merge
218
219
220
221
222
223
224
225
226
227
228
      - run:
          # Cannot easily deduplicate this as source'ing activate
          # will set environment variables which we need to propagate
          # to build_wheel.sh
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
229
230
231
232
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
233
234
235
236

  binary_macos_conda:
    <<: *binary_common
    macos:
237
      xcode: "9.4.1"
238
    steps:
239
      - checkout_merge
240
241
242
243
244
245
246
247
248
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build
            packaging/build_conda.sh
      - store_artifacts:
          path: /Users/distiller/miniconda3/conda-bld/osx-64
Edward Z. Yang's avatar
Edward Z. Yang committed
249
250
251
252
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
253
254
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
255
256
257
258
259
260
261
262

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

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
273
274
275
276
    parameters:
      subfolder:
        description: "What whl subfolder to upload to, e.g., blank or cu100/ (trailing slash is important)"
        type: string
Edward Z. Yang's avatar
Edward Z. Yang committed
277
278
279
280
281
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
282
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
283
284
285
286
287
288
289
290
291
292
      - checkout
      - run:
          command: |
            pip install --user awscli
            export PATH="$HOME/.local/bin:$PATH"
            # Prevent credential from leaking
            set +x
            export AWS_ACCESS_KEY_ID="${PYTORCH_BINARY_AWS_ACCESS_KEY_ID}"
            export AWS_SECRET_ACCESS_KEY="${PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY}"
            set -x
Edward Z. Yang's avatar
Edward Z. Yang committed
293
            for pkg in ~/workspace/*.whl; do
294
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
295
            done
296

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

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

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

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

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

400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - restore_cache:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Francisco Massa's avatar
Francisco Massa committed
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
  unittest_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.4.1"
    resource_class: large
    steps:
      - checkout
      - 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

596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
      - run:
          name: Setup conda
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - run: packaging/build_cmake.sh

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

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

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

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

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

1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
  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
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
      - 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'
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152

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

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