viable/strict/1791489787: [c10d] Reuse workers for backend point-to-point tests (#198157)
- PyTorch 近 90 天出现 2067 次
- PyTorch 近 90 天第 2038 次发版
- 上一次:同一天稍早 · viable/strict/1791474920
发生了什么
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…
摘要按规则整理自下方来源原文