Commit cae6ba3
Add FlightRecorder tests (#1971)
As a follow-up to #1867 , this PR includes tests for the FlightRecorder
on XCCL, as well as moving some definitions from
ProcessGroupXCCL::Options to Backend::Options.
These tests are largely based on
`pytorch/test/distributed/test_c10d_nccl.py`, but doesn't include some
tests:
- `test_short_json` since json dumps are not supported in
ProcessGroupXCCL
- `test_trace_while_all_works_retired`: `_wait_for_pending_works` isn't
supported by XCCL
- `test_trace_while_active`: XCCL hangs when op is called on only one
rank
- `test_trace_while_stuck`: XCCL hangs when op is called on only one
rank
---------
Co-authored-by: Yu, Guangye <[email protected]>1 parent 086f20a commit cae6ba3
File tree
3 files changed
+598
-21
lines changed- src/xccl
- test/xpu/distributed
3 files changed
+598
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
487 | 490 | | |
488 | 491 | | |
489 | 492 | | |
| |||
664 | 667 | | |
665 | 668 | | |
666 | 669 | | |
667 | | - | |
668 | 670 | | |
669 | 671 | | |
670 | 672 | | |
671 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
672 | 679 | | |
673 | 680 | | |
674 | 681 | | |
675 | 682 | | |
676 | | - | |
677 | 683 | | |
678 | 684 | | |
679 | 685 | | |
| |||
714 | 720 | | |
715 | 721 | | |
716 | 722 | | |
717 | | - | |
718 | | - | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
719 | 732 | | |
720 | 733 | | |
721 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
0 commit comments