mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[experiment] More procs in CI (#98098)
experiment with more procs but only in master so prs dont get affected Pull Request resolved: https://github.com/pytorch/pytorch/pull/98098 Approved by: https://github.com/huydhn
This commit is contained in:
committed by
PyTorch MergeBot
parent
e302f083bb
commit
9fd3eba6ce
@ -8,7 +8,7 @@ from tools.stats.import_test_stats import get_disabled_tests, get_slow_tests
|
||||
|
||||
IS_MEM_LEAK_CHECK = os.getenv("PYTORCH_TEST_CUDA_MEM_LEAK_CHECK", "0") == "1"
|
||||
|
||||
NUM_PROCS = 1 if IS_MEM_LEAK_CHECK else 2
|
||||
NUM_PROCS = 1 if IS_MEM_LEAK_CHECK else 3 if os.getenv("BRANCH", "") == "master" else 2
|
||||
THRESHOLD = 60 * 10 # 10 minutes
|
||||
|
||||
# See Note [ROCm parallel CI testing]
|
||||
|
||||
Reference in New Issue
Block a user