viable/strict/1791023242: [inductor] Add direct scheduler unit tests (#195336)
- PyTorch: 1854 events in the last 90 days
- PyTorch: 1830th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1791021071: [fsdp2][mp] per-param mixed_precision policy (#196626)
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