← Back to events
ActiveAIRelease

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

Photo: PyTorch Releases

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources