trunk/302f29e957bd44cd3ac34cbbddf4de25381d99ac: [HOP] Support input-input aliasing for scan (#199688)
- PyTorch 近 90 天出现 2035 次
- PyTorch 近 90 天第 2008 次发版
- 上一次:同一天稍早 · ciflow/xpu/200223
发生了什么
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…
摘要按规则整理自下方来源原文