trunk/fdbb719fcefb8b6f1490212896544b62f711eaad: [CUDA] Make graphs own annotation registry cleanup (#198418)
- PyTorch 近 90 天出现 1457 次
- PyTorch 近 90 天第 1438 次发版
- 上一次:同一天稍早 · ciflow/torchtitan/198536: [DTensor] Migrate unbind sharding propagation to single-dim strategy
发生了什么
Annotation cleanup depended on an active Cuspy observer and only tracked IDs at instantiation, leaking captures without a profiler or deferred graphs that were never instantiated. Track capture, body, and executable IDs on the graph and purge their entries before notifying profiler destroy hooks. Store nodes in per-graph buckets so rekeying moves one bucket instead of copying all live graphs, and destruction only vi…
摘要按规则整理自下方来源原文