← Back to events
ActiveAIRelease

trunk/933e37182bed4de09844e675341fa72e18fb522f: [inductor] Add direct scheduler unit tests (#195336)

Photo: PyTorch Releases

What happened

Fixes #150476 Adds focused unit test coverage for previously under-tested functionality in torch/_inductor/scheduler.py . The added tests cover: FusionResult immediate and deferred fusion decisions. PendingFusion state and fusion-node bookkeeping. NodeUser identity, equality, hashing, and conservative merging behavior. Nested reduction candidate selection and fusion legality checks. Classification and rejection of p…

Summary assembled by rule from the sources below

Why it's spreading

Sources