← Back to events
ActiveAIRelease

trunk/3b0b5dc065ff58e120040014a08d998d88c6eed1: Fix AttrProxy module reuse in Dynamo (#185300)

What happened

Dynamo checks side-effect tracking before VariableBuilder wraps a value, but proxy_tensor _AttrProxy modules are unwrapped inside wrap_module before they are tracked. When the same proxy-backed module is first seen as a local key and later through WeakKeyDictionary internals, the early lookup checks the proxy id, misses the real module that was already tracked, unwraps to the same base module, and then trips the dup…

Summary assembled by rule from the sources below

Why it's spreading

Timeline

  1. First appeared on PyTorch ReleasesPyTorch Releases

Sources