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

trunk/a7f3aeed6fe187b385c48f0708ebe1ebac80e30b: [c10d] Make NCCL2 Work teardown lifetime-safe (#195485)

发生了什么

WorkNCCL event bundles returned CUDA events through a raw ProcessGroupNCCL pointer. Caller-owned async Work can remain alive after destroy_process_group drains and destroys the backend, so later Work destruction dereferenced freed memory and caused heap corruption or a hang. Move event-cache state into a separately owned object. Work event bundles keep a weak cache reference and return events only while the cache re…

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

为什么在扩散

来源