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

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

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

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

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

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

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

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

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

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

123
124
125
126
127
128
129
  clang_format:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
130
131
132
133
            curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
            chmod +x clang-format
            sudo mv clang-format /opt/clang-format
            ./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
134

Francisco Massa's avatar
Francisco Massa committed
135
136
137
138
139
140
141
142
143
144
145
146
147
  torchhub_test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off numpy
            pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
            # need to install torchvision dependencies due to transitive imports
            pip install --user --progress-bar off --editable .
            python test/test_hub.py

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

163
164
165
  binary_linux_wheel:
    <<: *binary_common
    docker:
Edward Z. Yang's avatar
Edward Z. Yang committed
166
      - image: << parameters.wheel_docker_image >>
167
168
    resource_class: 2xlarge+
    steps:
169
      - checkout_merge
170
      - designate_upload_channel
171
172
173
      - run: packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
174
175
176
177
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
178
179
180
181

  binary_linux_conda:
    <<: *binary_common
    docker:
182
      - image: "pytorch/conda-cuda"
183
    resource_class: 2xlarge+
184
    steps:
185
      - checkout_merge
186
      - designate_upload_channel
187
188
189
      - run: packaging/build_conda.sh
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
190
191
192
193
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
194
195
      - store_test_results:
          path: build_results/
196

Francisco Massa's avatar
Francisco Massa committed
197
  binary_win_conda:
198
199
    <<: *binary_common
    executor: windows-cpu
200
201
    steps:
      - checkout_merge
202
      - designate_upload_channel
203
204
205
      - run:
          name: Build conda packages
          command: |
206
207
208
209
210
211
212
            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
213
            rm /C/tools/miniconda3/conda-bld/win-64/vs${VC_YEAR}*.tar.bz2
214
      - store_artifacts:
215
          path: C:/tools/miniconda3/conda-bld/win-64
216
      - persist_to_workspace:
217
          root: C:/tools/miniconda3/conda-bld/win-64
218
219
220
221
222
          paths:
            - "*"
      - store_test_results:
          path: build_results/

223
  binary_win_wheel:
224
225
    <<: *binary_common
    executor: windows-cpu
226
227
    steps:
      - checkout_merge
228
      - designate_upload_channel
229
230
231
      - run:
          name: Build wheel packages
          command: |
232
233
234
235
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_wheel.sh
236
      - store_artifacts:
237
          path: dist
238
      - persist_to_workspace:
239
          root: dist
240
241
242
243
244
          paths:
            - "*"
      - store_test_results:
          path: build_results/

245
246
247
  binary_macos_wheel:
    <<: *binary_common
    macos:
248
      xcode: "9.4.1"
249
    steps:
250
      - checkout_merge
251
      - designate_upload_channel
252
253
254
255
256
257
258
259
260
261
262
      - 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
263
264
265
266
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
267
268
269
270

  binary_macos_conda:
    <<: *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
      - 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
284
285
286
287
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"
288
289
      - store_test_results:
          path: build_results/
Edward Z. Yang's avatar
Edward Z. Yang committed
290
291
292
293
294
295
296
297

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
298
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
299
300
301
302
303
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set -x
304
            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
305
306
307

  # Requires org-member context
  binary_wheel_upload:
Edward Z. Yang's avatar
Edward Z. Yang committed
308
309
310
311
    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
312
313
314
315
316
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
317
      - designate_upload_channel
Edward Z. Yang's avatar
Edward Z. Yang committed
318
319
320
321
322
323
324
325
326
327
      - 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
