config.yml 114 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
binary_common: &binary_common
  parameters:
51
    # Edit these defaults to do a release
52
53
54
55
56
    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
    conda_docker_image:
      description: "Conda only: what docker image to use"
      type: string
      default: "pytorch/conda-builder:cpu"
80
81
82
83
  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
84
    CU_VERSION: << parameters.cu_version >>
85

guyang3532's avatar
guyang3532 committed
86
87
88
89
90
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: torchvision/smoke_test:latest

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

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

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

127
128
129
130
131
132
133
134
135
136
  docstring_parameters_sync:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user pydocstyle
            pydocstyle

137
138
139
140
141
142
143
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
144
145
146
            curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
            chmod +x clang-format
            sudo mv clang-format /opt/clang-format
147
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
148

Francisco Massa's avatar
Francisco Massa committed
149
150
151
152
153
154
155
156
157
158
159
160
161
  torchhub_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off numpy
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
            # need to install torchvision dependencies due to transitive imports
            pip install --user --progress-bar off --editable .
            python test/test_hub.py

162
163
164
165
166
167
168
169
170
171
172
173
  torch_onnx_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off numpy
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
            # need to install torchvision dependencies due to transitive imports
            pip install --user --progress-bar off --editable .
            pip install --user onnx
174
            pip install --user onnxruntime
175
176
            python test/test_onnx.py

177
178
179
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
180
      - image: << parameters.wheel_docker_image >>
181
182
    resource_class: 2xlarge+
    steps:
183
      - checkout_merge
184
      - designate_upload_channel
185
186
187
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
188
189
190
191
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
192
193
194
195

  binary_linux_conda:
    <<: *binary_common
    docker:
196
      - image: "<< parameters.conda_docker_image >>"
197
    resource_class: 2xlarge+
198
    steps:
199
      - checkout_merge
200
      - designate_upload_channel
201
202
203
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
204
205
206
207
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
208
209
      - store_test_results:
          path: build_results/
210

Francisco Massa's avatar
Francisco Massa committed
211
  binary_win_conda:
212
213
    <<: *binary_common
    executor: windows-cpu
214
215
    steps:
      - checkout_merge
216
      - designate_upload_channel
217
218
219
      - run:
          name: Build conda packages
          command: |
220
221
222
223
224
225
226
            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
227
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
228
      - store_artifacts:
229
          path: C:/tools/miniconda3/conda-bld/win-64
230
      - persist_to_workspace:
231
          root: C:/tools/miniconda3/conda-bld/win-64
232
233
234
235
236
          paths:
            - "*"
      - store_test_results:
          path: build_results/

237
  binary_win_wheel:
238
239
    <<: *binary_common
    executor: windows-cpu
240
241
    steps:
      - checkout_merge
242
      - designate_upload_channel
243
244
245
      - run:
          name: Build wheel packages
          command: |
246
247
248
249
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
250
      - store_artifacts:
251
          path: dist
252
      - persist_to_workspace:
253
          root: dist
254
255
256
257
258
          paths:
            - "*"
      - store_test_results:
          path: build_results/

259
260
261
  binary_macos_wheel:
    <<: *binary_common
    macos:
262
      xcode: "9.4.1"
263
    steps:
264
      - checkout_merge
265
      - designate_upload_channel
266
267
268
269
270
271
272
273
274
275
276
      - 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
277
278
279
280
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
281
282
283
284

  binary_macos_conda:
    <<: *binary_common
    macos:
285
      xcode: "9.4.1"
286
    steps:
287
      - checkout_merge
288
      - designate_upload_channel
289
290
291
292
293
294
295
296
297
      - 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
298
299
300
301
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
302
303
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
304
305
306
307
308
309
310
311

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
312
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
313
314
315
316
317
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
318
            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
319
320
321

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
322
323
324
325
    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
326
327
328
329
330
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
331
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
332
333
334
335
336
337
338
339
340
341
      - 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
