← 返回事件
持续讨论AI发版

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

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源