viable/strict/1791264641: [Inductor][CPU] Update the stale cache nodes in ranges fusion (#197155)
- PyTorch 近 90 天出现 1959 次
- PyTorch 近 90 天第 1933 次发版
- 上一次:同一天稍早 · viable/strict/1791262552: [ROCm] Enable native AsyncTP (#177961)
发生了什么
Description This is a fix to the issue 195963. The root cause is that the assertion is comparing with a stale (outdated) reference node. The reference node should be updated to the new range. This code simply updates the stale node to the correct one. Also added a test case and simplified the codes by using existing helper function. Related Issue #195963 Test case: TORCHINDUCTOR_FORCE_DISABLE_CACHES=1 python test/in…
摘要按规则整理自下方来源原文