342
            for pkg in ~/workspace/*.whl; do
343
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
344
            done
345

guyang3532's avatar
guyang3532 committed
346
347
348
349
350
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
351
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
      - 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
370
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
      - 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
391
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
      - 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
411
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
412
413
414
415
416
417
      - 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
418
419
420
421
422
            CONDA_CHANNEL_FLAGS=""
            if [[ "${PYTHON_VERSION}" = 3.9 ]]; then
              CONDA_CHANNEL_FLAGS="-c=conda-forge"
            fi
            conda create ${CONDA_CHANNEL_FLAGS} -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
            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
441
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
442
443
444
445
446
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
447
448
449
450
451
            CONDA_CHANNEL_FLAGS=""
            if [[ "${PYTHON_VERSION}" = 3.9 ]]; then
              CONDA_CHANNEL_FLAGS="-c=conda-forge"
            fi
            conda create ${CONDA_CHANNEL_FLAGS} -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
guyang3532's avatar
guyang3532 committed
452
453
454
455
456
457
458
459
460
461
            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"

462
463
464
465
466
467
468
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
469
      - designate_upload_channel
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
      - 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"
508
      PYTHON_VERSION: << parameters.python_version >>
509
510
    steps:
      - checkout
511
      - designate_upload_channel
512
513
514
515
516
517
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - run:
          name: Setup
518
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
519
520
521
522
523
524
525
526
527
      - 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
528
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
      - 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
544
      - designate_upload_channel
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
      - 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"
582
      PYTHON_VERSION: << parameters.python_version >>
583
584
    steps:
      - checkout
585
      - designate_upload_channel
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

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

Francisco Massa's avatar
Francisco Massa committed
612
613
614
615
616
617
618
  unittest_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.4.1"
    resource_class: large
    steps:
      - checkout
619
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
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
      - 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

655
656
657
658
659
660
661
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
662
      - designate_upload_channel
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
      - 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
680
      - designate_upload_channel
681
682
683
684
685
      - 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
686
          command: docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -e UPLOAD_CHANNEL -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh
687
688
689
690

  cmake_macos_cpu:
    <<: *binary_common
    macos:
691
      xcode: "9.4.1"
692
693
    steps:
      - checkout_merge
694
      - designate_upload_channel
695
696
697
698
699
700
701
702
703
704
705
706
707
708
      - 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
709
      - designate_upload_channel
710
711
712
713
714
715
716
717
718
719
720
721
      - 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
722
      - designate_upload_channel
723
724
725
726
727
728
729
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
  build_docs:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda100"
    resource_class: 2xlarge+
    steps:
      - attach_workspace:
          at: ~/workspace
      - checkout
      - run:
          name: Setup
          command: .circleci/unittest/linux/scripts/setup_env.sh
      - designate_upload_channel
      - run:
          name: Install torchvision
          command: .circleci/unittest/linux/scripts/install.sh
      - run:
          name: Build docs
          command: |
            set -ex
            tag=${CIRCLE_TAG:1:5}
            VERSION=${tag:-master}
            eval "$(./conda/bin/conda shell.bash hook)"
            conda activate ./env
            pushd docs
            pip install -r requirements.txt
            make html
            popd
      - persist_to_workspace:
          root: ./
          paths:
            - "*"
      - store_artifacts:
          path: ./docs/build/html
          destination: docs

  upload_docs:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda100"
    resource_class: 2xlarge+
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          name: Generate netrc
          command: |
            # set credentials for https pushing
            # requires the org-member context
            cat > ~/.netrc \<<DONE
              machine github.com
              login pytorchbot
              password ${GITHUB_PYTORCHBOT_TOKEN}
            DONE
      - run:
          name: Upload docs
          command: |
            # Don't use "checkout" step since it uses ssh, which cannot git push
            # https://circleci.com/docs/2.0/configuration-reference/#checkout
            set -ex
            tag=${CIRCLE_TAG:1:5}
            target=${tag:-master}
            ~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target


795
796
797
798
workflows:
  build:
    jobs:
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
799
      - binary_linux_wheel:
800
          conda_docker_image: pytorch/conda-builder:cpu
801
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
802
          name: binary_linux_wheel_py3.6_cpu
803
          python_version: '3.6'
804
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
805
      - binary_linux_wheel:
806
          conda_docker_image: pytorch/conda-builder:cuda101
Francisco Massa's avatar
Francisco Massa committed
807
808
809
          cu_version: cu101
          name: binary_linux_wheel_py3.6_cu101
          python_version: '3.6'
810
811
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
812
          conda_docker_image: pytorch/conda-builder:cuda102
813
814
815
816
          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
817
      - binary_linux_wheel:
818
819
820
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_wheel_py3.6_cu112
peterjc123's avatar
peterjc123 committed
821
          python_version: '3.6'
822
          wheel_docker_image: pytorch/manylinux-cuda112
Edward Z. Yang's avatar
Edward Z. Yang committed
823
      - binary_linux_wheel:
824
          conda_docker_image: pytorch/conda-builder:cpu
825
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
826
          name: binary_linux_wheel_py3.7_cpu
827
          python_version: '3.7'
828
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
829
      - binary_linux_wheel:
830
          conda_docker_image: pytorch/conda-builder:cuda101
Francisco Massa's avatar
Francisco Massa committed
831
832
833
          cu_version: cu101
          name: binary_linux_wheel_py3.7_cu101
          python_version: '3.7'
834
835
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
836
          conda_docker_image: pytorch/conda-builder:cuda102
837
838
839
840
          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
841
      - binary_linux_wheel:
842
843
844
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_wheel_py3.7_cu112
peterjc123's avatar
peterjc123 committed
845
          python_version: '3.7'
846
          wheel_docker_image: pytorch/manylinux-cuda112
847
      - binary_linux_wheel:
848
          conda_docker_image: pytorch/conda-builder:cpu
849
850
851
          cu_version: cpu
          name: binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
852
          wheel_docker_image: pytorch/manylinux-cuda102
853
      - binary_linux_wheel:
854
          conda_docker_image: pytorch/conda-builder:cuda101
855
856
857
          cu_version: cu101
          name: binary_linux_wheel_py3.8_cu101
          python_version: '3.8'
858
859
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
860
          conda_docker_image: pytorch/conda-builder:cuda102
861
862
863
864
          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
865
      - binary_linux_wheel:
866
867
868
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_wheel_py3.8_cu112
peterjc123's avatar
peterjc123 committed
869
          python_version: '3.8'
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
          wheel_docker_image: pytorch/manylinux-cuda112
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_linux_wheel_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda101
          cu_version: cu101
          name: binary_linux_wheel_py3.9_cu101
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
          name: binary_linux_wheel_py3.9_cu102
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_wheel_py3.9_cu112
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda112
Edward Z. Yang's avatar
Edward Z. Yang committed
895
      - binary_macos_wheel:
896
          conda_docker_image: pytorch/conda-builder:cpu
897
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
898
          name: binary_macos_wheel_py3.6_cpu
899
          python_version: '3.6'
900
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
901
      - binary_macos_wheel:
902
          conda_docker_image: pytorch/conda-builder:cpu
903
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
904
          name: binary_macos_wheel_py3.7_cpu
905
          python_version: '3.7'
906
          wheel_docker_image: pytorch/manylinux-cuda102
907
      - binary_macos_wheel:
908
          conda_docker_image: pytorch/conda-builder:cpu
909
910
911
          cu_version: cpu
          name: binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
912
          wheel_docker_image: pytorch/manylinux-cuda102
913
914
915
916
917
918
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_macos_wheel_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
919
      - binary_win_wheel:
920
921
922
923
          cu_version: cpu
          filters:
            branches:
              only: master
924
925
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
926
927
          name: binary_win_wheel_py3.6_cpu
          python_version: '3.6'
928
      - binary_win_wheel:
929
          cu_version: cu101
930
931
932
          filters:
            branches:
              only: master
933
934
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
935
936
          name: binary_win_wheel_py3.6_cu101
          python_version: '3.6'
937
      - binary_win_wheel:
938
          cu_version: cu102
939
940
941
          filters:
            branches:
              only: master
942
943
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
944
945
          name: binary_win_wheel_py3.6_cu102
          python_version: '3.6'
peterjc123's avatar
peterjc123 committed
946
      - binary_win_wheel:
947
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
948
949
950
951
952
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
953
          name: binary_win_wheel_py3.6_cu112
peterjc123's avatar
peterjc123 committed
954
          python_version: '3.6'
955
      - binary_win_wheel:
956
957
958
959
          cu_version: cpu
          filters:
            branches:
              only: master
960
961
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
962
963
          name: binary_win_wheel_py3.7_cpu
          python_version: '3.7'
964
      - binary_win_wheel:
965
          cu_version: cu101
966
967
968
          filters:
            branches:
              only: master
969
970
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
971
972
          name: binary_win_wheel_py3.7_cu101
          python_version: '3.7'
973
      - binary_win_wheel:
974
          cu_version: cu102
975
976
977
          filters:
            branches:
              only: master
978
979
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
980
981
          name: binary_win_wheel_py3.7_cu102
          python_version: '3.7'
peterjc123's avatar
peterjc123 committed
982
      - binary_win_wheel:
983
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
984
985
986
987
988
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
989
          name: binary_win_wheel_py3.7_cu112
peterjc123's avatar
peterjc123 committed
990
          python_version: '3.7'
991
      - binary_win_wheel:
992
          cu_version: cpu
993
994
995
996
997
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
998
999
          name: binary_win_wheel_py3.8_cpu
          python_version: '3.8'
1000
      - binary_win_wheel:
1001
          cu_version: cu101
1002
1003
1004
          filters:
            branches:
              only: master
1005
1006
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1007
1008
          name: binary_win_wheel_py3.8_cu101
          python_version: '3.8'
1009
      - binary_win_wheel:
1010
          cu_version: cu102
peterjc123's avatar
peterjc123 committed
1011
1012
1013
1014
1015
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1016
1017
          name: binary_win_wheel_py3.8_cu102
          python_version: '3.8'
peterjc123's avatar
peterjc123 committed
1018
      - binary_win_wheel:
1019
1020
1021
1022
1023
1024
1025
          cu_version: cu112
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_wheel_py3.8_cu112
peterjc123's avatar
peterjc123 committed
1026
          python_version: '3.8'
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
      - binary_win_wheel:
          cu_version: cpu
          name: binary_win_wheel_py3.9_cpu
          python_version: '3.9'
      - binary_win_wheel:
          cu_version: cu101
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_wheel_py3.9_cu101
          python_version: '3.9'
      - binary_win_wheel:
          cu_version: cu102
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_wheel_py3.9_cu102
          python_version: '3.9'
      - binary_win_wheel:
          cu_version: cu112
          name: binary_win_wheel_py3.9_cu112
          python_version: '3.9'
Edward Z. Yang's avatar
Edward Z. Yang committed
1053
      - binary_linux_conda:
1054
          conda_docker_image: pytorch/conda-builder:cpu
1055
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1056
          name: binary_linux_conda_py3.6_cpu
1057
          python_version: '3.6'
1058
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1059
      - binary_linux_conda:
1060
          conda_docker_image: pytorch/conda-builder:cuda101
Francisco Massa's avatar
Francisco Massa committed
1061
1062
1063
          cu_version: cu101
          name: binary_linux_conda_py3.6_cu101
          python_version: '3.6'
1064
1065
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
1066
          conda_docker_image: pytorch/conda-builder:cuda102
1067
1068
1069
1070
          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
1071
      - binary_linux_conda:
1072
1073
1074
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_conda_py3.6_cu112
peterjc123's avatar
peterjc123 committed
1075
          python_version: '3.6'
1076
          wheel_docker_image: pytorch/manylinux-cuda112
Edward Z. Yang's avatar
Edward Z. Yang committed
1077
      - binary_linux_conda:
1078
          conda_docker_image: pytorch/conda-builder:cpu
1079
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1080
          name: binary_linux_conda_py3.7_cpu
1081
          python_version: '3.7'
1082
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1083
      - binary_linux_conda:
1084
          conda_docker_image: pytorch/conda-builder:cuda101
Francisco Massa's avatar
Francisco Massa committed
1085
1086
1087
          cu_version: cu101
          name: binary_linux_conda_py3.7_cu101
          python_version: '3.7'
1088
1089
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
1090
          conda_docker_image: pytorch/conda-builder:cuda102
1091
1092
1093
1094
          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
1095
      - binary_linux_conda:
1096
1097
1098
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_conda_py3.7_cu112
peterjc123's avatar
peterjc123 committed
1099
          python_version: '3.7'
1100
          wheel_docker_image: pytorch/manylinux-cuda112
1101
      - binary_linux_conda:
1102
          conda_docker_image: pytorch/conda-builder:cpu
1103
1104
1105
          cu_version: cpu
          name: binary_linux_conda_py3.8_cpu
          python_version: '3.8'
1106
          wheel_docker_image: pytorch/manylinux-cuda102
1107
      - binary_linux_conda:
1108
          conda_docker_image: pytorch/conda-builder:cuda101
1109
1110
1111
          cu_version: cu101
          name: binary_linux_conda_py3.8_cu101
          python_version: '3.8'
1112
1113
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
1114
          conda_docker_image: pytorch/conda-builder:cuda102
1115
1116
1117
1118
          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
1119
      - binary_linux_conda:
1120
1121
1122
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_conda_py3.8_cu112
peterjc123's avatar
peterjc123 committed
1123
          python_version: '3.8'
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
          wheel_docker_image: pytorch/manylinux-cuda112
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_linux_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda101
          cu_version: cu101
          name: binary_linux_conda_py3.9_cu101
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda101
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
          name: binary_linux_conda_py3.9_cu102
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          name: binary_linux_conda_py3.9_cu112
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda112
Edward Z. Yang's avatar
Edward Z. Yang committed
1149
      - binary_macos_conda:
1150
          conda_docker_image: pytorch/conda-builder:cpu
1151
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1152
          name: binary_macos_conda_py3.6_cpu
1153
          python_version: '3.6'
1154
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1155
      - binary_macos_conda:
1156
          conda_docker_image: pytorch/conda-builder:cpu
1157
          cu_version: cpu
Edward Z. Yang's avatar
Edward Z. Yang committed
1158
          name: binary_macos_conda_py3.7_cpu
1159
          python_version: '3.7'
1160
          wheel_docker_image: pytorch/manylinux-cuda102
1161
      - binary_macos_conda:
1162
          conda_docker_image: pytorch/conda-builder:cpu
1163
1164
1165
          cu_version: cpu
          name: binary_macos_conda_py3.8_cpu
          python_version: '3.8'
1166
          wheel_docker_image: pytorch/manylinux-cuda102
1167
1168
1169
1170
1171
1172
      - binary_macos_conda:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          name: binary_macos_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
1173
      - binary_win_conda:
1174
1175
1176
1177
          cu_version: cpu
          filters:
            branches:
              only: master
1178
1179
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1180
1181
          name: binary_win_conda_py3.6_cpu
          python_version: '3.6'
1182
      - binary_win_conda:
1183
          cu_version: cu101
1184
1185
1186
          filters:
            branches:
              only: master
1187
1188
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1189
1190
          name: binary_win_conda_py3.6_cu101
          python_version: '3.6'
1191
      - binary_win_conda:
1192
          cu_version: cu102
1193
1194
1195
          filters:
            branches:
              only: master
1196
1197
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1198
1199
          name: binary_win_conda_py3.6_cu102
          python_version: '3.6'
peterjc123's avatar
peterjc123 committed
1200
      - binary_win_conda:
1201
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
1202
1203
1204
1205
1206
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1207
          name: binary_win_conda_py3.6_cu112
peterjc123's avatar
peterjc123 committed
1208
          python_version: '3.6'
1209
      - binary_win_conda:
1210
1211
1212
1213
          cu_version: cpu
          filters:
            branches:
              only: master
1214
1215
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1216
1217
          name: binary_win_conda_py3.7_cpu
          python_version: '3.7'
1218
      - binary_win_conda:
1219
          cu_version: cu101
1220
1221
1222
          filters:
            branches:
              only: master
1223
1224
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1225
1226
          name: binary_win_conda_py3.7_cu101
          python_version: '3.7'
1227
      - binary_win_conda:
1228
          cu_version: cu102
1229
1230
1231
          filters:
            branches:
              only: master
1232
1233
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1234
1235
          name: binary_win_conda_py3.7_cu102
          python_version: '3.7'
peterjc123's avatar
peterjc123 committed
1236
      - binary_win_conda:
1237
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
1238
1239
1240
1241
1242
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1243
          name: binary_win_conda_py3.7_cu112
peterjc123's avatar
peterjc123 committed
1244
          python_version: '3.7'
1245
      - binary_win_conda:
1246
          cu_version: cpu
1247
1248
1249
1250
1251
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1252
1253
          name: binary_win_conda_py3.8_cpu
          python_version: '3.8'
1254
      - binary_win_conda:
1255
          cu_version: cu101
1256
1257
1258
          filters:
            branches:
              only: master
1259
1260
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1261
1262
          name: binary_win_conda_py3.8_cu101
          python_version: '3.8'
1263
      - binary_win_conda:
1264
          cu_version: cu102
peterjc123's avatar
peterjc123 committed
1265
1266
1267
1268
1269
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1270
1271
          name: binary_win_conda_py3.8_cu102
          python_version: '3.8'
peterjc123's avatar
peterjc123 committed
1272
      - binary_win_conda:
1273
1274
1275
1276
1277
1278
1279
          cu_version: cu112
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_conda_py3.8_cu112
peterjc123's avatar
peterjc123 committed
1280
          python_version: '3.8'
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
      - binary_win_conda:
          cu_version: cpu
          name: binary_win_conda_py3.9_cpu
          python_version: '3.9'
      - binary_win_conda:
          cu_version: cu101
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_conda_py3.9_cu101
          python_version: '3.9'
      - binary_win_conda:
          cu_version: cu102
          filters:
            branches:
              only: master
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: binary_win_conda_py3.9_cu102
          python_version: '3.9'
      - binary_win_conda:
          cu_version: cu112
          name: binary_win_conda_py3.9_cu112
          python_version: '3.9'
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
      - build_docs:
          name: build_docs
          python_version: '3.7'
          requires:
          - binary_linux_wheel_py3.7_cpu
      - upload_docs:
          context: org-member
          filters:
            branches:
              only:
              - nightly
          name: upload_docs
          python_version: '3.7'
          requires:
          - build_docs
1322
      - python_lint
1323
      - python_type_check
1324
      - docstring_parameters_sync
1325
      - clang_format
Francisco Massa's avatar
Francisco Massa committed
1326
      - torchhub_test
1327
      - torch_onnx_test
Edward Z. Yang's avatar
Edward Z. Yang committed
1328

1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
  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'
1343
1344
1345
1346
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.9
          python_version: '3.9'
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
      - 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'
1369
1370
1371
1372
1373
1374
1375
1376
1377
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.9
          python_version: '3.9'
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
      - 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'
1390
1391
1392
1393
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.9
          python_version: '3.9'
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
      - 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'
1416
1417
1418
1419
1420
1421
1422
1423
1424
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.9
          python_version: '3.9'
Francisco Massa's avatar
Francisco Massa committed
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
      - 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'
1437
1438
1439
1440
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.9
          python_version: '3.9'
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456

  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'
1457
1458
1459
1460
      - cmake_windows_gpu:
          cu_version: cu101
          name: cmake_windows_gpu
          python_version: '3.8'
1461
1462
1463
1464
1465
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

Edward Z. Yang's avatar
Edward Z. Yang committed
1466
1467
1468
  nightly:
    jobs:
      - circleci_consistency
1469
      - python_lint
1470
      - python_type_check
1471
      - docstring_parameters_sync
1472
      - clang_format
Francisco Massa's avatar
Francisco Massa committed
1473
      - torchhub_test
1474
      - torch_onnx_test
1475
      - binary_linux_wheel:
1476
          conda_docker_image: pytorch/conda-builder:cpu
1477
          cu_version: cpu
1478
1479
1480
          filters:
            branches:
              only: nightly
1481
1482
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1483
          name: nightly_binary_linux_wheel_py3.6_cpu
1484
          python_version: '3.6'
1485
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1486
1487
      - binary_wheel_upload:
          context: org-member
1488
1489
1490
          filters:
            branches:
              only: nightly
1491
1492
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1493
          name: nightly_binary_linux_wheel_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1494
          requires:
1495
1496
          - nightly_binary_linux_wheel_py3.6_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1497
1498
1499
1500
1501
1502
1503
1504
1505
      - 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
1506
      - binary_linux_wheel:
1507
          conda_docker_image: pytorch/conda-builder:cuda101
1508
          cu_version: cu101
1509
1510
1511
          filters:
            branches:
              only: nightly
1512
1513
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1514
          name: nightly_binary_linux_wheel_py3.6_cu101
1515
          python_version: '3.6'
1516
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1517
1518
      - binary_wheel_upload:
          context: org-member
1519
1520
1521
          filters:
            branches:
              only: nightly
1522
1523
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1524
          name: nightly_binary_linux_wheel_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1525
          requires:
1526
1527
          - nightly_binary_linux_wheel_py3.6_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1528
1529
1530
1531
1532
1533
1534
1535
1536
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.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
1537
      - binary_linux_wheel:
1538
          conda_docker_image: pytorch/conda-builder:cuda102
1539
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1540
1541
1542
          filters:
            branches:
              only: nightly
1543
1544
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1545
          name: nightly_binary_linux_wheel_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
1546
          python_version: '3.6'
1547
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1548
1549
1550
1551
1552
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1553
1554
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1555
          name: nightly_binary_linux_wheel_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1556
          requires:
1557
1558
          - nightly_binary_linux_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1559
1560
1561
1562
1563
1564
1565
1566
1567
      - 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
1568
      - binary_linux_wheel:
1569
1570
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
1571
1572
1573
1574
1575
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1576
          name: nightly_binary_linux_wheel_py3.6_cu112
peterjc123's avatar
peterjc123 committed
1577
          python_version: '3.6'
1578
          wheel_docker_image: pytorch/manylinux-cuda112
peterjc123's avatar
peterjc123 committed
1579
1580
1581
1582
1583
1584
1585
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1586
          name: nightly_binary_linux_wheel_py3.6_cu112_upload
peterjc123's avatar
peterjc123 committed
1587
          requires:
1588
1589
          - nightly_binary_linux_wheel_py3.6_cu112
          subfolder: cu112/
peterjc123's avatar
peterjc123 committed
1590
1591
1592
1593
1594
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1595
          name: nightly_binary_linux_wheel_py3.6_cu112_smoke_test_pip
peterjc123's avatar
peterjc123 committed
1596
1597
          python_version: '3.6'
          requires:
1598
          - nightly_binary_linux_wheel_py3.6_cu112_upload
1599
      - binary_linux_wheel:
1600
          conda_docker_image: pytorch/conda-builder:cpu
1601
          cu_version: cpu
1602
1603
1604
          filters:
            branches:
              only: nightly
1605
1606
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
1607
          name: nightly_binary_linux_wheel_py3.7_cpu
1608
          python_version: '3.7'
1609
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1610
1611
      - binary_wheel_upload:
          context: org-member
1612
1613
1614
          filters:
            branches:
              only: nightly
1615
1616
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1617
          name: nightly_binary_linux_wheel_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1618
          requires:
1619
1620
          - nightly_binary_linux_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1621
1622
1623
1624
1625
1626
1627
1628
1629
      - 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
1630
      - binary_linux_wheel:
1631
          conda_docker_image: pytorch/conda-builder:cuda101
1632
          cu_version: cu101
1633
1634
1635
          filters:
            branches:
              only: nightly
1636
1637
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1638
          name: nightly_binary_linux_wheel_py3.7_cu101
1639
          python_version: '3.7'
1640
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1641
1642
      - binary_wheel_upload:
          context: org-member
1643
1644
1645
          filters:
            branches:
              only: nightly
1646
1647
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1648
          name: nightly_binary_linux_wheel_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1649
          requires:
1650
1651
          - nightly_binary_linux_wheel_py3.7_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1652
1653
1654
1655
1656
1657
1658
1659
1660
      - 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
1661
      - binary_linux_wheel:
1662
          conda_docker_image: pytorch/conda-builder:cuda102
1663
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
1664
1665
1666
          filters:
            branches:
              only: nightly
1667
1668
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1669
          name: nightly_binary_linux_wheel_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
1670
          python_version: '3.7'
1671
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
1672
1673
1674
1675
1676
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1677
1678
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1679
          name: nightly_binary_linux_wheel_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
1680
          requires:
1681
1682
          - nightly_binary_linux_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1683
1684
1685
1686
1687
1688
1689
1690
1691
      - 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
1692
      - binary_linux_wheel:
1693
1694
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
1695
1696
1697
1698
1699
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1700
          name: nightly_binary_linux_wheel_py3.7_cu112
peterjc123's avatar
peterjc123 committed
1701
          python_version: '3.7'
1702
          wheel_docker_image: pytorch/manylinux-cuda112
peterjc123's avatar
peterjc123 committed
1703
1704
1705
1706
1707
1708
1709
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1710
          name: nightly_binary_linux_wheel_py3.7_cu112_upload
peterjc123's avatar
peterjc123 committed
1711
          requires:
1712
1713
          - nightly_binary_linux_wheel_py3.7_cu112
          subfolder: cu112/
peterjc123's avatar
peterjc123 committed
1714
1715
1716
1717
1718
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1719
          name: nightly_binary_linux_wheel_py3.7_cu112_smoke_test_pip
peterjc123's avatar
peterjc123 committed
1720
1721
          python_version: '3.7'
          requires:
1722
          - nightly_binary_linux_wheel_py3.7_cu112_upload
1723
      - binary_linux_wheel:
1724
          conda_docker_image: pytorch/conda-builder:cpu
1725
1726
1727
1728
          cu_version: cpu
          filters:
            branches:
              only: nightly
1729
1730
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1731
1732
          name: nightly_binary_linux_wheel_py3.8_cpu
          python_version: '3.8'
1733
          wheel_docker_image: pytorch/manylinux-cuda102
1734
1735
1736
1737
1738
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1739
1740
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1741
1742
1743
1744
          name: nightly_binary_linux_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
1745
1746
1747
1748
1749
1750
1751
1752
1753
      - 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
1754
      - binary_linux_wheel:
1755
          conda_docker_image: pytorch/conda-builder:cuda101
1756
          cu_version: cu101
1757
1758
1759
          filters:
            branches:
              only: nightly
1760
1761
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1762
          name: nightly_binary_linux_wheel_py3.8_cu101
1763
          python_version: '3.8'
1764
          wheel_docker_image: pytorch/manylinux-cuda101
1765
1766
1767
1768
1769
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1770
1771
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1772
          name: nightly_binary_linux_wheel_py3.8_cu101_upload
1773
          requires:
1774
1775
          - nightly_binary_linux_wheel_py3.8_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
1776
1777
1778
1779
1780
1781
1782
1783
1784
      - 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
1785
      - binary_linux_wheel:
1786
          conda_docker_image: pytorch/conda-builder:cuda102
1787
          cu_version: cu102
1788
1789
1790
          filters:
            branches:
              only: nightly
1791
1792
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1793
          name: nightly_binary_linux_wheel_py3.8_cu102
1794
          python_version: '3.8'
1795
          wheel_docker_image: pytorch/manylinux-cuda102
1796
1797
1798
1799
1800
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1801
1802
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1803
          name: nightly_binary_linux_wheel_py3.8_cu102_upload
1804
          requires:
1805
1806
          - nightly_binary_linux_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
1807
1808
1809
1810
1811
1812
1813
1814
1815
      - 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
1816
      - binary_linux_wheel:
1817
1818
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
1819
1820
1821
1822
1823
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1824
          name: nightly_binary_linux_wheel_py3.8_cu112
peterjc123's avatar
peterjc123 committed
1825
          python_version: '3.8'
1826
          wheel_docker_image: pytorch/manylinux-cuda112
peterjc123's avatar
peterjc123 committed
1827
1828
1829
1830
1831
1832
1833
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1834
          name: nightly_binary_linux_wheel_py3.8_cu112_upload
peterjc123's avatar
peterjc123 committed
1835
          requires:
1836
1837
          - nightly_binary_linux_wheel_py3.8_cu112
          subfolder: cu112/
peterjc123's avatar
peterjc123 committed
1838
1839
1840
1841
1842
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
1843
          name: nightly_binary_linux_wheel_py3.8_cu112_smoke_test_pip
peterjc123's avatar
peterjc123 committed
1844
1845
          python_version: '3.8'
          requires:
1846
1847
1848
          - nightly_binary_linux_wheel_py3.8_cu112_upload
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
1849
          cu_version: cpu
1850
1851
1852
          filters:
            branches:
              only: nightly
1853
1854
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1855
1856
          name: nightly_binary_linux_wheel_py3.9_cpu
          python_version: '3.9'
1857
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
1858
1859
      - binary_wheel_upload:
          context: org-member
1860
1861
1862
          filters:
            branches:
              only: nightly
1863
1864
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1865
          name: nightly_binary_linux_wheel_py3.9_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1866
          requires:
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
          - nightly_binary_linux_wheel_py3.9_cpu
          subfolder: cpu/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.9_cpu_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_linux_wheel_py3.9_cpu_upload
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda101
          cu_version: cu101
1881
1882
1883
          filters:
            branches:
              only: nightly
1884
1885
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1886
1887
1888
          name: nightly_binary_linux_wheel_py3.9_cu101
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
1889
1890
      - binary_wheel_upload:
          context: org-member
1891
1892
1893
          filters:
            branches:
              only: nightly
1894
1895
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1896
          name: nightly_binary_linux_wheel_py3.9_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
1897
          requires:
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
          - nightly_binary_linux_wheel_py3.9_cu101
          subfolder: cu101/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.9_cu101_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_linux_wheel_py3.9_cu101_upload
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
1912
1913
1914
          filters:
            branches:
              only: nightly
1915
1916
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1917
1918
          name: nightly_binary_linux_wheel_py3.9_cu102
          python_version: '3.9'
1919
          wheel_docker_image: pytorch/manylinux-cuda102
1920
1921
1922
1923
1924
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1925
1926
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1927
          name: nightly_binary_linux_wheel_py3.9_cu102_upload
1928
          requires:
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
          - nightly_binary_linux_wheel_py3.9_cu102
          subfolder: cu102/
      - smoke_test_linux_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_wheel_py3.9_cu102_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_linux_wheel_py3.9_cu102_upload
      - binary_linux_wheel:
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
1943
1944
1945
          filters:
            branches:
              only: nightly
1946
1947
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1948
1949
1950
          name: nightly_binary_linux_wheel_py3.9_cu112
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda112
1951
1952
1953
1954
1955
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1956
1957
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1958
          name: nightly_binary_linux_wheel_py3.9_cu112_upload
1959
          requires:
1960
1961
1962
          - nightly_binary_linux_wheel_py3.9_cu112
          subfolder: cu112/
      - smoke_test_linux_pip:
guyang3532's avatar
guyang3532 committed
1963
1964
1965
1966
          filters:
            branches:
              only:
              - nightly
1967
1968
          name: nightly_binary_linux_wheel_py3.9_cu112_smoke_test_pip
          python_version: '3.9'
guyang3532's avatar
guyang3532 committed
1969
          requires:
1970
1971
1972
1973
          - nightly_binary_linux_wheel_py3.9_cu112_upload
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
1974
1975
1976
          filters:
            branches:
              only: nightly
1977
1978
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1979
          name: nightly_binary_macos_wheel_py3.6_cpu
1980
          python_version: '3.6'
1981
          wheel_docker_image: pytorch/manylinux-cuda102
1982
1983
1984
1985
1986
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
1987
1988
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
1989
          name: nightly_binary_macos_wheel_py3.6_cpu_upload
1990
          requires:
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
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
          - nightly_binary_macos_wheel_py3.6_cpu
          subfolder: ''
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.7_cpu
          python_version: '3.7'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.7_cpu
          subfolder: ''
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.8_cpu
          python_version: '3.8'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.8_cpu
          subfolder: ''
      - binary_macos_wheel:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_wheel_py3.9_cpu_upload
          requires:
          - nightly_binary_macos_wheel_py3.9_cpu
          subfolder: ''
      - binary_win_wheel:
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.6_cpu
          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_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cpu
          subfolder: cpu/
      - 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
      - binary_win_wheel:
          cu_version: cu101
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.6_cu101
          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_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu101
          subfolder: cu101/
      - smoke_test_win_pip:
guyang3532's avatar
guyang3532 committed
2109
2110
2111
2112
2113
2114
2115
2116
          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
2117
      - binary_win_wheel:
2118
          cu_version: cu102
2119
2120
2121
          filters:
            branches:
              only: nightly
2122
2123
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2124
2125
2126
2127
2128
2129
2130
          name: nightly_binary_win_wheel_py3.6_cu102
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2131
2132
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2133
2134
2135
2136
          name: nightly_binary_win_wheel_py3.6_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.6_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2137
2138
2139
2140
2141
2142
2143
2144
2145
      - 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
2146
      - binary_win_wheel:
2147
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
2148
2149
2150
2151
2152
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2153
          name: nightly_binary_win_wheel_py3.6_cu112
peterjc123's avatar
peterjc123 committed
2154
2155
2156
2157
2158
2159
2160
2161
          python_version: '3.6'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2162
          name: nightly_binary_win_wheel_py3.6_cu112_upload
peterjc123's avatar
peterjc123 committed
2163
          requires:
2164
2165
          - nightly_binary_win_wheel_py3.6_cu112
          subfolder: cu112/
peterjc123's avatar
peterjc123 committed
2166
2167
2168
2169
2170
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2171
          name: nightly_binary_win_wheel_py3.6_cu112_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2172
2173
          python_version: '3.6'
          requires:
2174
          - nightly_binary_win_wheel_py3.6_cu112_upload
2175
      - binary_win_wheel:
2176
2177
2178
2179
          cu_version: cpu
          filters:
            branches:
              only: nightly
2180
2181
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2182
2183
2184
2185
2186
2187
2188
          name: nightly_binary_win_wheel_py3.7_cpu
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2189
2190
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2191
2192
2193
2194
          name: nightly_binary_win_wheel_py3.7_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
2195
2196
2197
2198
2199
2200
2201
2202
2203
      - 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
2204
      - binary_win_wheel:
2205
          cu_version: cu101
2206
2207
2208
          filters:
            branches:
              only: nightly
2209
2210
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2211
2212
2213
2214
2215
2216
2217
          name: nightly_binary_win_wheel_py3.7_cu101
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2218
2219
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2220
2221
2222
2223
          name: nightly_binary_win_wheel_py3.7_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
2224
2225
2226
2227
2228
2229
2230
2231
2232
      - 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
2233
      - binary_win_wheel:
2234
          cu_version: cu102
2235
2236
2237
          filters:
            branches:
              only: nightly
2238
2239
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2240
2241
2242
2243
2244
2245
2246
          name: nightly_binary_win_wheel_py3.7_cu102
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2247
2248
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2249
2250
2251
2252
          name: nightly_binary_win_wheel_py3.7_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.7_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2253
2254
2255
2256
2257
2258
2259
2260
2261
      - 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
2262
      - binary_win_wheel:
2263
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
2264
2265
2266
2267
2268
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2269
          name: nightly_binary_win_wheel_py3.7_cu112
peterjc123's avatar
peterjc123 committed
2270
2271
2272
2273
2274
2275
2276
2277
          python_version: '3.7'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2278
          name: nightly_binary_win_wheel_py3.7_cu112_upload
peterjc123's avatar
peterjc123 committed
2279
          requires:
2280
2281
          - nightly_binary_win_wheel_py3.7_cu112
          subfolder: cu112/
peterjc123's avatar
peterjc123 committed
2282
2283
2284
2285
2286
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2287
          name: nightly_binary_win_wheel_py3.7_cu112_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2288
2289
          python_version: '3.7'
          requires:
2290
          - nightly_binary_win_wheel_py3.7_cu112_upload
2291
      - binary_win_wheel:
2292
2293
2294
2295
          cu_version: cpu
          filters:
            branches:
              only: nightly
2296
2297
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2298
2299
2300
2301
2302
2303
2304
          name: nightly_binary_win_wheel_py3.8_cpu
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2305
2306
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2307
2308
2309
2310
          name: nightly_binary_win_wheel_py3.8_cpu_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cpu
          subfolder: cpu/
guyang3532's avatar
guyang3532 committed
2311
2312
2313
2314
2315
2316
2317
2318
2319
      - 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
2320
      - binary_win_wheel:
2321
          cu_version: cu101
2322
2323
2324
          filters:
            branches:
              only: nightly
2325
2326
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2327
2328
2329
2330
2331
2332
2333
          name: nightly_binary_win_wheel_py3.8_cu101
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2334
2335
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2336
2337
2338
2339
          name: nightly_binary_win_wheel_py3.8_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu101
          subfolder: cu101/
guyang3532's avatar
guyang3532 committed
2340
2341
2342
2343
2344
2345
2346
2347
2348
      - 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
2349
      - binary_win_wheel:
2350
          cu_version: cu102
2351
2352
2353
          filters:
            branches:
              only: nightly
2354
2355
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2356
2357
2358
2359
2360
2361
2362
          name: nightly_binary_win_wheel_py3.8_cu102
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2363
2364
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2365
2366
2367
2368
          name: nightly_binary_win_wheel_py3.8_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.8_cu102
          subfolder: cu102/
guyang3532's avatar
guyang3532 committed
2369
2370
2371
2372
2373
2374
2375
2376
2377
      - 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
2378
      - binary_win_wheel:
2379
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
2380
2381
2382
2383
2384
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2385
          name: nightly_binary_win_wheel_py3.8_cu112
peterjc123's avatar
peterjc123 committed
2386
2387
2388
2389
2390
2391
2392
2393
          python_version: '3.8'
      - binary_wheel_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2394
          name: nightly_binary_win_wheel_py3.8_cu112_upload
peterjc123's avatar
peterjc123 committed
2395
          requires:
2396
2397
          - nightly_binary_win_wheel_py3.8_cu112
          subfolder: cu112/
peterjc123's avatar
peterjc123 committed
2398
2399
2400
2401
2402
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
2403
          name: nightly_binary_win_wheel_py3.8_cu112_smoke_test_pip
peterjc123's avatar
peterjc123 committed
2404
2405
          python_version: '3.8'
          requires:
2406
2407
          - nightly_binary_win_wheel_py3.8_cu112_upload
      - binary_win_wheel:
2408
          cu_version: cpu
2409
2410
2411
          filters:
            branches:
              only: nightly
2412
2413
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2414
2415
2416
          name: nightly_binary_win_wheel_py3.9_cpu
          python_version: '3.9'
      - binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
2417
          context: org-member
2418
2419
2420
          filters:
            branches:
              only: nightly
2421
2422
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2423
          name: nightly_binary_win_wheel_py3.9_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2424
          requires:
2425
2426
2427
          - nightly_binary_win_wheel_py3.9_cpu
          subfolder: cpu/
      - smoke_test_win_pip:
guyang3532's avatar
guyang3532 committed
2428
2429
2430
2431
          filters:
            branches:
              only:
              - nightly
2432
2433
          name: nightly_binary_win_wheel_py3.9_cpu_smoke_test_pip
          python_version: '3.9'
guyang3532's avatar
guyang3532 committed
2434
          requires:
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
          - nightly_binary_win_wheel_py3.9_cpu_upload
      - binary_win_wheel:
          cu_version: cu101
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.9_cu101
          python_version: '3.9'
      - 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.9_cu101_upload
          requires:
          - nightly_binary_win_wheel_py3.9_cu101
          subfolder: cu101/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.9_cu101_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_win_wheel_py3.9_cu101_upload
      - binary_win_wheel:
          cu_version: cu102
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.9_cu102
          python_version: '3.9'
      - 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.9_cu102_upload
          requires:
          - nightly_binary_win_wheel_py3.9_cu102
          subfolder: cu102/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.9_cu102_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_win_wheel_py3.9_cu102_upload
      - binary_win_wheel:
          cu_version: cu112
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_wheel_py3.9_cu112
          python_version: '3.9'
      - 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.9_cu112_upload
          requires:
          - nightly_binary_win_wheel_py3.9_cu112
          subfolder: cu112/
      - smoke_test_win_pip:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_wheel_py3.9_cu112_smoke_test_pip
          python_version: '3.9'
          requires:
          - nightly_binary_win_wheel_py3.9_cu112_upload
2523
      - binary_linux_conda:
2524
2525
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
2526
2527
2528
          filters:
            branches:
              only: nightly
2529
2530
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2531
          name: nightly_binary_linux_conda_py3.6_cpu
2532
          python_version: '3.6'
2533
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2534
2535
      - binary_conda_upload:
          context: org-member
2536
2537
2538
          filters:
            branches:
              only: nightly
2539
2540
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2541
          name: nightly_binary_linux_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2542
          requires:
2543
          - nightly_binary_linux_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
2544
2545
2546
2547
2548
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2549
          name: nightly_binary_linux_conda_py3.6_cpu_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2550
2551
          python_version: '3.6'
          requires:
2552
          - nightly_binary_linux_conda_py3.6_cpu_upload
2553
      - binary_linux_conda:
2554
          conda_docker_image: pytorch/conda-builder:cuda101
2555
          cu_version: cu101
2556
2557
2558
          filters:
            branches:
              only: nightly
2559
2560
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2561
          name: nightly_binary_linux_conda_py3.6_cu101
2562
          python_version: '3.6'
2563
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
2564
2565
      - binary_conda_upload:
          context: org-member
2566
2567
2568
          filters:
            branches:
              only: nightly
2569
2570
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2571
          name: nightly_binary_linux_conda_py3.6_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2572
          requires:
2573
          - nightly_binary_linux_conda_py3.6_cu101
guyang3532's avatar
guyang3532 committed
2574
2575
2576
2577
2578
2579
2580
2581
2582
      - 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
2583
      - binary_linux_conda:
2584
          conda_docker_image: pytorch/conda-builder:cuda102
2585
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
2586
2587
2588
          filters:
            branches:
              only: nightly
2589
2590
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2591
          name: nightly_binary_linux_conda_py3.6_cu102
Francisco Massa's avatar
Francisco Massa committed
2592
          python_version: '3.6'
2593
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
2594
2595
2596
2597
2598
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2599
2600
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2601
          name: nightly_binary_linux_conda_py3.6_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
2602
          requires:
2603
          - nightly_binary_linux_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
2604
2605
2606
2607
2608
2609
2610
2611
2612
      - 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
2613
      - binary_linux_conda:
2614
2615
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
2616
2617
2618
2619
2620
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2621
          name: nightly_binary_linux_conda_py3.6_cu112
peterjc123's avatar
peterjc123 committed
2622
          python_version: '3.6'
2623
          wheel_docker_image: pytorch/manylinux-cuda112
peterjc123's avatar
peterjc123 committed
2624
2625
2626
2627
2628
2629
2630
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2631
          name: nightly_binary_linux_conda_py3.6_cu112_upload
peterjc123's avatar
peterjc123 committed
2632
          requires:
2633
          - nightly_binary_linux_conda_py3.6_cu112
peterjc123's avatar
peterjc123 committed
2634
2635
2636
2637
2638
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2639
          name: nightly_binary_linux_conda_py3.6_cu112_smoke_test_conda
peterjc123's avatar
peterjc123 committed
2640
2641
          python_version: '3.6'
          requires:
2642
          - nightly_binary_linux_conda_py3.6_cu112_upload
2643
      - binary_linux_conda:
2644
          conda_docker_image: pytorch/conda-builder:cpu
2645
          cu_version: cpu
2646
2647
2648
          filters:
            branches:
              only: nightly
2649
2650
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
2651
          name: nightly_binary_linux_conda_py3.7_cpu
2652
          python_version: '3.7'
2653
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
2654
2655
      - binary_conda_upload:
          context: org-member
2656
2657
2658
          filters:
            branches:
              only: nightly
2659
2660
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2661
          name: nightly_binary_linux_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2662
          requires:
2663
          - nightly_binary_linux_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
2664
2665
2666
2667
2668
2669
2670
2671
2672
      - 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
2673
      - binary_linux_conda:
2674
          conda_docker_image: pytorch/conda-builder:cuda101
2675
          cu_version: cu101
2676
2677
2678
          filters:
            branches:
              only: nightly
2679
2680
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2681
          name: nightly_binary_linux_conda_py3.7_cu101
2682
          python_version: '3.7'
2683
          wheel_docker_image: pytorch/manylinux-cuda101
Edward Z. Yang's avatar
Edward Z. Yang committed
2684
2685
      - binary_conda_upload:
          context: org-member
2686
2687
2688
          filters:
            branches:
              only: nightly
2689
2690
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2691
          name: nightly_binary_linux_conda_py3.7_cu101_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
2692
          requires:
2693
          - nightly_binary_linux_conda_py3.7_cu101
guyang3532's avatar
guyang3532 committed
2694
2695
2696
2697
2698
2699
2700
2701
2702
      - 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
2703
      - binary_linux_conda:
2704
          conda_docker_image: pytorch/conda-builder:cuda102
2705
          cu_version: cu102
Francisco Massa's avatar
Francisco Massa committed
2706
2707
2708
          filters:
            branches:
              only: nightly
2709
2710
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2711
          name: nightly_binary_linux_conda_py3.7_cu102
Francisco Massa's avatar
Francisco Massa committed
2712
          python_version: '3.7'
2713
          wheel_docker_image: pytorch/manylinux-cuda102
Francisco Massa's avatar
Francisco Massa committed
2714
2715
2716
2717
2718
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2719
2720
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2721
          name: nightly_binary_linux_conda_py3.7_cu102_upload
Francisco Massa's avatar
Francisco Massa committed
2722
          requires:
2723
          - nightly_binary_linux_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
2724
2725
2726
2727
2728
2729
2730
2731
2732
      - 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
2733
      - binary_linux_conda:
2734
2735
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
2736
2737
2738
2739
2740
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2741
          name: nightly_binary_linux_conda_py3.7_cu112
peterjc123's avatar
peterjc123 committed
2742
          python_version: '3.7'
2743
          wheel_docker_image: pytorch/manylinux-cuda112
peterjc123's avatar
peterjc123 committed
2744
2745
2746
2747
2748
2749
2750
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2751
          name: nightly_binary_linux_conda_py3.7_cu112_upload
peterjc123's avatar
peterjc123 committed
2752
          requires:
2753
          - nightly_binary_linux_conda_py3.7_cu112
peterjc123's avatar
peterjc123 committed
2754
2755
2756
2757
2758
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2759
          name: nightly_binary_linux_conda_py3.7_cu112_smoke_test_conda
peterjc123's avatar
peterjc123 committed
2760
2761
          python_version: '3.7'
          requires:
2762
          - nightly_binary_linux_conda_py3.7_cu112_upload
2763
      - binary_linux_conda:
2764
          conda_docker_image: pytorch/conda-builder:cpu
2765
2766
2767
2768
          cu_version: cpu
          filters:
            branches:
              only: nightly
2769
2770
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2771
2772
          name: nightly_binary_linux_conda_py3.8_cpu
          python_version: '3.8'
2773
          wheel_docker_image: pytorch/manylinux-cuda102
2774
2775
2776
2777
2778
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2779
2780
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2781
2782
2783
          name: nightly_binary_linux_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_linux_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
2784
2785
2786
2787
2788
2789
2790
2791
2792
      - 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
2793
      - binary_linux_conda:
2794
2795
          conda_docker_image: pytorch/conda-builder:cuda101
          cu_version: cu101
2796
2797
2798
          filters:
            branches:
              only: nightly
2799
2800
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2801
          name: nightly_binary_linux_conda_py3.8_cu101
2802
          python_version: '3.8'
2803
          wheel_docker_image: pytorch/manylinux-cuda101
2804
2805
2806
2807
2808
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2809
2810
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2811
          name: nightly_binary_linux_conda_py3.8_cu101_upload
2812
          requires:
2813
          - nightly_binary_linux_conda_py3.8_cu101
guyang3532's avatar
guyang3532 committed
2814
2815
2816
2817
2818
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2819
          name: nightly_binary_linux_conda_py3.8_cu101_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2820
2821
          python_version: '3.8'
          requires:
2822
          - nightly_binary_linux_conda_py3.8_cu101_upload
2823
      - binary_linux_conda:
2824
2825
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
2826
2827
2828
          filters:
            branches:
              only: nightly
2829
2830
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2831
          name: nightly_binary_linux_conda_py3.8_cu102
2832
          python_version: '3.8'
2833
          wheel_docker_image: pytorch/manylinux-cuda102
2834
2835
2836
2837
2838
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2839
2840
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2841
          name: nightly_binary_linux_conda_py3.8_cu102_upload
2842
          requires:
2843
          - nightly_binary_linux_conda_py3.8_cu102
guyang3532's avatar
guyang3532 committed
2844
2845
2846
2847
2848
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2849
          name: nightly_binary_linux_conda_py3.8_cu102_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2850
2851
          python_version: '3.8'
          requires:
2852
          - nightly_binary_linux_conda_py3.8_cu102_upload
2853
      - binary_linux_conda:
2854
2855
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
2856
2857
2858
          filters:
            branches:
              only: nightly
2859
2860
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2861
          name: nightly_binary_linux_conda_py3.8_cu112
2862
          python_version: '3.8'
2863
          wheel_docker_image: pytorch/manylinux-cuda112
2864
2865
2866
2867
2868
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
2869
2870
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2871
          name: nightly_binary_linux_conda_py3.8_cu112_upload
2872
          requires:
2873
          - nightly_binary_linux_conda_py3.8_cu112
guyang3532's avatar
guyang3532 committed
2874
2875
2876
2877
2878
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2879
          name: nightly_binary_linux_conda_py3.8_cu112_smoke_test_conda
guyang3532's avatar
guyang3532 committed
2880
2881
          python_version: '3.8'
          requires:
2882
          - nightly_binary_linux_conda_py3.8_cu112_upload
peterjc123's avatar
peterjc123 committed
2883
      - binary_linux_conda:
2884
2885
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
peterjc123's avatar
peterjc123 committed
2886
2887
2888
2889
2890
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2891
2892
2893
          name: nightly_binary_linux_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
peterjc123's avatar
peterjc123 committed
2894
2895
2896
2897
2898
2899
2900
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
2901
          name: nightly_binary_linux_conda_py3.9_cpu_upload
peterjc123's avatar
peterjc123 committed
2902
          requires:
2903
          - nightly_binary_linux_conda_py3.9_cpu
peterjc123's avatar
peterjc123 committed
2904
2905
2906
2907
2908
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
          name: nightly_binary_linux_conda_py3.9_cpu_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_linux_conda_py3.9_cpu_upload
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda101
          cu_version: cu101
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.9_cu101
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda101
      - 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.9_cu101_upload
          requires:
          - nightly_binary_linux_conda_py3.9_cu101
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.9_cu101_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_linux_conda_py3.9_cu101_upload
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda102
          cu_version: cu102
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.9_cu102
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - 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.9_cu102_upload
          requires:
          - nightly_binary_linux_conda_py3.9_cu102
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.9_cu102_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_linux_conda_py3.9_cu102_upload
      - binary_linux_conda:
          conda_docker_image: pytorch/conda-builder:cuda112
          cu_version: cu112
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_linux_conda_py3.9_cu112
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda112
      - 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.9_cu112_upload
peterjc123's avatar
peterjc123 committed
2992
          requires:
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
          - nightly_binary_linux_conda_py3.9_cu112
      - smoke_test_linux_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_linux_conda_py3.9_cu112_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_linux_conda_py3.9_cu112_upload
3003
      - binary_macos_conda:
3004
          conda_docker_image: pytorch/conda-builder:cpu
3005
          cu_version: cpu
3006
3007
3008
          filters:
            branches:
              only: nightly
3009
3010
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
3011
          name: nightly_binary_macos_conda_py3.6_cpu
3012
          python_version: '3.6'
3013
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
3014
3015
      - binary_conda_upload:
          context: org-member
3016
3017
3018
          filters:
            branches:
              only: nightly
3019
3020
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3021
          name: nightly_binary_macos_conda_py3.6_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
3022
          requires:
3023
          - nightly_binary_macos_conda_py3.6_cpu
3024
      - binary_macos_conda:
3025
          conda_docker_image: pytorch/conda-builder:cpu
3026
          cu_version: cpu
3027
3028
3029
          filters:
            branches:
              only: nightly
3030
3031
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
Edward Z. Yang's avatar
Edward Z. Yang committed
3032
          name: nightly_binary_macos_conda_py3.7_cpu
3033
          python_version: '3.7'
3034
          wheel_docker_image: pytorch/manylinux-cuda102
Edward Z. Yang's avatar
Edward Z. Yang committed
3035
3036
      - binary_conda_upload:
          context: org-member
3037
3038
3039
          filters:
            branches:
              only: nightly
3040
3041
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3042
          name: nightly_binary_macos_conda_py3.7_cpu_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
3043
          requires:
3044
3045
          - nightly_binary_macos_conda_py3.7_cpu
      - binary_macos_conda:
3046
          conda_docker_image: pytorch/conda-builder:cpu
3047
3048
3049
3050
          cu_version: cpu
          filters:
            branches:
              only: nightly
3051
3052
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3053
3054
          name: nightly_binary_macos_conda_py3.8_cpu
          python_version: '3.8'
3055
          wheel_docker_image: pytorch/manylinux-cuda102
3056
3057
3058
3059
3060
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3061
3062
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3063
3064
          name: nightly_binary_macos_conda_py3.8_cpu_upload
          requires:
3065
          - nightly_binary_macos_conda_py3.8_cpu
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
      - binary_macos_conda:
          conda_docker_image: pytorch/conda-builder:cpu
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_conda_py3.9_cpu
          python_version: '3.9'
          wheel_docker_image: pytorch/manylinux-cuda102
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_macos_conda_py3.9_cpu_upload
          requires:
          - nightly_binary_macos_conda_py3.9_cpu
3087
      - binary_win_conda:
3088
3089
3090
3091
          cu_version: cpu
          filters:
            branches:
              only: nightly
3092
3093
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3094
3095
3096
3097
3098
3099
3100
          name: nightly_binary_win_conda_py3.6_cpu
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3101
3102
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3103
3104
3105
          name: nightly_binary_win_conda_py3.6_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.6_cpu
guyang3532's avatar
guyang3532 committed
3106
3107
3108
3109
3110
3111
3112
3113
3114
      - 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
3115
      - binary_win_conda:
3116
          cu_version: cu101
3117
3118
3119
          filters:
            branches:
              only: nightly
3120
3121
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3122
3123
3124
3125
3126
3127
3128
          name: nightly_binary_win_conda_py3.6_cu101
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3129
3130
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3131
3132
3133
          name: nightly_binary_win_conda_py3.6_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu101
guyang3532's avatar
guyang3532 committed
3134
3135
3136
3137
3138
3139
3140
3141
3142
      - 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
3143
      - binary_win_conda:
3144
          cu_version: cu102
3145
3146
3147
          filters:
            branches:
              only: nightly
3148
3149
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3150
3151
3152
3153
3154
3155
3156
          name: nightly_binary_win_conda_py3.6_cu102
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3157
3158
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3159
3160
3161
          name: nightly_binary_win_conda_py3.6_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.6_cu102
guyang3532's avatar
guyang3532 committed
3162
3163
3164
3165
3166
3167
3168
3169
3170
      - 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
3171
      - binary_win_conda:
3172
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
3173
3174
3175
3176
3177
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3178
          name: nightly_binary_win_conda_py3.6_cu112
peterjc123's avatar
peterjc123 committed
3179
3180
3181
3182
3183
3184
3185
3186
          python_version: '3.6'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3187
          name: nightly_binary_win_conda_py3.6_cu112_upload
peterjc123's avatar
peterjc123 committed
3188
          requires:
3189
          - nightly_binary_win_conda_py3.6_cu112
peterjc123's avatar
peterjc123 committed
3190
3191
3192
3193
3194
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3195
          name: nightly_binary_win_conda_py3.6_cu112_smoke_test_conda
peterjc123's avatar
peterjc123 committed
3196
3197
          python_version: '3.6'
          requires:
3198
          - nightly_binary_win_conda_py3.6_cu112_upload
3199
      - binary_win_conda:
3200
3201
3202
3203
          cu_version: cpu
          filters:
            branches:
              only: nightly
3204
3205
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3206
3207
3208
3209
3210
3211
3212
          name: nightly_binary_win_conda_py3.7_cpu
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3213
3214
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3215
3216
3217
          name: nightly_binary_win_conda_py3.7_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.7_cpu
guyang3532's avatar
guyang3532 committed
3218
3219
3220
3221
3222
3223
3224
3225
3226
      - 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
3227
      - binary_win_conda:
3228
          cu_version: cu101
3229
3230
3231
          filters:
            branches:
              only: nightly
3232
3233
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3234
3235
3236
3237
3238
3239
3240
          name: nightly_binary_win_conda_py3.7_cu101
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3241
3242
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3243
3244
3245
          name: nightly_binary_win_conda_py3.7_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu101
guyang3532's avatar
guyang3532 committed
3246
3247
3248
3249
3250
3251
3252
3253
3254
      - 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
3255
      - binary_win_conda:
3256
          cu_version: cu102
3257
3258
3259
          filters:
            branches:
              only: nightly
3260
3261
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3262
3263
3264
3265
3266
3267
3268
          name: nightly_binary_win_conda_py3.7_cu102
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3269
3270
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3271
3272
3273
          name: nightly_binary_win_conda_py3.7_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.7_cu102
guyang3532's avatar
guyang3532 committed
3274
3275
3276
3277
3278
3279
3280
3281
3282
      - 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
3283
      - binary_win_conda:
3284
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
3285
3286
3287
3288
3289
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3290
          name: nightly_binary_win_conda_py3.7_cu112
peterjc123's avatar
peterjc123 committed
3291
3292
3293
3294
3295
3296
3297
3298
          python_version: '3.7'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3299
          name: nightly_binary_win_conda_py3.7_cu112_upload
peterjc123's avatar
peterjc123 committed
3300
          requires:
3301
          - nightly_binary_win_conda_py3.7_cu112
peterjc123's avatar
peterjc123 committed
3302
3303
3304
3305
3306
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3307
          name: nightly_binary_win_conda_py3.7_cu112_smoke_test_conda
peterjc123's avatar
peterjc123 committed
3308
3309
          python_version: '3.7'
          requires:
3310
          - nightly_binary_win_conda_py3.7_cu112_upload
3311
      - binary_win_conda:
3312
3313
3314
3315
          cu_version: cpu
          filters:
            branches:
              only: nightly
3316
3317
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3318
3319
3320
3321
3322
3323
3324
          name: nightly_binary_win_conda_py3.8_cpu
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3325
3326
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3327
3328
3329
          name: nightly_binary_win_conda_py3.8_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.8_cpu
guyang3532's avatar
guyang3532 committed
3330
3331
3332
3333
3334
3335
3336
3337
3338
      - 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
3339
      - binary_win_conda:
3340
          cu_version: cu101
3341
3342
3343
          filters:
            branches:
              only: nightly
3344
3345
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3346
3347
3348
3349
3350
3351
3352
          name: nightly_binary_win_conda_py3.8_cu101
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3353
3354
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3355
3356
3357
          name: nightly_binary_win_conda_py3.8_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.8_cu101
guyang3532's avatar
guyang3532 committed
3358
3359
3360
3361
3362
3363
3364
3365
3366
      - 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
3367
      - binary_win_conda:
3368
          cu_version: cu102
3369
3370
3371
          filters:
            branches:
              only: nightly
3372
3373
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3374
3375
3376
3377
3378
3379
3380
          name: nightly_binary_win_conda_py3.8_cu102
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
3381
3382
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3383
3384
          name: nightly_binary_win_conda_py3.8_cu102_upload
          requires:
guyang3532's avatar
guyang3532 committed
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
          - 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
3395
      - binary_win_conda:
3396
          cu_version: cu112
peterjc123's avatar
peterjc123 committed
3397
3398
3399
3400
3401
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3402
          name: nightly_binary_win_conda_py3.8_cu112
peterjc123's avatar
peterjc123 committed
3403
3404
3405
3406
3407
3408
3409
3410
          python_version: '3.8'
      - binary_conda_upload:
          context: org-member
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
3411
          name: nightly_binary_win_conda_py3.8_cu112_upload
peterjc123's avatar
peterjc123 committed
3412
          requires:
3413
          - nightly_binary_win_conda_py3.8_cu112
peterjc123's avatar
peterjc123 committed
3414
3415
3416
3417
3418
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
3419
          name: nightly_binary_win_conda_py3.8_cu112_smoke_test_conda
peterjc123's avatar
peterjc123 committed
3420
3421
          python_version: '3.8'
          requires:
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
          - nightly_binary_win_conda_py3.8_cu112_upload
      - binary_win_conda:
          cu_version: cpu
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cpu
          python_version: '3.9'
      - 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.9_cpu_upload
          requires:
          - nightly_binary_win_conda_py3.9_cpu
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.9_cpu_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_win_conda_py3.9_cpu_upload
      - binary_win_conda:
          cu_version: cu101
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cu101
          python_version: '3.9'
      - 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.9_cu101_upload
          requires:
          - nightly_binary_win_conda_py3.9_cu101
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.9_cu101_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_win_conda_py3.9_cu101_upload
      - binary_win_conda:
          cu_version: cu102
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cu102
          python_version: '3.9'
      - 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.9_cu102_upload
          requires:
          - nightly_binary_win_conda_py3.9_cu102
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.9_cu102_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_win_conda_py3.9_cu102_upload
      - binary_win_conda:
          cu_version: cu112
          filters:
            branches:
              only: nightly
            tags:
              only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
          name: nightly_binary_win_conda_py3.9_cu112
          python_version: '3.9'
      - 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.9_cu112_upload
          requires:
          - nightly_binary_win_conda_py3.9_cu112
      - smoke_test_win_conda:
          filters:
            branches:
              only:
              - nightly
          name: nightly_binary_win_conda_py3.9_cu112_smoke_test_conda
          python_version: '3.9'
          requires:
          - nightly_binary_win_conda_py3.9_cu112_upload
guyang3532's avatar
guyang3532 committed
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
  docker_build:
    triggers:
      - schedule:
          cron: "0 10 * * 0"
          filters:
            branches:
              only:
                - master
    jobs:
      - smoke_test_docker_image_build:
3545
          context: org-member