mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[ez] Serial when NUM_PROCS is 1 (#117977)
Makes it easier to understand whats going on Pull Request resolved: https://github.com/pytorch/pytorch/pull/117977 Approved by: https://github.com/huydhn
This commit is contained in:
parent
f9fca33baf
commit
cef5b93f28
1 changed files with 1 additions and 0 deletions
|
|
@ -1321,6 +1321,7 @@ def must_serial(file: Union[str, ShardedTest]) -> bool:
|
|||
or file in CI_SERIAL_LIST
|
||||
or file in JIT_EXECUTOR_TESTS
|
||||
or file in ONNX_SERIAL_LIST
|
||||
or NUM_PROCS == 1
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue