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

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

发生了什么

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…

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

为什么在扩散

来源