From 4e964f3b97558792d6af903425561f765b1c5d68 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Wed, 19 Aug 2020 21:04:06 -0700 Subject: [PATCH] Make Windows CUDA-11 tests master only (#43234) Summary: According to the correlation analysis, CUDA-10.1 vs CUDA-11 test failures are quite dependent on each other Pull Request resolved: https://github.com/pytorch/pytorch/pull/43234 Reviewed By: ezyang, seemethere Differential Revision: D23204289 Pulled By: malfet fbshipit-source-id: c53c5f87e55f2dabbb6735a0566c314c204ebc69 --- .circleci/cimodel/data/windows_build_definitions.py | 4 ++-- .circleci/config.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.circleci/cimodel/data/windows_build_definitions.py b/.circleci/cimodel/data/windows_build_definitions.py index 1716bdd0cedcb8..984dee5ba9e5d9 100644 --- a/.circleci/cimodel/data/windows_build_definitions.py +++ b/.circleci/cimodel/data/windows_build_definitions.py @@ -134,8 +134,8 @@ def TruePred(_): WindowsJob(2, _VC2019, CudaVersion(10, 1)), # VS2019 CUDA-11.0 WindowsJob(None, _VC2019, CudaVersion(11, 0)), - WindowsJob(1, _VC2019, CudaVersion(11, 0)), - WindowsJob(2, _VC2019, CudaVersion(11, 0)), + WindowsJob(1, _VC2019, CudaVersion(11, 0), master_only_pred=TruePred), + WindowsJob(2, _VC2019, CudaVersion(11, 0), master_only_pred=TruePred), # VS2019 CPU-only WindowsJob(None, _VC2019, None), WindowsJob(1, _VC2019, None, master_only_pred=TruePred), diff --git a/.circleci/config.yml b/.circleci/config.yml index 97a76d4014a794..3df05c7a9e0c85 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6388,6 +6388,12 @@ workflows: build_environment: pytorch-win-vs2019-cuda11-cudnn8-py3 cuda_version: "11" executor: windows-with-nvidia-gpu + filters: + branches: + only: + - master + - /ci-all\/.*/ + - /release\/.*/ name: pytorch_windows_vs2019_py36_cuda11.0_test1 python_version: "3.6" requires: @@ -6401,6 +6407,12 @@ workflows: build_environment: pytorch-win-vs2019-cuda11-cudnn8-py3 cuda_version: "11" executor: windows-with-nvidia-gpu + filters: + branches: + only: + - master + - /ci-all\/.*/ + - /release\/.*/ name: pytorch_windows_vs2019_py36_cuda11.0_test2 python_version: "3.6" requires: