← Back to events
ActiveAIRelease

viable/strict/1791264641: [Inductor][CPU] Update the stale cache nodes in ranges fusion (#197155)

Photo: PyTorch Releases

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources