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

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

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

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

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

57
58
binary_common: &binary_common
  parameters:
59
    # Edit these defaults to do a release
60
61
62
63
64
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
65
      description: "PyTorch version to build against; by default, use a nightly"
66
      type: string
67
      default: ""
68
69
70
71
    # 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
72
73
    cu_version:
      description: "CUDA version to build against, in CU format (e.g., cpu or cu100)"
74
      type: string
guyang3532's avatar
guyang3532 committed
75
      default: "cpu"
76
77
78
79
    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
80
81
82
    wheel_docker_image:
      description: "Wheel only: what docker image to use"
      type: string
83
      default: "pytorch/manylinux-cuda101"
84
85
86
87
    conda_docker_image:
      description: "Conda only: what docker image to use"
      type: string
      default: "pytorch/conda-builder:cpu"
88
89
90
91
  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
92
    CU_VERSION: << parameters.cu_version >>
93

guyang3532's avatar
guyang3532 committed
94
95
96
97
98
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: torchvision/smoke_test:latest

99
jobs:
100
101
102
103
104
105
106
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
107
            pip install --user --progress-bar off jinja2 pyyaml
108
109
110
            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)

111
112
113
114
115
116
117
118
  python_lint:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off flake8 typing
119
120
121
122
123
124
125
126
127
            flake8 --config=setup.cfg .

  python_type_check:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
128
129
            sudo apt-get update -y
            sudo apt install -y libturbojpeg-dev
130
            pip install --user --progress-bar off mypy
131
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
132
            pip install --user --progress-bar off --editable .
133
            mypy --config-file mypy.ini
134

135
136
137
138
139
140
141
142
143
144
  docstring_parameters_sync:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user pydocstyle
            pydocstyle

145
146
147
148
149
150
151
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
152
153
154
            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
155
            ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
156

Francisco Massa's avatar
Francisco Massa committed
157
158
159
160
161
162
163
164
165
166
167
168
  torchhub_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            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

169
170
171
172
173
174
175
176
177
178
179
  torch_onnx_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            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
180
            pip install --user onnxruntime
181
182
            python test/test_onnx.py

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

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

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

245
  binary_win_wheel:
246
247
    <<: *binary_common
    executor: windows-cpu
248
249
    steps:
      - checkout_merge
250
      - designate_upload_channel
251
      - install_cuda_compatible_cmath
252
253
254
      - run:
          name: Build wheel packages
          command: |
255
256
257
258
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
259
      - store_artifacts:
260
          path: dist
261
      - persist_to_workspace:
262
          root: dist
263
264
265
266
267
          paths:
            - "*"
      - store_test_results:
          path: build_results/

268
269
270
  binary_macos_wheel:
    <<: *binary_common
    macos:
271
      xcode: "9.4.1"
272
    steps:
273
      - checkout_merge
274
      - designate_upload_channel
275
276
277
278
279
280
281
282
283
284
285
      - 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
286
287
288
289
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
290
291
292
293

  binary_macos_conda:
    <<: *binary_common
    macos:
294
      xcode: "9.4.1"
295
    steps:
296
      - checkout_merge
297
      - designate_upload_channel
298
299
300
301
302
303
304
305
306
      - 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
307
308
309
310
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
311
312
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
313
314
315
316
317
318
319
320

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
321
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
322
323
324
325
326
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
327
            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
328
329
330

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

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

471
472
473
474
475
476
477
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
478
      - designate_upload_channel
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
      - 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"
517
      PYTHON_VERSION: << parameters.python_version >>
518
519
    steps:
      - checkout
520
      - designate_upload_channel
521
522
523
524
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
525
526
527
528
529
      - restore_cache:

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

530
531
      - run:
          name: Setup
532
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
533
534
      - save_cache:

535
          key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
536
537
538
539
540
541

          paths:
            - conda
            - env
      - run:
          name: Install torchvision
542
          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
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
      - 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
558
      - designate_upload_channel
559
      - install_cuda_compatible_cmath
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
      - 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"
597
      PYTHON_VERSION: << parameters.python_version >>
598
599
    steps:
      - checkout
600
      - designate_upload_channel
601
      - install_cuda_compatible_cmath
602
603
604
605
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
606
607
608
609
610
      - restore_cache:

          keys:
            - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
 
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
      - 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
632

Francisco Massa's avatar
Francisco Massa committed
633
634
635
636
637
638
639
  unittest_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.4.1"
    resource_class: large
    steps:
      - checkout
640
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
      - 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

676
677
678
679
680
681
682
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
683
      - designate_upload_channel
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
      - 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
701
      - designate_upload_channel
702
703
704
705
706
      - 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
707
          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
708
709
710
711

  cmake_macos_cpu:
    <<: *binary_common
    macos:
712
      xcode: "9.4.1"
713
714
    steps:
      - checkout_merge
715
      - designate_upload_channel
716
717
718
719
720
721
722
723
724
725
726
727
728
729
      - 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
730
      - designate_upload_channel
731
      - install_cuda_compatible_cmath
732
733
734
735
736
737
738
739
740
741
742
743
      - 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
744
      - designate_upload_channel
745
      - install_cuda_compatible_cmath
746
747
748
749
750
751
752
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

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
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
  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


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

1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
  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'
1388
1389
1390
1391
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.9
          python_version: '3.9'
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
      - 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'
1414
1415
1416
1417
1418
1419
1420
1421
1422
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.9
          python_version: '3.9'
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
      - 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'
1435
1436
1437
1438
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.9
          python_version: '3.9'
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
      - 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'
1461
1462
1463
1464
1465
1466
1467
1468
1469
      - 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
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
      - 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'
1482
1483
1484
1485
      - unittest_macos_cpu:
          cu_version: cpu
          name: unittest_macos_cpu_py3.9
          python_version: '3.9'
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501

  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'
1502
1503
1504
1505
      - cmake_windows_gpu:
          cu_version: cu101
          name: cmake_windows_gpu
          python_version: '3.8'
1506
1507
1508
1509
1510
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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