328
            for pkg in ~/workspace/*.whl; do
329
              aws s3 cp "$pkg" "s3://pytorch/whl/${UPLOAD_CHANNEL}/<< parameters.subfolder >>" --acl public-read
Edward Z. Yang's avatar
Edward Z. Yang committed
330
            done
331

guyang3532's avatar
guyang3532 committed
332
333
334
335
336
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
      - attach_workspace:
          at: ~/workspace
337
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
      - 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
356
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
      - 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
377
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
      - 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
397
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda env remove -n python${PYTHON_VERSION} || true
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
            conda activate python${PYTHON_VERSION}
            conda install Pillow
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

  smoke_test_win_pip:
    <<: *binary_common
    executor:
      name: windows-cpu
    steps:
      - attach_workspace:
          at: ~/workspace
423
      - designate_upload_channel
guyang3532's avatar
guyang3532 committed
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
      - run:
          name: install binaries
          command: |
            set -x
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda env remove -n python${PYTHON_VERSION} || true
            conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
            conda activate python${PYTHON_VERSION}
            pip install $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
            conda activate python${PYTHON_VERSION}
            python -c "import torchvision"

440
441
442
443
444
445
446
  unittest_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout
447
      - designate_upload_channel
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
      - 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"
486
      PYTHON_VERSION: << parameters.python_version >>
487
488
    steps:
      - checkout
489
      - designate_upload_channel
490
491
492
493
494
495
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - run:
          name: Setup
496
          command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh
497
498
499
500
501
502
503
504
505
      - 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
506
          command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL "${image_name}" .circleci/unittest/linux/scripts/install.sh
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
      - 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
522
      - designate_upload_channel
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
      - 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"
560
      PYTHON_VERSION: << parameters.python_version >>
561
562
    steps:
      - checkout
563
      - designate_upload_channel
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
      - run:
          name: Generate cache key
          # This will refresh cache on Sundays, nightly build should generate new cache.
          command: echo "$(date +"%Y-%U")" > .circleci-weekly
      - run:
          name: Setup
          command: .circleci/unittest/windows/scripts/setup_env.sh
      - save_cache:

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

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

Francisco Massa's avatar
Francisco Massa committed
590
591
592
593
594
595
596
  unittest_macos_cpu:
    <<: *binary_common
    macos:
      xcode: "9.4.1"
    resource_class: large
    steps:
      - checkout
597
      - designate_upload_channel
Francisco Massa's avatar
Francisco Massa committed
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
      - 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

633
634
635
636
637
638
639
  cmake_linux_cpu:
    <<: *binary_common
    docker:
      - image: "pytorch/manylinux-cuda102"
    resource_class: 2xlarge+
    steps:
      - checkout_merge
640
      - designate_upload_channel
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
      - 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
658
      - designate_upload_channel
659
660
661
662
663
      - 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
664
          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
665
666
667
668

  cmake_macos_cpu:
    <<: *binary_common
    macos:
669
      xcode: "9.4.1"
670
671
    steps:
      - checkout_merge
672
      - designate_upload_channel
673
674
675
676
677
678
679
680
681
682
683
684
685
686
      - 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
687
      - designate_upload_channel
688
689
690
691
692
693
694
695
696
697
698
699
      - 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
700
      - designate_upload_channel
701
702
703
704
705
706
707
      - run:
          command: |
            set -ex
            source packaging/windows/internal/vc_install_helper.sh
            packaging/windows/internal/cuda_install.bat
            packaging/build_cmake.sh

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

1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
  unittest:
    jobs:
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.6
          python_version: '3.6'
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.7
          python_version: '3.7'
      - unittest_linux_cpu:
          cu_version: cpu
          name: unittest_linux_cpu_py3.8
          python_version: '3.8'
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.6
          python_version: '3.6'
      - unittest_linux_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_linux_gpu_py3.7
          python_version: '3.7'
      - unittest_linux_gpu:
          cu_version: cu101
          name: unittest_linux_gpu_py3.8
          python_version: '3.8'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.6
          python_version: '3.6'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.7
          python_version: '3.7'
      - unittest_windows_cpu:
          cu_version: cpu
          name: unittest_windows_cpu_py3.8
          python_version: '3.8'
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.6
          python_version: '3.6'
      - unittest_windows_gpu:
          cu_version: cu101
          filters:
            branches:
              only:
              - master
              - nightly
          name: unittest_windows_gpu_py3.7
          python_version: '3.7'
      - unittest_windows_gpu:
          cu_version: cu101
          name: unittest_windows_gpu_py3.8
          python_version: '3.8'
Francisco Massa's avatar
Francisco Massa committed
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
      - 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'
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191

  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'
1192
1193
1194
1195
      - cmake_windows_gpu:
          cu_version: cu101
          name: cmake_windows_gpu
          python_version: '3.8'
1196
1197
1198
1199
1200
      - cmake_macos_cpu:
          cu_version: cpu
          name: cmake_macos_cpu
          python_version: '3.8'

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