From 164dc6efeffd58b8f441d89cf3aec8523545be91 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 16:36:42 +0100 Subject: [PATCH 01/18] WIP --- .circleci/unittest/linux/scripts/run_test.sh | 2 +- .circleci/unittest/windows/scripts/run_test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/unittest/linux/scripts/run_test.sh b/.circleci/unittest/linux/scripts/run_test.sh index 419b9eb562c..3932d22dd5d 100755 --- a/.circleci/unittest/linux/scripts/run_test.sh +++ b/.circleci/unittest/linux/scripts/run_test.sh @@ -7,4 +7,4 @@ conda activate ./env export PYTORCH_TEST_WITH_SLOW='1' python -m torch.utils.collect_env -pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py +pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test/test_lol.py diff --git a/.circleci/unittest/windows/scripts/run_test.sh b/.circleci/unittest/windows/scripts/run_test.sh index 96d9cbd6b2d..a8b908cd586 100644 --- a/.circleci/unittest/windows/scripts/run_test.sh +++ b/.circleci/unittest/windows/scripts/run_test.sh @@ -7,4 +7,4 @@ conda activate ./env export PYTORCH_TEST_WITH_SLOW='1' python -m torch.utils.collect_env -pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py +pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test/test_lol.py From ec7196f2b7a028530dadd4da41b6ee76278cc0b0 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 16:42:28 +0100 Subject: [PATCH 02/18] will probably work better if I include the file --- test/test_lol.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/test_lol.py diff --git a/test/test_lol.py b/test/test_lol.py new file mode 100644 index 00000000000..1c83084081a --- /dev/null +++ b/test/test_lol.py @@ -0,0 +1,7 @@ +from common_utils import IN_CIRCLE_CI + +def test_lol(): + if IN_CIRCLE_CI: + print("WOOHOO") + else: + raise ValueError("Nope") From 6c99fe2292417a3d9a791054855dddacf80e0816 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 16:47:54 +0100 Subject: [PATCH 03/18] maybe simplify job runs --- .circleci/config.yml | 2379 +-------------------------------------- .circleci/config.yml.in | 45 +- 2 files changed, 2 insertions(+), 2422 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fcbc37c33f5..bb9d895ab72 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -981,474 +981,6 @@ jobs: workflows: - build: - jobs: - - circleci_consistency - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_wheel_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_wheel_py3.6_cu102 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_wheel_py3.6_cu111 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_wheel: - cu_version: rocm4.1 - name: binary_linux_wheel_py3.6_rocm4.1 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_linux_wheel: - cu_version: rocm4.2 - name: binary_linux_wheel_py3.6_rocm4.2 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_wheel_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_wheel_py3.7_cu102 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_wheel_py3.7_cu111 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_wheel: - cu_version: rocm4.1 - name: binary_linux_wheel_py3.7_rocm4.1 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_linux_wheel: - cu_version: rocm4.2 - name: binary_linux_wheel_py3.7_rocm4.2 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_wheel_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_wheel_py3.8_cu102 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_wheel_py3.8_cu111 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_wheel: - cu_version: rocm4.1 - name: binary_linux_wheel_py3.8_rocm4.1 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_linux_wheel: - cu_version: rocm4.2 - name: binary_linux_wheel_py3.8_rocm4.2 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_wheel_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_wheel_py3.9_cu102 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_wheel_py3.9_cu111 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_wheel: - cu_version: rocm4.1 - name: binary_linux_wheel_py3.9_rocm4.1 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_linux_wheel: - cu_version: rocm4.2 - name: binary_linux_wheel_py3.9_rocm4.2 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_wheel_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_wheel_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_wheel_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_wheel_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.6_cpu - python_version: '3.6' - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.6_cu102 - python_version: '3.6' - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.6_cu111 - python_version: '3.6' - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.7_cpu - python_version: '3.7' - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.7_cu102 - python_version: '3.7' - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.7_cu111 - python_version: '3.7' - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.8_cpu - python_version: '3.8' - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.8_cu102 - python_version: '3.8' - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.8_cu111 - python_version: '3.8' - - binary_win_wheel: - cu_version: cpu - name: binary_win_wheel_py3.9_cpu - python_version: '3.9' - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_wheel_py3.9_cu102 - python_version: '3.9' - - binary_win_wheel: - cu_version: cu111 - name: binary_win_wheel_py3.9_cu111 - python_version: '3.9' - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_conda_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_conda_py3.6_cu102 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_conda_py3.6_cu111 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_conda_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_conda_py3.7_cu102 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_conda_py3.7_cu111 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_conda_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_conda_py3.8_cu102 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_conda_py3.8_cu111 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_linux_conda_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - name: binary_linux_conda_py3.9_cu102 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - name: binary_linux_conda_py3.9_cu111 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_conda_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_conda_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_conda_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - name: binary_macos_conda_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.6_cpu - python_version: '3.6' - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.6_cu102 - python_version: '3.6' - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.6_cu111 - python_version: '3.6' - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.7_cpu - python_version: '3.7' - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.7_cu102 - python_version: '3.7' - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.7_cu111 - python_version: '3.7' - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.8_cpu - python_version: '3.8' - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.8_cu102 - python_version: '3.8' - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.8_cu111 - python_version: '3.8' - - binary_win_conda: - cu_version: cpu - name: binary_win_conda_py3.9_cpu - python_version: '3.9' - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: master - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: binary_win_conda_py3.9_cu102 - python_version: '3.9' - - binary_win_conda: - cu_version: cu111 - name: binary_win_conda_py3.9_cu111 - python_version: '3.9' - - build_docs: - name: build_docs - python_version: '3.7' - requires: - - binary_linux_wheel_py3.7_cpu - - upload_docs: - context: org-member - filters: - branches: - only: - - nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: upload_docs - python_version: '3.7' - requires: - - build_docs - - python_lint - - python_type_check - - docstring_parameters_sync - - clang_format - - torchhub_test - - torch_onnx_test - - binary_ios_build: - build_environment: binary-libtorchvision_ops-ios-12.0.0-x86_64 - ios_arch: x86_64 - ios_platform: SIMULATOR - name: binary_libtorchvision_ops_ios_12.0.0_x86_64 - - binary_ios_build: - build_environment: binary-libtorchvision_ops-ios-12.0.0-arm64 - ios_arch: arm64 - ios_platform: OS - name: binary_libtorchvision_ops_ios_12.0.0_arm64 - - binary_android_build: - build_environment: binary-libtorchvision_ops-android - name: binary_libtorchvision_ops_android - unittest: jobs: - unittest_linux_cpu: @@ -1560,1913 +1092,4 @@ workflows: - unittest_macos_cpu: cu_version: cpu name: unittest_macos_cpu_py3.9 - python_version: '3.9' - - cmake: - jobs: - - cmake_linux_cpu: - cu_version: cpu - name: cmake_linux_cpu - python_version: '3.8' - - cmake_linux_gpu: - cu_version: cu102 - name: cmake_linux_gpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - cmake_windows_cpu: - cu_version: cpu - name: cmake_windows_cpu - python_version: '3.8' - - cmake_windows_gpu: - cu_version: cu102 - name: cmake_windows_gpu - python_version: '3.8' - - cmake_macos_cpu: - cu_version: cpu - name: cmake_macos_cpu - python_version: '3.8' - - nightly: - jobs: - - circleci_consistency - - python_lint - - python_type_check - - docstring_parameters_sync - - clang_format - - torchhub_test - - torch_onnx_test - - binary_ios_build: - build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-x86_64 - filters: - branches: - only: - - nightly - ios_arch: x86_64 - ios_platform: SIMULATOR - name: nightly_binary_libtorchvision_ops_ios_12.0.0_x86_64 - - binary_ios_build: - build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-arm64 - filters: - branches: - only: - - nightly - ios_arch: arm64 - ios_platform: OS - name: nightly_binary_libtorchvision_ops_ios_12.0.0_arm64 - - binary_ios_upload: - build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-upload - context: org-member - filters: - branches: - only: - - nightly - requires: - - nightly_binary_libtorchvision_ops_ios_12.0.0_x86_64 - - nightly_binary_libtorchvision_ops_ios_12.0.0_arm64 - - binary_android_upload: - build_environment: nightly-binary-libtorchvision_ops-android-upload - context: org-member - filters: - branches: - only: - - nightly - name: nightly_binary_libtorchvision_ops_android_upload - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_cpu_upload - requires: - - nightly_binary_linux_wheel_py3.6_cpu - subfolder: cpu/ - - 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 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_cu102 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_cu102_upload - requires: - - nightly_binary_linux_wheel_py3.6_cu102 - subfolder: cu102/ - - 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 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_cu111 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda111 - - 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_cu111_upload - requires: - - nightly_binary_linux_wheel_py3.6_cu111 - subfolder: cu111/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.6_cu111_smoke_test_pip - python_version: '3.6' - requires: - - nightly_binary_linux_wheel_py3.6_cu111_upload - - binary_linux_wheel: - cu_version: rocm4.1 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_rocm4.1 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_rocm4.1_upload - requires: - - nightly_binary_linux_wheel_py3.6_rocm4.1 - subfolder: rocm4.1/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.6_rocm4.1_smoke_test_pip - python_version: '3.6' - requires: - - nightly_binary_linux_wheel_py3.6_rocm4.1_upload - - binary_linux_wheel: - cu_version: rocm4.2 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_rocm4.2 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.6_rocm4.2_upload - requires: - - nightly_binary_linux_wheel_py3.6_rocm4.2 - subfolder: rocm4.2/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.6_rocm4.2_smoke_test_pip - python_version: '3.6' - requires: - - nightly_binary_linux_wheel_py3.6_rocm4.2_upload - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_cpu_upload - requires: - - nightly_binary_linux_wheel_py3.7_cpu - subfolder: cpu/ - - 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 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_cu102 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_cu102_upload - requires: - - nightly_binary_linux_wheel_py3.7_cu102 - subfolder: cu102/ - - 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 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_cu111 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda111 - - 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_cu111_upload - requires: - - nightly_binary_linux_wheel_py3.7_cu111 - subfolder: cu111/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.7_cu111_smoke_test_pip - python_version: '3.7' - requires: - - nightly_binary_linux_wheel_py3.7_cu111_upload - - binary_linux_wheel: - cu_version: rocm4.1 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_rocm4.1 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_rocm4.1_upload - requires: - - nightly_binary_linux_wheel_py3.7_rocm4.1 - subfolder: rocm4.1/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.7_rocm4.1_smoke_test_pip - python_version: '3.7' - requires: - - nightly_binary_linux_wheel_py3.7_rocm4.1_upload - - binary_linux_wheel: - cu_version: rocm4.2 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_rocm4.2 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.7_rocm4.2_upload - requires: - - nightly_binary_linux_wheel_py3.7_rocm4.2 - subfolder: rocm4.2/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.7_rocm4.2_smoke_test_pip - python_version: '3.7' - requires: - - nightly_binary_linux_wheel_py3.7_rocm4.2_upload - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_cpu_upload - requires: - - nightly_binary_linux_wheel_py3.8_cpu - subfolder: cpu/ - - 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 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_cu102 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_cu102_upload - requires: - - nightly_binary_linux_wheel_py3.8_cu102 - subfolder: cu102/ - - 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 - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_cu111 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda111 - - 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_cu111_upload - requires: - - nightly_binary_linux_wheel_py3.8_cu111 - subfolder: cu111/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.8_cu111_smoke_test_pip - python_version: '3.8' - requires: - - nightly_binary_linux_wheel_py3.8_cu111_upload - - binary_linux_wheel: - cu_version: rocm4.1 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_rocm4.1 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_rocm4.1_upload - requires: - - nightly_binary_linux_wheel_py3.8_rocm4.1 - subfolder: rocm4.1/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.8_rocm4.1_smoke_test_pip - python_version: '3.8' - requires: - - nightly_binary_linux_wheel_py3.8_rocm4.1_upload - - binary_linux_wheel: - cu_version: rocm4.2 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_rocm4.2 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.8_rocm4.2_upload - requires: - - nightly_binary_linux_wheel_py3.8_rocm4.2 - subfolder: rocm4.2/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.8_rocm4.2_smoke_test_pip - python_version: '3.8' - requires: - - nightly_binary_linux_wheel_py3.8_rocm4.2_upload - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_cpu_upload - requires: - - nightly_binary_linux_wheel_py3.9_cpu - subfolder: cpu/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.9_cpu_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_linux_wheel_py3.9_cpu_upload - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_cu102 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_cu102_upload - requires: - - nightly_binary_linux_wheel_py3.9_cu102 - subfolder: cu102/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.9_cu102_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_linux_wheel_py3.9_cu102_upload - - binary_linux_wheel: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_cu111 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_cu111_upload - requires: - - nightly_binary_linux_wheel_py3.9_cu111 - subfolder: cu111/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.9_cu111_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_linux_wheel_py3.9_cu111_upload - - binary_linux_wheel: - cu_version: rocm4.1 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_rocm4.1 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-rocm:4.1 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_rocm4.1_upload - requires: - - nightly_binary_linux_wheel_py3.9_rocm4.1 - subfolder: rocm4.1/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.9_rocm4.1_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_linux_wheel_py3.9_rocm4.1_upload - - binary_linux_wheel: - cu_version: rocm4.2 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_rocm4.2 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-rocm:4.2 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_wheel_py3.9_rocm4.2_upload - requires: - - nightly_binary_linux_wheel_py3.9_rocm4.2 - subfolder: rocm4.2/ - - smoke_test_linux_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_wheel_py3.9_rocm4.2_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_linux_wheel_py3.9_rocm4.2_upload - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.6_cpu_upload - requires: - - nightly_binary_macos_wheel_py3.6_cpu - subfolder: '' - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.7_cpu_upload - requires: - - nightly_binary_macos_wheel_py3.7_cpu - subfolder: '' - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.8_cpu_upload - requires: - - nightly_binary_macos_wheel_py3.8_cpu - subfolder: '' - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.9_cpu_upload - requires: - - nightly_binary_macos_wheel_py3.9_cpu - subfolder: '' - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.6_cpu - python_version: '3.6' - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.6_cpu_upload - requires: - - nightly_binary_win_wheel_py3.6_cpu - subfolder: cpu/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.6_cpu_smoke_test_pip - python_version: '3.6' - requires: - - nightly_binary_win_wheel_py3.6_cpu_upload - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.6_cu102 - 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_cu102_upload - requires: - - nightly_binary_win_wheel_py3.6_cu102 - subfolder: cu102/ - - 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 - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.6_cu111 - 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_cu111_upload - requires: - - nightly_binary_win_wheel_py3.6_cu111 - subfolder: cu111/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.6_cu111_smoke_test_pip - python_version: '3.6' - requires: - - nightly_binary_win_wheel_py3.6_cu111_upload - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cpu - 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_cpu_upload - requires: - - nightly_binary_win_wheel_py3.7_cpu - subfolder: cpu/ - - 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 - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu102 - 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_cu102_upload - requires: - - nightly_binary_win_wheel_py3.7_cu102 - subfolder: cu102/ - - 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 - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu111 - 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_cu111_upload - requires: - - nightly_binary_win_wheel_py3.7_cu111 - subfolder: cu111/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.7_cu111_smoke_test_pip - python_version: '3.7' - requires: - - nightly_binary_win_wheel_py3.7_cu111_upload - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.8_cpu - 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_cpu_upload - requires: - - nightly_binary_win_wheel_py3.8_cpu - subfolder: cpu/ - - 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 - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.8_cu102 - 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_cu102_upload - requires: - - nightly_binary_win_wheel_py3.8_cu102 - subfolder: cu102/ - - 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 - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.8_cu111 - 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_cu111_upload - requires: - - nightly_binary_win_wheel_py3.8_cu111 - subfolder: cu111/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.8_cu111_smoke_test_pip - python_version: '3.8' - requires: - - nightly_binary_win_wheel_py3.8_cu111_upload - - binary_win_wheel: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.9_cpu - python_version: '3.9' - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.9_cpu_upload - requires: - - nightly_binary_win_wheel_py3.9_cpu - subfolder: cpu/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.9_cpu_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_win_wheel_py3.9_cpu_upload - - binary_win_wheel: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.9_cu102 - python_version: '3.9' - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.9_cu102_upload - requires: - - nightly_binary_win_wheel_py3.9_cu102 - subfolder: cu102/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.9_cu102_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_win_wheel_py3.9_cu102_upload - - binary_win_wheel: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.9_cu111 - python_version: '3.9' - - binary_wheel_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.9_cu111_upload - requires: - - nightly_binary_win_wheel_py3.9_cu111 - subfolder: cu111/ - - smoke_test_win_pip: - filters: - branches: - only: - - nightly - name: nightly_binary_win_wheel_py3.9_cu111_smoke_test_pip - python_version: '3.9' - requires: - - nightly_binary_win_wheel_py3.9_cu111_upload - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.6_cpu_upload - requires: - - nightly_binary_linux_conda_py3.6_cpu - - 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 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.6_cu102 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.6_cu102_upload - requires: - - nightly_binary_linux_conda_py3.6_cu102 - - 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 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.6_cu111 - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda111 - - 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_cu111_upload - requires: - - nightly_binary_linux_conda_py3.6_cu111 - - smoke_test_linux_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_conda_py3.6_cu111_smoke_test_conda - python_version: '3.6' - requires: - - nightly_binary_linux_conda_py3.6_cu111_upload - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.7_cpu_upload - requires: - - nightly_binary_linux_conda_py3.7_cpu - - 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 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.7_cu102 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.7_cu102_upload - requires: - - nightly_binary_linux_conda_py3.7_cu102 - - 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 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.7_cu111 - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda111 - - 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_cu111_upload - requires: - - nightly_binary_linux_conda_py3.7_cu111 - - smoke_test_linux_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_conda_py3.7_cu111_smoke_test_conda - python_version: '3.7' - requires: - - nightly_binary_linux_conda_py3.7_cu111_upload - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.8_cpu_upload - requires: - - nightly_binary_linux_conda_py3.8_cpu - - 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 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.8_cu102 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.8_cu102_upload - requires: - - nightly_binary_linux_conda_py3.8_cu102 - - 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 - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.8_cu111 - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda111 - - 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_cu111_upload - requires: - - nightly_binary_linux_conda_py3.8_cu111 - - smoke_test_linux_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_conda_py3.8_cu111_smoke_test_conda - python_version: '3.8' - requires: - - nightly_binary_linux_conda_py3.8_cu111_upload - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.9_cpu_upload - requires: - - nightly_binary_linux_conda_py3.9_cpu - - smoke_test_linux_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_conda_py3.9_cpu_smoke_test_conda - python_version: '3.9' - requires: - - nightly_binary_linux_conda_py3.9_cpu_upload - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda102 - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.9_cu102 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.9_cu102_upload - requires: - - nightly_binary_linux_conda_py3.9_cu102 - - smoke_test_linux_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_conda_py3.9_cu102_smoke_test_conda - python_version: '3.9' - requires: - - nightly_binary_linux_conda_py3.9_cu102_upload - - binary_linux_conda: - conda_docker_image: pytorch/conda-builder:cuda111 - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.9_cu111 - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda111 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_linux_conda_py3.9_cu111_upload - requires: - - nightly_binary_linux_conda_py3.9_cu111 - - smoke_test_linux_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_linux_conda_py3.9_cu111_smoke_test_conda - python_version: '3.9' - requires: - - nightly_binary_linux_conda_py3.9_cu111_upload - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.6_cpu - python_version: '3.6' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.6_cpu_upload - requires: - - nightly_binary_macos_conda_py3.6_cpu - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.7_cpu - python_version: '3.7' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.7_cpu_upload - requires: - - nightly_binary_macos_conda_py3.7_cpu - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.8_cpu - python_version: '3.8' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.8_cpu_upload - requires: - - nightly_binary_macos_conda_py3.8_cpu - - binary_macos_conda: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_conda_py3.9_cpu_upload - requires: - - nightly_binary_macos_conda_py3.9_cpu - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.6_cpu - 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_cpu_upload - requires: - - nightly_binary_win_conda_py3.6_cpu - - 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 - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.6_cu102 - 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_cu102_upload - requires: - - nightly_binary_win_conda_py3.6_cu102 - - 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 - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.6_cu111 - 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_cu111_upload - requires: - - nightly_binary_win_conda_py3.6_cu111 - - smoke_test_win_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_win_conda_py3.6_cu111_smoke_test_conda - python_version: '3.6' - requires: - - nightly_binary_win_conda_py3.6_cu111_upload - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.7_cpu - 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_cpu_upload - requires: - - nightly_binary_win_conda_py3.7_cpu - - 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 - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.7_cu102 - 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_cu102_upload - requires: - - nightly_binary_win_conda_py3.7_cu102 - - 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 - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.7_cu111 - 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_cu111_upload - requires: - - nightly_binary_win_conda_py3.7_cu111 - - smoke_test_win_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_win_conda_py3.7_cu111_smoke_test_conda - python_version: '3.7' - requires: - - nightly_binary_win_conda_py3.7_cu111_upload - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.8_cpu - 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_cpu_upload - requires: - - nightly_binary_win_conda_py3.8_cpu - - 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 - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.8_cu102 - 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_cu102_upload - requires: - - 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 - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.8_cu111 - 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_cu111_upload - requires: - - nightly_binary_win_conda_py3.8_cu111 - - smoke_test_win_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_win_conda_py3.8_cu111_smoke_test_conda - python_version: '3.8' - requires: - - nightly_binary_win_conda_py3.8_cu111_upload - - binary_win_conda: - cu_version: cpu - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.9_cpu - python_version: '3.9' - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.9_cpu_upload - requires: - - nightly_binary_win_conda_py3.9_cpu - - smoke_test_win_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_win_conda_py3.9_cpu_smoke_test_conda - python_version: '3.9' - requires: - - nightly_binary_win_conda_py3.9_cpu_upload - - binary_win_conda: - cu_version: cu102 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.9_cu102 - python_version: '3.9' - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.9_cu102_upload - requires: - - nightly_binary_win_conda_py3.9_cu102 - - smoke_test_win_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_win_conda_py3.9_cu102_smoke_test_conda - python_version: '3.9' - requires: - - nightly_binary_win_conda_py3.9_cu102_upload - - binary_win_conda: - cu_version: cu111 - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.9_cu111 - python_version: '3.9' - - binary_conda_upload: - context: org-member - filters: - branches: - only: nightly - tags: - only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_conda_py3.9_cu111_upload - requires: - - nightly_binary_win_conda_py3.9_cu111 - - smoke_test_win_conda: - filters: - branches: - only: - - nightly - name: nightly_binary_win_conda_py3.9_cu111_smoke_test_conda - python_version: '3.9' - requires: - - nightly_binary_win_conda_py3.9_cu111_upload - docker_build: - triggers: - - schedule: - cron: "0 10 * * 0" - filters: - branches: - only: - - master - jobs: - - smoke_test_docker_image_build: - context: org-member + python_version: '3.9' \ No newline at end of file diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 0fccf9d6764..4da666c9a09 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -981,49 +981,6 @@ jobs: workflows: - build: -{%- if True %} - jobs: - - circleci_consistency - {{ build_workflows(windows_latest_only=True) }} - - python_lint - - python_type_check - - docstring_parameters_sync - - clang_format - - torchhub_test - - torch_onnx_test - {{ ios_workflows() }} - {{ android_workflows() }} - unittest: jobs: - {{ unittest_workflows() }} - - cmake: - jobs: - {{ cmake_workflows() }} - - nightly: -{%- endif %} - jobs: - - circleci_consistency - - python_lint - - python_type_check - - docstring_parameters_sync - - clang_format - - torchhub_test - - torch_onnx_test - {{ ios_workflows(nightly=True) }} - {{ android_workflows(nightly=True) }} - {{ build_workflows(prefix="nightly_", filter_branch="nightly", upload=True) }} - docker_build: - triggers: - - schedule: - cron: "0 10 * * 0" - filters: - branches: - only: - - master - jobs: - - smoke_test_docker_image_build: - context: org-member + {{ unittest_workflows() }} \ No newline at end of file From 1d0fb44955b93d67792d14fb6426fcb3f292690b Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 16:54:44 +0100 Subject: [PATCH 04/18] dumb down unittest jobs as much as possible --- .circleci/config.yml | 252 +++++++++--------- .circleci/config.yml.in | 252 +++++++++--------- .circleci/unittest/linux/scripts/setup_env.sh | 19 +- .../unittest/windows/scripts/setup_env.sh | 8 +- 4 files changed, 267 insertions(+), 264 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bb9d895ab72..6c78e77e156 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -626,36 +626,36 @@ jobs: steps: - checkout - designate_upload_channel - - 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: 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 + # - 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 + # - run: + # name: Post process + # command: .circleci/unittest/linux/scripts/post_process.sh + # - store_test_results: + # path: test-results unittest_linux_gpu: <<: *binary_common @@ -668,36 +668,36 @@ jobs: steps: - checkout - designate_upload_channel - - 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-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - + # - 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-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # - run: name: Setup command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh - - save_cache: - - key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - - paths: - - conda - - env - - run: - name: Install torchvision - command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh + # - save_cache: + # + # key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # + # paths: + # - conda + # - env + # - run: + # name: Install torchvision + # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests command: docker run -e CIRCLECI -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 + # - 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 @@ -706,37 +706,37 @@ jobs: steps: - checkout - designate_upload_channel - - install_cuda_compatible_cmath - - 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" }} - + # - install_cuda_compatible_cmath + # - 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 + # - 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 + # - run: + # name: Post process + # command: .circleci/unittest/windows/scripts/post_process.sh + # - store_test_results: + # path: test-results unittest_windows_gpu: <<: *binary_common @@ -748,37 +748,37 @@ jobs: steps: - checkout - designate_upload_channel - - install_cuda_compatible_cmath - - 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" }} - + # - install_cuda_compatible_cmath + # - 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 + # - 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 + # - run: + # name: Post process + # command: .circleci/unittest/windows/scripts/post_process.sh + # - store_test_results: + # path: test-results unittest_macos_cpu: <<: *binary_common @@ -788,40 +788,40 @@ jobs: steps: - checkout - designate_upload_channel - - 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: 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 + # - 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 + # - run: + # name: Post process + # command: .circleci/unittest/linux/scripts/post_process.sh + # - store_test_results: + # path: test-results cmake_linux_cpu: <<: *binary_common diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 4da666c9a09..b2f7bc2668a 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -626,36 +626,36 @@ jobs: steps: - checkout - designate_upload_channel - - 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: - {% raw %} - keys: - - env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} + # - 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: + # {% raw %} + # keys: + # - env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} - run: name: Setup command: .circleci/unittest/linux/scripts/setup_env.sh - - save_cache: - {% raw %} - key: env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} - paths: - - conda - - env - - run: - name: Install torchvision - command: .circleci/unittest/linux/scripts/install.sh + # - save_cache: + # {% raw %} + # key: env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} + # 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 + # - run: + # name: Post process + # command: .circleci/unittest/linux/scripts/post_process.sh + # - store_test_results: + # path: test-results unittest_linux_gpu: <<: *binary_common @@ -668,36 +668,36 @@ jobs: steps: - checkout - designate_upload_channel - - 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: - {% raw %} - keys: - - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} + # - 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: + # {% raw %} + # keys: + # - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} - run: name: Setup command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh - - save_cache: - {% raw %} - key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} - paths: - - conda - - env - - run: - name: Install torchvision - command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh + # - save_cache: + # {% raw %} + # key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} + # paths: + # - conda + # - env + # - run: + # name: Install torchvision + # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests command: docker run -e CIRCLECI -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 + # - 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 @@ -706,37 +706,37 @@ jobs: steps: - checkout - designate_upload_channel - - install_cuda_compatible_cmath - - 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: - {% raw %} - keys: - - env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} + # - install_cuda_compatible_cmath + # - 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: + # {% raw %} + # keys: + # - env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} - run: name: Setup command: .circleci/unittest/windows/scripts/setup_env.sh - - save_cache: - {% raw %} - key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} - paths: - - conda - - env - - run: - name: Install torchvision - command: .circleci/unittest/windows/scripts/install.sh + # - save_cache: + # {% raw %} + # key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} + # 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 + # - run: + # name: Post process + # command: .circleci/unittest/windows/scripts/post_process.sh + # - store_test_results: + # path: test-results unittest_windows_gpu: <<: *binary_common @@ -748,37 +748,37 @@ jobs: steps: - checkout - designate_upload_channel - - install_cuda_compatible_cmath - - 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: - {% raw %} - keys: - - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} + # - install_cuda_compatible_cmath + # - 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: + # {% raw %} + # keys: + # - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} - run: name: Setup command: .circleci/unittest/windows/scripts/setup_env.sh - - save_cache: - {% raw %} - key: env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} - paths: - - conda - - env - - run: - name: Install torchvision - command: .circleci/unittest/windows/scripts/install.sh + # - save_cache: + # {% raw %} + # key: env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} + # 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 + # - run: + # name: Post process + # command: .circleci/unittest/windows/scripts/post_process.sh + # - store_test_results: + # path: test-results unittest_macos_cpu: <<: *binary_common @@ -788,40 +788,40 @@ jobs: steps: - checkout - designate_upload_channel - - 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: - {% raw %} - keys: - - env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} + # - 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: + # {% raw %} + # keys: + # - env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} - run: name: Setup command: .circleci/unittest/linux/scripts/setup_env.sh - - save_cache: - {% raw %} - key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - {% endraw %} - paths: - - conda - - env - - run: - name: Install torchvision - command: .circleci/unittest/linux/scripts/install.sh + # - save_cache: + # {% raw %} + # key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + # {% endraw %} + # 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 + # - run: + # name: Post process + # command: .circleci/unittest/linux/scripts/post_process.sh + # - store_test_results: + # path: test-results cmake_linux_cpu: <<: *binary_common diff --git a/.circleci/unittest/linux/scripts/setup_env.sh b/.circleci/unittest/linux/scripts/setup_env.sh index 773bd78f202..23905650f56 100755 --- a/.circleci/unittest/linux/scripts/setup_env.sh +++ b/.circleci/unittest/linux/scripts/setup_env.sh @@ -34,12 +34,13 @@ if [ ! -d "${env_dir}" ]; then fi conda activate "${env_dir}" -# 3. Install Conda dependencies -printf "* Installing dependencies (except PyTorch)\n" -FFMPEG_PIN="=4.2" -if [[ "${PYTHON_VERSION}" = "3.9" ]]; then - FFMPEG_PIN=">=4.2" -fi - -conda install -y -c pytorch "ffmpeg${FFMPEG_PIN}" -conda env update --file "${this_dir}/environment.yml" --prune +# # 3. Install Conda dependencies +# printf "* Installing dependencies (except PyTorch)\n" +# FFMPEG_PIN="=4.2" +# if [[ "${PYTHON_VERSION}" = "3.9" ]]; then +# FFMPEG_PIN=">=4.2" +# fi + +# conda install -y -c pytorch "ffmpeg${FFMPEG_PIN}" +# conda env update --file "${this_dir}/environment.yml" --prune +conda install -y -c pytest diff --git a/.circleci/unittest/windows/scripts/setup_env.sh b/.circleci/unittest/windows/scripts/setup_env.sh index b0b70631112..010c69713b9 100644 --- a/.circleci/unittest/windows/scripts/setup_env.sh +++ b/.circleci/unittest/windows/scripts/setup_env.sh @@ -34,6 +34,8 @@ if [ ! -d "${env_dir}" ]; then fi conda activate "${env_dir}" -# 3. Install Conda dependencies -printf "* Installing dependencies (except PyTorch)\n" -conda env update --file "${this_dir}/environment.yml" --prune +# # 3. Install Conda dependencies +# printf "* Installing dependencies (except PyTorch)\n" +# conda env update --file "${this_dir}/environment.yml" --prune + +conda install pytest \ No newline at end of file From a5c4b8b974b1429b0f2bcddaf43cebb2201a7471 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 16:56:24 +0100 Subject: [PATCH 05/18] install wget --- .circleci/config.yml | 8 ++++---- .circleci/config.yml.in | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6c78e77e156..656f3f8aca2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -788,10 +788,10 @@ jobs: steps: - checkout - designate_upload_channel - # - run: - # name: Install wget - # command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget - # # Disable brew auto update which is very slow + - 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. diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index b2f7bc2668a..6e353971f93 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -788,10 +788,10 @@ jobs: steps: - checkout - designate_upload_channel - # - run: - # name: Install wget - # command: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget - # # Disable brew auto update which is very slow + - 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. From f8485fcccf563060e90bd6d897b6f3e6d5a26598 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 16:59:06 +0100 Subject: [PATCH 06/18] wip --- .circleci/unittest/linux/scripts/run_test.sh | 4 ++-- .circleci/unittest/windows/scripts/run_test.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/unittest/linux/scripts/run_test.sh b/.circleci/unittest/linux/scripts/run_test.sh index 3932d22dd5d..a5a6b7ede4d 100755 --- a/.circleci/unittest/linux/scripts/run_test.sh +++ b/.circleci/unittest/linux/scripts/run_test.sh @@ -6,5 +6,5 @@ eval "$(./conda/bin/conda shell.bash hook)" conda activate ./env export PYTORCH_TEST_WITH_SLOW='1' -python -m torch.utils.collect_env -pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test/test_lol.py +# python -m torch.utils.collect_env +pytest test/test_lol.py diff --git a/.circleci/unittest/windows/scripts/run_test.sh b/.circleci/unittest/windows/scripts/run_test.sh index a8b908cd586..46ca66e0a48 100644 --- a/.circleci/unittest/windows/scripts/run_test.sh +++ b/.circleci/unittest/windows/scripts/run_test.sh @@ -6,5 +6,4 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')" conda activate ./env export PYTORCH_TEST_WITH_SLOW='1' -python -m torch.utils.collect_env -pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test/test_lol.py +pytest test/test_lol.py From 8b766d21b3320cfff200c441ad5a084b0326d29b Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 17:13:46 +0100 Subject: [PATCH 07/18] lolol --- test/test_lol.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_lol.py b/test/test_lol.py index 1c83084081a..798776a499e 100644 --- a/test/test_lol.py +++ b/test/test_lol.py @@ -1,4 +1,6 @@ -from common_utils import IN_CIRCLE_CI +import os + +IN_CIRCLE_CI = os.getenv("CIRCLECI", False) == 'true' def test_lol(): if IN_CIRCLE_CI: From 75594af13385ee2d9362fde33af94f3b55cf695e Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 17:22:53 +0100 Subject: [PATCH 08/18] fix condai nstlal ? --- .circleci/unittest/linux/scripts/setup_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/unittest/linux/scripts/setup_env.sh b/.circleci/unittest/linux/scripts/setup_env.sh index 23905650f56..1095618b26b 100755 --- a/.circleci/unittest/linux/scripts/setup_env.sh +++ b/.circleci/unittest/linux/scripts/setup_env.sh @@ -43,4 +43,4 @@ conda activate "${env_dir}" # conda install -y -c pytorch "ffmpeg${FFMPEG_PIN}" # conda env update --file "${this_dir}/environment.yml" --prune -conda install -y -c pytest +conda install pytest From 46175bdd23dcb3031a14d159a3313809df3c30ed Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 17:36:37 +0100 Subject: [PATCH 09/18] uuggghh --- .circleci/unittest/linux/scripts/setup_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/unittest/linux/scripts/setup_env.sh b/.circleci/unittest/linux/scripts/setup_env.sh index 1095618b26b..7caf0abd4bd 100755 --- a/.circleci/unittest/linux/scripts/setup_env.sh +++ b/.circleci/unittest/linux/scripts/setup_env.sh @@ -43,4 +43,4 @@ conda activate "${env_dir}" # conda install -y -c pytorch "ffmpeg${FFMPEG_PIN}" # conda env update --file "${this_dir}/environment.yml" --prune -conda install pytest +conda install -y pytest From 4bbd9432683935b90c842b06ada9ce69c64d8a61 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 17:44:23 +0100 Subject: [PATCH 10/18] remove -e CIRCLECI --- .circleci/config.yml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 6e353971f93..9332326096b 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -692,7 +692,7 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests - command: docker run -e CIRCLECI -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + 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 From 1445517c451b8e4784ea16c281d42b374305a3c2 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 17:48:24 +0100 Subject: [PATCH 11/18] jaebfjbknlafnjblkenjleafnjlafenjlfanljfaenjlefnjleafnfjlae --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 656f3f8aca2..907084abb21 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -692,7 +692,7 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests - command: docker run -e CIRCLECI -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + 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 From adaade5665e6aa5f278c1c0e0c5e2a049c0d8b26 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 18:05:13 +0100 Subject: [PATCH 12/18] trying to pass env via BASH_ENV? --- .circleci/config.yml | 5 ++++- .circleci/config.yml.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 907084abb21..a9acf5540aa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -690,9 +690,12 @@ jobs: # - run: # name: Install torchvision # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh + - run: + name: export CIRCLECI env var + command: echo "export CIRCLECI=1" >> ${BASH_ENV} - run: name: Run tests - command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + command: docker run --env-file ${BASH_ENV} -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 diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 9332326096b..9a1947fa20c 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -690,9 +690,12 @@ jobs: # - run: # name: Install torchvision # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh + - run: + name: export CIRCLECI env var + command: echo "export CIRCLECI=1" >> ${BASH_ENV} - run: name: Run tests - command: docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + command: docker run --env-file ${BASH_ENV} -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 From 3798e75064909d04387531f1dab147670c5e6001 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 18:12:05 +0100 Subject: [PATCH 13/18] wrong format --- .circleci/config.yml | 4 ++-- .circleci/config.yml.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a9acf5540aa..3410764ed1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -692,10 +692,10 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: export CIRCLECI env var - command: echo "export CIRCLECI=1" >> ${BASH_ENV} + command: echo "CIRCLECI=1" >> ./env.list - run: name: Run tests - command: docker run --env-file ${BASH_ENV} -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + command: docker run --env-file ./env.list -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 diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 9a1947fa20c..faa51596471 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -692,10 +692,10 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: export CIRCLECI env var - command: echo "export CIRCLECI=1" >> ${BASH_ENV} + command: echo "CIRCLECI=1" >> ./env.list - run: name: Run tests - command: docker run --env-file ${BASH_ENV} -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + command: docker run --env-file ./env.list -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 From 32569ded0d13c21abb1e5d977f57bba5475ff928 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 18:16:21 +0100 Subject: [PATCH 14/18] lolol --- .circleci/config.yml | 2 +- .circleci/config.yml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3410764ed1c..1675ed0552c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -692,7 +692,7 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: export CIRCLECI env var - command: echo "CIRCLECI=1" >> ./env.list + command: echo "CIRCLECI='true'" >> ./env.list - run: name: Run tests command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index faa51596471..e5047965b88 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -692,7 +692,7 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: export CIRCLECI env var - command: echo "CIRCLECI=1" >> ./env.list + command: echo "CIRCLECI='true'" >> ./env.list - run: name: Run tests command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh From 7a3c30d03a56f57c6a8429be3b204f195527283d Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Mon, 7 Jun 2021 18:22:43 +0100 Subject: [PATCH 15/18] alnjfnjafnlej --- .circleci/config.yml | 2 +- .circleci/config.yml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1675ed0552c..b27bbd5e715 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -692,7 +692,7 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: export CIRCLECI env var - command: echo "CIRCLECI='true'" >> ./env.list + command: echo "CIRCLECI=true" >> ./env.list - run: name: Run tests command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index e5047965b88..f0563e8827c 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -692,7 +692,7 @@ jobs: # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: export CIRCLECI env var - command: echo "CIRCLECI='true'" >> ./env.list + command: echo "CIRCLECI=true" >> ./env.list - run: name: Run tests command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh From 56e5faf3ba227ed5663e543f72c8bef8c846aafa Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Tue, 8 Jun 2021 15:03:44 +0100 Subject: [PATCH 16/18] clean up --- .circleci/config.yml | 2630 ++++++++++++++++- .circleci/config.yml.in | 296 +- .circleci/unittest/linux/scripts/run_test.sh | 4 +- .circleci/unittest/linux/scripts/setup_env.sh | 19 +- .../unittest/windows/scripts/run_test.sh | 3 +- .../unittest/windows/scripts/setup_env.sh | 8 +- test/common_utils.py | 12 +- 7 files changed, 2701 insertions(+), 271 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b27bbd5e715..d6b0d8af656 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -626,36 +626,36 @@ jobs: steps: - checkout - designate_upload_channel - # - 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: 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 + - 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 + - run: + name: Post process + command: .circleci/unittest/linux/scripts/post_process.sh + - store_test_results: + path: test-results unittest_linux_gpu: <<: *binary_common @@ -668,39 +668,44 @@ jobs: steps: - checkout - designate_upload_channel - # - 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-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # + - 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-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + - run: name: Setup command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh - # - save_cache: - # - # key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # - # paths: - # - conda - # - env - # - run: - # name: Install torchvision - # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh + - save_cache: + + key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + + paths: + - conda + - env - run: + # Here we create an envlist file that contains some env variables that we want the docker container to be aware of. + # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables. + # They're avaiable in all the other workflows (OSX and Windows). + # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible. + # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run". name: export CIRCLECI env var command: echo "CIRCLECI=true" >> ./env.list + - run: + name: Install torchvision + command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests - command: docker run --env-file ./env.list -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 + command: docker run --env-file ./env.list --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 @@ -709,37 +714,37 @@ jobs: steps: - checkout - designate_upload_channel - # - install_cuda_compatible_cmath - # - 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" }} - # + - install_cuda_compatible_cmath + - 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 + - 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 + - run: + name: Post process + command: .circleci/unittest/windows/scripts/post_process.sh + - store_test_results: + path: test-results unittest_windows_gpu: <<: *binary_common @@ -751,37 +756,37 @@ jobs: steps: - checkout - designate_upload_channel - # - install_cuda_compatible_cmath - # - 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" }} - # + - install_cuda_compatible_cmath + - 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 + - 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 + - run: + name: Post process + command: .circleci/unittest/windows/scripts/post_process.sh + - store_test_results: + path: test-results unittest_macos_cpu: <<: *binary_common @@ -795,36 +800,36 @@ jobs: 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: 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 + - 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 + - run: + name: Post process + command: .circleci/unittest/linux/scripts/post_process.sh + - store_test_results: + path: test-results cmake_linux_cpu: <<: *binary_common @@ -984,6 +989,474 @@ jobs: workflows: + build: + jobs: + - circleci_consistency + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_wheel_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_wheel_py3.6_cu102 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_wheel_py3.6_cu111 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_wheel: + cu_version: rocm4.1 + name: binary_linux_wheel_py3.6_rocm4.1 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_linux_wheel: + cu_version: rocm4.2 + name: binary_linux_wheel_py3.6_rocm4.2 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_wheel_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_wheel_py3.7_cu102 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_wheel_py3.7_cu111 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_wheel: + cu_version: rocm4.1 + name: binary_linux_wheel_py3.7_rocm4.1 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_linux_wheel: + cu_version: rocm4.2 + name: binary_linux_wheel_py3.7_rocm4.2 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_wheel_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_wheel_py3.8_cu102 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_wheel_py3.8_cu111 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_wheel: + cu_version: rocm4.1 + name: binary_linux_wheel_py3.8_rocm4.1 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_linux_wheel: + cu_version: rocm4.2 + name: binary_linux_wheel_py3.8_rocm4.2 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_wheel_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_wheel_py3.9_cu102 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_wheel_py3.9_cu111 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_wheel: + cu_version: rocm4.1 + name: binary_linux_wheel_py3.9_rocm4.1 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_linux_wheel: + cu_version: rocm4.2 + name: binary_linux_wheel_py3.9_rocm4.2 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_wheel_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_wheel_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_wheel_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_wheel_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.6_cpu + python_version: '3.6' + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.6_cu102 + python_version: '3.6' + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.6_cu111 + python_version: '3.6' + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.7_cpu + python_version: '3.7' + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.7_cu102 + python_version: '3.7' + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.7_cu111 + python_version: '3.7' + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.8_cpu + python_version: '3.8' + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.8_cu102 + python_version: '3.8' + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.8_cu111 + python_version: '3.8' + - binary_win_wheel: + cu_version: cpu + name: binary_win_wheel_py3.9_cpu + python_version: '3.9' + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.9_cu102 + python_version: '3.9' + - binary_win_wheel: + cu_version: cu111 + name: binary_win_wheel_py3.9_cu111 + python_version: '3.9' + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_conda_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_conda_py3.6_cu102 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_conda_py3.6_cu111 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_conda_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_conda_py3.7_cu102 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_conda_py3.7_cu111 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_conda_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_conda_py3.8_cu102 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_conda_py3.8_cu111 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_conda_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_conda_py3.9_cu102 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_conda_py3.9_cu111 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_conda_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_conda_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_conda_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_conda_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.6_cpu + python_version: '3.6' + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.6_cu102 + python_version: '3.6' + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.6_cu111 + python_version: '3.6' + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.7_cpu + python_version: '3.7' + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.7_cu102 + python_version: '3.7' + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.7_cu111 + python_version: '3.7' + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.8_cpu + python_version: '3.8' + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.8_cu102 + python_version: '3.8' + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.8_cu111 + python_version: '3.8' + - binary_win_conda: + cu_version: cpu + name: binary_win_conda_py3.9_cpu + python_version: '3.9' + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: master + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.9_cu102 + python_version: '3.9' + - binary_win_conda: + cu_version: cu111 + name: binary_win_conda_py3.9_cu111 + python_version: '3.9' + - build_docs: + name: build_docs + python_version: '3.7' + requires: + - binary_linux_wheel_py3.7_cpu + - upload_docs: + context: org-member + filters: + branches: + only: + - nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: upload_docs + python_version: '3.7' + requires: + - build_docs + - python_lint + - python_type_check + - docstring_parameters_sync + - clang_format + - torchhub_test + - torch_onnx_test + - binary_ios_build: + build_environment: binary-libtorchvision_ops-ios-12.0.0-x86_64 + ios_arch: x86_64 + ios_platform: SIMULATOR + name: binary_libtorchvision_ops_ios_12.0.0_x86_64 + - binary_ios_build: + build_environment: binary-libtorchvision_ops-ios-12.0.0-arm64 + ios_arch: arm64 + ios_platform: OS + name: binary_libtorchvision_ops_ios_12.0.0_arm64 + - binary_android_build: + build_environment: binary-libtorchvision_ops-android + name: binary_libtorchvision_ops_android + unittest: jobs: - unittest_linux_cpu: @@ -1095,4 +1568,1913 @@ workflows: - unittest_macos_cpu: cu_version: cpu name: unittest_macos_cpu_py3.9 - python_version: '3.9' \ No newline at end of file + python_version: '3.9' + + cmake: + jobs: + - cmake_linux_cpu: + cu_version: cpu + name: cmake_linux_cpu + python_version: '3.8' + - cmake_linux_gpu: + cu_version: cu102 + name: cmake_linux_gpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - cmake_windows_cpu: + cu_version: cpu + name: cmake_windows_cpu + python_version: '3.8' + - cmake_windows_gpu: + cu_version: cu102 + name: cmake_windows_gpu + python_version: '3.8' + - cmake_macos_cpu: + cu_version: cpu + name: cmake_macos_cpu + python_version: '3.8' + + nightly: + jobs: + - circleci_consistency + - python_lint + - python_type_check + - docstring_parameters_sync + - clang_format + - torchhub_test + - torch_onnx_test + - binary_ios_build: + build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-x86_64 + filters: + branches: + only: + - nightly + ios_arch: x86_64 + ios_platform: SIMULATOR + name: nightly_binary_libtorchvision_ops_ios_12.0.0_x86_64 + - binary_ios_build: + build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-arm64 + filters: + branches: + only: + - nightly + ios_arch: arm64 + ios_platform: OS + name: nightly_binary_libtorchvision_ops_ios_12.0.0_arm64 + - binary_ios_upload: + build_environment: nightly-binary-libtorchvision_ops-ios-12.0.0-upload + context: org-member + filters: + branches: + only: + - nightly + requires: + - nightly_binary_libtorchvision_ops_ios_12.0.0_x86_64 + - nightly_binary_libtorchvision_ops_ios_12.0.0_arm64 + - binary_android_upload: + build_environment: nightly-binary-libtorchvision_ops-android-upload + context: org-member + filters: + branches: + only: + - nightly + name: nightly_binary_libtorchvision_ops_android_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_cpu_upload + requires: + - nightly_binary_linux_wheel_py3.6_cpu + subfolder: cpu/ + - 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 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_cu102 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_cu102_upload + requires: + - nightly_binary_linux_wheel_py3.6_cu102 + subfolder: cu102/ + - 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 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_cu111 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda111 + - 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_cu111_upload + requires: + - nightly_binary_linux_wheel_py3.6_cu111 + subfolder: cu111/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.6_cu111_smoke_test_pip + python_version: '3.6' + requires: + - nightly_binary_linux_wheel_py3.6_cu111_upload + - binary_linux_wheel: + cu_version: rocm4.1 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_rocm4.1 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_rocm4.1_upload + requires: + - nightly_binary_linux_wheel_py3.6_rocm4.1 + subfolder: rocm4.1/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.6_rocm4.1_smoke_test_pip + python_version: '3.6' + requires: + - nightly_binary_linux_wheel_py3.6_rocm4.1_upload + - binary_linux_wheel: + cu_version: rocm4.2 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_rocm4.2 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.6_rocm4.2_upload + requires: + - nightly_binary_linux_wheel_py3.6_rocm4.2 + subfolder: rocm4.2/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.6_rocm4.2_smoke_test_pip + python_version: '3.6' + requires: + - nightly_binary_linux_wheel_py3.6_rocm4.2_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_cpu_upload + requires: + - nightly_binary_linux_wheel_py3.7_cpu + subfolder: cpu/ + - 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 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_cu102 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_cu102_upload + requires: + - nightly_binary_linux_wheel_py3.7_cu102 + subfolder: cu102/ + - 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 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_cu111 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda111 + - 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_cu111_upload + requires: + - nightly_binary_linux_wheel_py3.7_cu111 + subfolder: cu111/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.7_cu111_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_linux_wheel_py3.7_cu111_upload + - binary_linux_wheel: + cu_version: rocm4.1 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_rocm4.1 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_rocm4.1_upload + requires: + - nightly_binary_linux_wheel_py3.7_rocm4.1 + subfolder: rocm4.1/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.7_rocm4.1_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_linux_wheel_py3.7_rocm4.1_upload + - binary_linux_wheel: + cu_version: rocm4.2 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_rocm4.2 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.7_rocm4.2_upload + requires: + - nightly_binary_linux_wheel_py3.7_rocm4.2 + subfolder: rocm4.2/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.7_rocm4.2_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_linux_wheel_py3.7_rocm4.2_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_cpu_upload + requires: + - nightly_binary_linux_wheel_py3.8_cpu + subfolder: cpu/ + - 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 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_cu102 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_cu102_upload + requires: + - nightly_binary_linux_wheel_py3.8_cu102 + subfolder: cu102/ + - 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 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_cu111 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda111 + - 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_cu111_upload + requires: + - nightly_binary_linux_wheel_py3.8_cu111 + subfolder: cu111/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.8_cu111_smoke_test_pip + python_version: '3.8' + requires: + - nightly_binary_linux_wheel_py3.8_cu111_upload + - binary_linux_wheel: + cu_version: rocm4.1 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_rocm4.1 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_rocm4.1_upload + requires: + - nightly_binary_linux_wheel_py3.8_rocm4.1 + subfolder: rocm4.1/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.8_rocm4.1_smoke_test_pip + python_version: '3.8' + requires: + - nightly_binary_linux_wheel_py3.8_rocm4.1_upload + - binary_linux_wheel: + cu_version: rocm4.2 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_rocm4.2 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.8_rocm4.2_upload + requires: + - nightly_binary_linux_wheel_py3.8_rocm4.2 + subfolder: rocm4.2/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.8_rocm4.2_smoke_test_pip + python_version: '3.8' + requires: + - nightly_binary_linux_wheel_py3.8_rocm4.2_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_cpu_upload + requires: + - nightly_binary_linux_wheel_py3.9_cpu + subfolder: cpu/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.9_cpu_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_linux_wheel_py3.9_cpu_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_cu102 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_cu102_upload + requires: + - nightly_binary_linux_wheel_py3.9_cu102 + subfolder: cu102/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.9_cu102_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_linux_wheel_py3.9_cu102_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_cu111 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_cu111_upload + requires: + - nightly_binary_linux_wheel_py3.9_cu111 + subfolder: cu111/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.9_cu111_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_linux_wheel_py3.9_cu111_upload + - binary_linux_wheel: + cu_version: rocm4.1 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_rocm4.1 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-rocm:4.1 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_rocm4.1_upload + requires: + - nightly_binary_linux_wheel_py3.9_rocm4.1 + subfolder: rocm4.1/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.9_rocm4.1_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_linux_wheel_py3.9_rocm4.1_upload + - binary_linux_wheel: + cu_version: rocm4.2 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_rocm4.2 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-rocm:4.2 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_wheel_py3.9_rocm4.2_upload + requires: + - nightly_binary_linux_wheel_py3.9_rocm4.2 + subfolder: rocm4.2/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.9_rocm4.2_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_linux_wheel_py3.9_rocm4.2_upload + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.6_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.6_cpu + subfolder: '' + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.7_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.7_cpu + subfolder: '' + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.8_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.8_cpu + subfolder: '' + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.9_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.9_cpu + subfolder: '' + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.6_cpu + python_version: '3.6' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.6_cpu_upload + requires: + - nightly_binary_win_wheel_py3.6_cpu + subfolder: cpu/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.6_cpu_smoke_test_pip + python_version: '3.6' + requires: + - nightly_binary_win_wheel_py3.6_cpu_upload + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.6_cu102 + 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_cu102_upload + requires: + - nightly_binary_win_wheel_py3.6_cu102 + subfolder: cu102/ + - 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 + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.6_cu111 + 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_cu111_upload + requires: + - nightly_binary_win_wheel_py3.6_cu111 + subfolder: cu111/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.6_cu111_smoke_test_pip + python_version: '3.6' + requires: + - nightly_binary_win_wheel_py3.6_cu111_upload + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cpu + 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_cpu_upload + requires: + - nightly_binary_win_wheel_py3.7_cpu + subfolder: cpu/ + - 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 + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu102 + 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_cu102_upload + requires: + - nightly_binary_win_wheel_py3.7_cu102 + subfolder: cu102/ + - 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 + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu111 + 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_cu111_upload + requires: + - nightly_binary_win_wheel_py3.7_cu111 + subfolder: cu111/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.7_cu111_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_win_wheel_py3.7_cu111_upload + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.8_cpu + 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_cpu_upload + requires: + - nightly_binary_win_wheel_py3.8_cpu + subfolder: cpu/ + - 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 + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.8_cu102 + 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_cu102_upload + requires: + - nightly_binary_win_wheel_py3.8_cu102 + subfolder: cu102/ + - 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 + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.8_cu111 + 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_cu111_upload + requires: + - nightly_binary_win_wheel_py3.8_cu111 + subfolder: cu111/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.8_cu111_smoke_test_pip + python_version: '3.8' + requires: + - nightly_binary_win_wheel_py3.8_cu111_upload + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.9_cpu + python_version: '3.9' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.9_cpu_upload + requires: + - nightly_binary_win_wheel_py3.9_cpu + subfolder: cpu/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.9_cpu_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_win_wheel_py3.9_cpu_upload + - binary_win_wheel: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.9_cu102 + python_version: '3.9' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.9_cu102_upload + requires: + - nightly_binary_win_wheel_py3.9_cu102 + subfolder: cu102/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.9_cu102_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_win_wheel_py3.9_cu102_upload + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.9_cu111 + python_version: '3.9' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.9_cu111_upload + requires: + - nightly_binary_win_wheel_py3.9_cu111 + subfolder: cu111/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.9_cu111_smoke_test_pip + python_version: '3.9' + requires: + - nightly_binary_win_wheel_py3.9_cu111_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.6_cpu_upload + requires: + - nightly_binary_linux_conda_py3.6_cpu + - 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 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.6_cu102 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.6_cu102_upload + requires: + - nightly_binary_linux_conda_py3.6_cu102 + - 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 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.6_cu111 + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda111 + - 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_cu111_upload + requires: + - nightly_binary_linux_conda_py3.6_cu111 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.6_cu111_smoke_test_conda + python_version: '3.6' + requires: + - nightly_binary_linux_conda_py3.6_cu111_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.7_cpu_upload + requires: + - nightly_binary_linux_conda_py3.7_cpu + - 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 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.7_cu102 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.7_cu102_upload + requires: + - nightly_binary_linux_conda_py3.7_cu102 + - 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 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.7_cu111 + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda111 + - 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_cu111_upload + requires: + - nightly_binary_linux_conda_py3.7_cu111 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.7_cu111_smoke_test_conda + python_version: '3.7' + requires: + - nightly_binary_linux_conda_py3.7_cu111_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.8_cpu_upload + requires: + - nightly_binary_linux_conda_py3.8_cpu + - 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 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.8_cu102 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.8_cu102_upload + requires: + - nightly_binary_linux_conda_py3.8_cu102 + - 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 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.8_cu111 + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda111 + - 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_cu111_upload + requires: + - nightly_binary_linux_conda_py3.8_cu111 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.8_cu111_smoke_test_conda + python_version: '3.8' + requires: + - nightly_binary_linux_conda_py3.8_cu111_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.9_cpu_upload + requires: + - nightly_binary_linux_conda_py3.9_cpu + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.9_cpu_smoke_test_conda + python_version: '3.9' + requires: + - nightly_binary_linux_conda_py3.9_cpu_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.9_cu102 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.9_cu102_upload + requires: + - nightly_binary_linux_conda_py3.9_cu102 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.9_cu102_smoke_test_conda + python_version: '3.9' + requires: + - nightly_binary_linux_conda_py3.9_cu102_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.9_cu111 + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.9_cu111_upload + requires: + - nightly_binary_linux_conda_py3.9_cu111 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.9_cu111_smoke_test_conda + python_version: '3.9' + requires: + - nightly_binary_linux_conda_py3.9_cu111_upload + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.6_cpu + python_version: '3.6' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.6_cpu_upload + requires: + - nightly_binary_macos_conda_py3.6_cpu + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.7_cpu_upload + requires: + - nightly_binary_macos_conda_py3.7_cpu + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.8_cpu_upload + requires: + - nightly_binary_macos_conda_py3.8_cpu + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.9_cpu_upload + requires: + - nightly_binary_macos_conda_py3.9_cpu + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.6_cpu + 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_cpu_upload + requires: + - nightly_binary_win_conda_py3.6_cpu + - 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 + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.6_cu102 + 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_cu102_upload + requires: + - nightly_binary_win_conda_py3.6_cu102 + - 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 + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.6_cu111 + 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_cu111_upload + requires: + - nightly_binary_win_conda_py3.6_cu111 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.6_cu111_smoke_test_conda + python_version: '3.6' + requires: + - nightly_binary_win_conda_py3.6_cu111_upload + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.7_cpu + 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_cpu_upload + requires: + - nightly_binary_win_conda_py3.7_cpu + - 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 + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.7_cu102 + 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_cu102_upload + requires: + - nightly_binary_win_conda_py3.7_cu102 + - 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 + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.7_cu111 + 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_cu111_upload + requires: + - nightly_binary_win_conda_py3.7_cu111 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.7_cu111_smoke_test_conda + python_version: '3.7' + requires: + - nightly_binary_win_conda_py3.7_cu111_upload + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.8_cpu + 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_cpu_upload + requires: + - nightly_binary_win_conda_py3.8_cpu + - 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 + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.8_cu102 + 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_cu102_upload + requires: + - 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 + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.8_cu111 + 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_cu111_upload + requires: + - nightly_binary_win_conda_py3.8_cu111 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.8_cu111_smoke_test_conda + python_version: '3.8' + requires: + - nightly_binary_win_conda_py3.8_cu111_upload + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.9_cpu + python_version: '3.9' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.9_cpu_upload + requires: + - nightly_binary_win_conda_py3.9_cpu + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.9_cpu_smoke_test_conda + python_version: '3.9' + requires: + - nightly_binary_win_conda_py3.9_cpu_upload + - binary_win_conda: + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.9_cu102 + python_version: '3.9' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.9_cu102_upload + requires: + - nightly_binary_win_conda_py3.9_cu102 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.9_cu102_smoke_test_conda + python_version: '3.9' + requires: + - nightly_binary_win_conda_py3.9_cu102_upload + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.9_cu111 + python_version: '3.9' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.9_cu111_upload + requires: + - nightly_binary_win_conda_py3.9_cu111 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.9_cu111_smoke_test_conda + python_version: '3.9' + requires: + - nightly_binary_win_conda_py3.9_cu111_upload + docker_build: + triggers: + - schedule: + cron: "0 10 * * 0" + filters: + branches: + only: + - master + jobs: + - smoke_test_docker_image_build: + context: org-member diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index f0563e8827c..95d137fa485 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -626,36 +626,36 @@ jobs: steps: - checkout - designate_upload_channel - # - 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: - # {% raw %} - # keys: - # - env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} + - 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: + {% raw %} + keys: + - env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} - run: name: Setup command: .circleci/unittest/linux/scripts/setup_env.sh - # - save_cache: - # {% raw %} - # key: env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} - # paths: - # - conda - # - env - # - run: - # name: Install torchvision - # command: .circleci/unittest/linux/scripts/install.sh + - save_cache: + {% raw %} + key: env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} + 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 + - run: + name: Post process + command: .circleci/unittest/linux/scripts/post_process.sh + - store_test_results: + path: test-results unittest_linux_gpu: <<: *binary_common @@ -668,39 +668,44 @@ jobs: steps: - checkout - designate_upload_channel - # - 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: - # {% raw %} - # keys: - # - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} + - 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: + {% raw %} + keys: + - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} - run: name: Setup command: docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/setup_env.sh - # - save_cache: - # {% raw %} - # key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} - # paths: - # - conda - # - env - # - run: - # name: Install torchvision - # command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh + - save_cache: + {% raw %} + key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} + paths: + - conda + - env - run: + # Here we create an envlist file that contains some env variables that we want the docker container to be aware of. + # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables. + # They're avaiable in all the other workflows (OSX and Windows). + # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible. + # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run". name: export CIRCLECI env var command: echo "CIRCLECI=true" >> ./env.list + - run: + name: Install torchvision + command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests - command: docker run --env-file ./env.list -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 + command: docker run --env-file ./env.list --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 @@ -709,37 +714,37 @@ jobs: steps: - checkout - designate_upload_channel - # - install_cuda_compatible_cmath - # - 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: - # {% raw %} - # keys: - # - env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} + - install_cuda_compatible_cmath + - 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: + {% raw %} + keys: + - env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} - run: name: Setup command: .circleci/unittest/windows/scripts/setup_env.sh - # - save_cache: - # {% raw %} - # key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} - # paths: - # - conda - # - env - # - run: - # name: Install torchvision - # command: .circleci/unittest/windows/scripts/install.sh + - save_cache: + {% raw %} + key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} + 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 + - run: + name: Post process + command: .circleci/unittest/windows/scripts/post_process.sh + - store_test_results: + path: test-results unittest_windows_gpu: <<: *binary_common @@ -751,37 +756,37 @@ jobs: steps: - checkout - designate_upload_channel - # - install_cuda_compatible_cmath - # - 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: - # {% raw %} - # keys: - # - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} + - install_cuda_compatible_cmath + - 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: + {% raw %} + keys: + - env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} - run: name: Setup command: .circleci/unittest/windows/scripts/setup_env.sh - # - save_cache: - # {% raw %} - # key: env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} - # paths: - # - conda - # - env - # - run: - # name: Install torchvision - # command: .circleci/unittest/windows/scripts/install.sh + - save_cache: + {% raw %} + key: env-v1-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} + 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 + - run: + name: Post process + command: .circleci/unittest/windows/scripts/post_process.sh + - store_test_results: + path: test-results unittest_macos_cpu: <<: *binary_common @@ -795,36 +800,36 @@ jobs: 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: - # {% raw %} - # keys: - # - env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} + - 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: + {% raw %} + keys: + - env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} - run: name: Setup command: .circleci/unittest/linux/scripts/setup_env.sh - # - save_cache: - # {% raw %} - # key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} - # {% endraw %} - # paths: - # - conda - # - env - # - run: - # name: Install torchvision - # command: .circleci/unittest/linux/scripts/install.sh + - save_cache: + {% raw %} + key: env-v3-macos-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }} + {% endraw %} + 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 + - run: + name: Post process + command: .circleci/unittest/linux/scripts/post_process.sh + - store_test_results: + path: test-results cmake_linux_cpu: <<: *binary_common @@ -984,6 +989,49 @@ jobs: workflows: + build: +{%- if True %} + jobs: + - circleci_consistency + {{ build_workflows(windows_latest_only=True) }} + - python_lint + - python_type_check + - docstring_parameters_sync + - clang_format + - torchhub_test + - torch_onnx_test + {{ ios_workflows() }} + {{ android_workflows() }} + unittest: jobs: - {{ unittest_workflows() }} \ No newline at end of file + {{ unittest_workflows() }} + + cmake: + jobs: + {{ cmake_workflows() }} + + nightly: +{%- endif %} + jobs: + - circleci_consistency + - python_lint + - python_type_check + - docstring_parameters_sync + - clang_format + - torchhub_test + - torch_onnx_test + {{ ios_workflows(nightly=True) }} + {{ android_workflows(nightly=True) }} + {{ build_workflows(prefix="nightly_", filter_branch="nightly", upload=True) }} + docker_build: + triggers: + - schedule: + cron: "0 10 * * 0" + filters: + branches: + only: + - master + jobs: + - smoke_test_docker_image_build: + context: org-member diff --git a/.circleci/unittest/linux/scripts/run_test.sh b/.circleci/unittest/linux/scripts/run_test.sh index a5a6b7ede4d..419b9eb562c 100755 --- a/.circleci/unittest/linux/scripts/run_test.sh +++ b/.circleci/unittest/linux/scripts/run_test.sh @@ -6,5 +6,5 @@ eval "$(./conda/bin/conda shell.bash hook)" conda activate ./env export PYTORCH_TEST_WITH_SLOW='1' -# python -m torch.utils.collect_env -pytest test/test_lol.py +python -m torch.utils.collect_env +pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py diff --git a/.circleci/unittest/linux/scripts/setup_env.sh b/.circleci/unittest/linux/scripts/setup_env.sh index 7caf0abd4bd..773bd78f202 100755 --- a/.circleci/unittest/linux/scripts/setup_env.sh +++ b/.circleci/unittest/linux/scripts/setup_env.sh @@ -34,13 +34,12 @@ if [ ! -d "${env_dir}" ]; then fi conda activate "${env_dir}" -# # 3. Install Conda dependencies -# printf "* Installing dependencies (except PyTorch)\n" -# FFMPEG_PIN="=4.2" -# if [[ "${PYTHON_VERSION}" = "3.9" ]]; then -# FFMPEG_PIN=">=4.2" -# fi - -# conda install -y -c pytorch "ffmpeg${FFMPEG_PIN}" -# conda env update --file "${this_dir}/environment.yml" --prune -conda install -y pytest +# 3. Install Conda dependencies +printf "* Installing dependencies (except PyTorch)\n" +FFMPEG_PIN="=4.2" +if [[ "${PYTHON_VERSION}" = "3.9" ]]; then + FFMPEG_PIN=">=4.2" +fi + +conda install -y -c pytorch "ffmpeg${FFMPEG_PIN}" +conda env update --file "${this_dir}/environment.yml" --prune diff --git a/.circleci/unittest/windows/scripts/run_test.sh b/.circleci/unittest/windows/scripts/run_test.sh index 46ca66e0a48..96d9cbd6b2d 100644 --- a/.circleci/unittest/windows/scripts/run_test.sh +++ b/.circleci/unittest/windows/scripts/run_test.sh @@ -6,4 +6,5 @@ eval "$(./conda/Scripts/conda.exe 'shell.bash' 'hook')" conda activate ./env export PYTORCH_TEST_WITH_SLOW='1' -pytest test/test_lol.py +python -m torch.utils.collect_env +pytest --cov=torchvision --junitxml=test-results/junit.xml -v --durations 20 test --ignore=test/test_datasets_download.py diff --git a/.circleci/unittest/windows/scripts/setup_env.sh b/.circleci/unittest/windows/scripts/setup_env.sh index 010c69713b9..b0b70631112 100644 --- a/.circleci/unittest/windows/scripts/setup_env.sh +++ b/.circleci/unittest/windows/scripts/setup_env.sh @@ -34,8 +34,6 @@ if [ ! -d "${env_dir}" ]; then fi conda activate "${env_dir}" -# # 3. Install Conda dependencies -# printf "* Installing dependencies (except PyTorch)\n" -# conda env update --file "${this_dir}/environment.yml" --prune - -conda install pytest \ No newline at end of file +# 3. Install Conda dependencies +printf "* Installing dependencies (except PyTorch)\n" +conda env update --file "${this_dir}/environment.yml" --prune diff --git a/test/common_utils.py b/test/common_utils.py index ebc21feda69..49cae58242b 100644 --- a/test/common_utils.py +++ b/test/common_utils.py @@ -26,7 +26,7 @@ IN_RE_WORKER = os.environ.get("INSIDE_RE_WORKER") is not None IN_FBCODE = os.environ.get("IN_FBCODE_TORCHVISION") == "1" CUDA_NOT_AVAILABLE_MSG = 'CUDA device not available' - +CIRCLECI_GPU_NO_CUDA_MSG = "We're in a CircleCI GPU machine, and this test doesn't need cuda." @contextlib.contextmanager def get_tmp_dir(src=None, **kwargs): @@ -256,11 +256,13 @@ def call_args_to_kwargs_only(call_args, *callable_or_arg_names): def cpu_and_gpu(): - # TODO: make this properly handle CircleCI import pytest # noqa + in_circleci_with_gpu = IN_CIRCLE_CI and torch.cuda.is_available() # ignore CPU tests in RE as they're already covered by another contbuild - devices = [] if IN_RE_WORKER else ['cpu'] + # also ignore CPU tests in CircleCI machines that have a GPU: these tests + # are run on CPU-only machines already. + devices = [] if (IN_RE_WORKER or in_circleci_with_gpu) else ['cpu'] if torch.cuda.is_available(): cuda_marks = () @@ -278,7 +280,6 @@ def cpu_and_gpu(): def needs_cuda(test_func): - # TODO: make this properly handle CircleCI import pytest # noqa if IN_FBCODE and not IN_RE_WORKER: @@ -293,12 +294,13 @@ def needs_cuda(test_func): def cpu_only(test_func): - # TODO: make this properly handle CircleCI import pytest # noqa if IN_RE_WORKER: # The assumption is that all RE workers have GPUs. return pytest.mark.dont_collect(test_func) + elif IN_CIRCLE_CI and torch.cuda.is_available(): + return pytest.mark.skip(reason=CIRCLECI_GPU_NO_CUDA_MSG) else: return test_func From 0966a63b81f10791aed1d179d2a8b97ee9309c7c Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Tue, 8 Jun 2021 15:26:33 +0100 Subject: [PATCH 17/18] skip instead of not collecting --- test/common_utils.py | 13 ++++++++++--- test/test_lol.py | 9 --------- 2 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 test/test_lol.py diff --git a/test/common_utils.py b/test/common_utils.py index 49cae58242b..a95591ae570 100644 --- a/test/common_utils.py +++ b/test/common_utils.py @@ -28,6 +28,7 @@ CUDA_NOT_AVAILABLE_MSG = 'CUDA device not available' CIRCLECI_GPU_NO_CUDA_MSG = "We're in a CircleCI GPU machine, and this test doesn't need cuda." + @contextlib.contextmanager def get_tmp_dir(src=None, **kwargs): tmp_dir = tempfile.mkdtemp(**kwargs) @@ -258,11 +259,17 @@ def call_args_to_kwargs_only(call_args, *callable_or_arg_names): def cpu_and_gpu(): import pytest # noqa - in_circleci_with_gpu = IN_CIRCLE_CI and torch.cuda.is_available() # ignore CPU tests in RE as they're already covered by another contbuild # also ignore CPU tests in CircleCI machines that have a GPU: these tests # are run on CPU-only machines already. - devices = [] if (IN_RE_WORKER or in_circleci_with_gpu) else ['cpu'] + if IN_RE_WORKER: + devices = [] + else: + if IN_CIRCLE_CI and torch.cuda.is_available(): + mark = pytest.mark.skip(reason=CIRCLECI_GPU_NO_CUDA_MSG) + else: + mark = () + devices = [pytest.param('cpu', marks=mark)] if torch.cuda.is_available(): cuda_marks = () @@ -300,7 +307,7 @@ def cpu_only(test_func): # The assumption is that all RE workers have GPUs. return pytest.mark.dont_collect(test_func) elif IN_CIRCLE_CI and torch.cuda.is_available(): - return pytest.mark.skip(reason=CIRCLECI_GPU_NO_CUDA_MSG) + return pytest.mark.skip(reason=CIRCLECI_GPU_NO_CUDA_MSG)(test_func) else: return test_func diff --git a/test/test_lol.py b/test/test_lol.py deleted file mode 100644 index 798776a499e..00000000000 --- a/test/test_lol.py +++ /dev/null @@ -1,9 +0,0 @@ -import os - -IN_CIRCLE_CI = os.getenv("CIRCLECI", False) == 'true' - -def test_lol(): - if IN_CIRCLE_CI: - print("WOOHOO") - else: - raise ValueError("Nope") From f17fb8ca7e8b20f8c9f9d988d53fdba7392be7e3 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Tue, 8 Jun 2021 18:16:52 +0100 Subject: [PATCH 18/18] removed -t by mistake --- .circleci/config.yml | 2 +- .circleci/config.yml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6b0d8af656..e0da7563767 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -700,7 +700,7 @@ jobs: command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests - command: docker run --env-file ./env.list --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + command: docker run --env-file ./env.list -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 diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 95d137fa485..e3cefda8981 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -700,7 +700,7 @@ jobs: command: docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh - run: name: Run tests - command: docker run --env-file ./env.list --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh + command: docker run --env-file ./env.list -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