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

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

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

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

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

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

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

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

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

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

123
124
125
126
127
128
129
  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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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