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

trunk/302f29e957bd44cd3ac34cbbddf4de25381d99ac: [HOP] Support input-input aliasing for scan (#199688)

图:PyTorch Releases

发生了什么

Enables input-input aliasing for the scan HOP: combine_fn may now take several inputs that are views of one storage, e.g. K and V split from a fused QKV projection. Such calls were rejected before, so the caller had to clone. Aliased inputs are accepted as long as none of the inputs sharing that storage is mutated: functionalization treats subgraph inputs as independent, so a write to one view would not be observed…

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

为什么在扩散

来源