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

trunk/53d71a46ccf510877a3884b91875e0982edaaa13: Don't mutate the caller's annotation dict in mark_stream (#194851)

图:PyTorch Releases

发生了什么

Human note: backward annotation projection and cupti backend for getting annotations were merged approximately simultaneously, and cupti backend didn't correctly handle backward annotations - all the backward node stayed empty with cupti backend. mark_stream wrote the resolved stream id into the annotation dict it was handed. The annotation is then stored by reference in the kernel annotation registry, so the write…

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

为什么在扩散

来源