Skip to content

Commit e3d2dd4

Browse files
committed
use ec.update to change max_failed_tests
1 parent c3543ab commit e3d2dd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eb_hooks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ def parse_hook_pytorch_cuda_tweaks(ec, *args, **kwargs):
511511
ec['excluded_tests'][''].append('test_cuda_expandable_segments')
512512

513513
ec['max_failed_tests'] = 20
514+
ec.update('max_failed_tests', '20')
514515

515516
# TODO possibly replace 'so' in suffix .so by SHLIB_EXT
516517
local_libtorch_cuda = "$EBROOTPYTORCH/lib/python%(pyshortver)s/site-packages/torch/lib/libtorch_cuda.so"

0 commit comments

Comments
 (0)