ciflow/trunk/197039: [aotautograd] Don't recompute reads of mutated inputs or mutable buffers
- PyTorch 近 90 天出现 1016 次
- PyTorch 近 90 天第 1005 次发版
- 上一次:同一天稍早 · ciflow/inductor/179700
发生了什么
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…
摘要按规则整理自下方来源原文