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

viable/strict/1787533902: Prevent saving mutated grad inputs in AOT min-cut (#185876)

发生了什么

AOTAutograd clones data-mutated grad inputs in the joint trace so the backward graph can read their pre-mutation values. The Inductor min-cut partitioner could still choose the original primal input placeholder as a saved activation. At runtime that placeholder aliases the user's input, which is mutated by the AOT forward epilogue after the forward returns, so autograd later sees a bumped version counter and fails d…

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

为什么在扩散

时间线

  1. PyTorch Releases 最先出现PyTorch Releases

来源