viable/strict/1789514701: [Inductor] Eliminate no-op self slice_scatter after split (#195608)
- PyTorch 近 90 天出现 1019 次
- PyTorch 近 90 天第 1008 次发版
- 上一次:同一天稍早 · viable/strict/1789509051: [MPS] fix rand and uniform_ upper-bound rounding (#197081)
发生了什么
Functionalization can emit split / getitem / slice_scatter chains that write an unchanged split view back to the same range of its original tensor. Recognize this exact no-op and return the base tensor. The rewrite fails closed for symbolic sizes, mismatched dimensions or ranges, non-unit steps, and non-split sources. Pull Request resolved: #195608 Approved by: https://github.com/eellison
摘要按规则整理自下方来源原文