trunk/53d71a46ccf510877a3884b91875e0982edaaa13: Don't mutate the caller's annotation dict in mark_stream (#194851)
- PyTorch: 123 events in the last 90 days
- PyTorch: 122th Release in the last 90 days
- Previous: earlier the same day · trunk/335b7a63d84d579cd801d6a3afc04f04728f09eb
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