Skip to content

Commit

Permalink
Make Windows CUDA-11 tests master only (pytorch#43234)
Browse files Browse the repository at this point in the history
Summary:
According to the correlation analysis, CUDA-10.1 vs CUDA-11 test failures are quite dependent on each other

Pull Request resolved: pytorch#43234

Reviewed By: ezyang, seemethere

Differential Revision: D23204289

Pulled By: malfet

fbshipit-source-id: c53c5f87e55f2dabbb6735a0566c314c204ebc69
  • Loading branch information
malfet authored and facebook-github-bot committed Aug 20, 2020
1 parent 3eb3132 commit 4e964f3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/cimodel/data/windows_build_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 4e964f3

Please sign in to comment.