mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[c10d][fr][easy] Move check_no_missing_dump_files (#139417)
Summary: Move check_no_missing_dump_files to after the "just print" location. This allows us to print dump_files when there are actual missing files. Test Plan: ``` torchfrtrace -j ~/pyper-training-online-924394600 --selected-ranks 1 2 Inferred common prefix nccl_trace_rank_ loaded 95 files in 0.040270328521728516s built groups, memberships Rank 1 Rank 2 ------------------------------------------------------------------ ------------------------------------------------------------------ broadcast(input_sizes=[[2]], state=completed) broadcast(input_sizes=[[2]], state=completed) ``` Without this change, the command was erroring out. Pull Request resolved: https://github.com/pytorch/pytorch/pull/139417 Approved by: https://github.com/Skylion007, https://github.com/fduwjj
This commit is contained in:
parent
8e8040a5c2
commit
6727f343b5
1 changed files with 2 additions and 2 deletions
|
|
@ -447,12 +447,12 @@ def build_db(
|
|||
)
|
||||
print("built groups, memberships")
|
||||
|
||||
check_no_missing_dump_files(entries, memberships)
|
||||
|
||||
if args.just_print_entries:
|
||||
just_print_entries(entries, _groups, _memberships, _pg_guids, args)
|
||||
sys.exit(0)
|
||||
|
||||
check_no_missing_dump_files(entries, memberships)
|
||||
|
||||
tracebacks, collectives, nccl_calls = build_collectives(
|
||||
entries, _groups, _memberships, _pg_guids, version
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue