← Back to events
ActiveAIRelease

viable/strict/1791489787: [c10d] Reuse workers for backend point-to-point tests (#198157)

What happened

Each test_c10d_p2p test spawns new rank processes, so worker startup dominates the suite. Move the shared helpers ( _peers , _tensor , _test_send_recv ) into P2PTestMixin and run four P2P tests on C10dBackendTestContinuous , which re-creates the process group per test. test_async_work_lifetime drops unfinished send work, so it moves to AbstractIsolatedP2PTest and keeps fresh processes; its ID becomes {Backend}Isolat…

Summary assembled by rule from the sources below

Why it's spreading

Sources