← Back to events
ActiveAIRelease

ciflow/trunk/197039: [aotautograd] Don't recompute reads of mutated inputs or mutable buffers

What happened

Summary: The AOT min-cut partitioner may recompute a value in the backward rather than save it. That is equivalent only when re-execution is value-preserving, which fails for a read of a tensor mutated in between: recompute defers the read past the mutation, so the backward observes post-update contents. The symptom is silently wrong gradients, or a version-counter error when the input reaches the backward through S…

Summary assembled by rule from the sources below

Why it's spreading

Sources