[CI] Reduce CI_SERIAL_LIST list (#124085)

Add serial marker for individual tests so the test file can be removed from the ci serial list
Run serial marked tests first in serial
Run all other tests afterwards in parallel

Slowly reduce list and mark individual tests as serial instead

Hope # of serial tests is small so sharding evenness doesn't get too messed up

Hopefully can do 3 procs for sm86 and cpu?

serial no longer looks like a real word to me

Pull Request resolved: https://github.com/pytorch/pytorch/pull/124085
Approved by: https://github.com/seemethere, https://github.com/malfet
This commit is contained in:
Catherine Lee
2024-04-17 00:23:42 +00:00
committed by PyTorch MergeBot
parent 946b50c788
commit 0abd3f60fd
4 changed files with 42 additions and 10 deletions

View File

@ -19,3 +19,6 @@ filterwarnings =
ignore:Module already imported so cannot be rewritten.*hypothesis:pytest.PytestAssertRewriteWarning
xfail_strict = True
markers =
serial: marks tests as needs to be run serially (deselect with '-m "not serial"')