trunk/84af5350fa5ecc86871cedb1c47916ec2dc903b4: [inductor] Ignore addmm and baddbmm bias when beta is zero (#196600)
- PyTorch: 2002 events in the last 90 days
- PyTorch: 1975th Release in the last 90 days
- Previous: earlier the same day · trunk/77ae01ad437a62cb8b33a0d55b0b4765de503997
What happened
Issue Addresses the beta == 0 part of #196596 . alpha == 0 has no documented contract and stays open there. Summary With beta == 0 , addmm and baddbmm ignore input , NaN and inf included. Inductor still computed beta * input in three places, and since 0 * NaN is NaN, a NaN bias reached the output: the GEMM template epilogues (Triton, CPP, CUTLASS, CK); the CPU and XPU branches of the addmm decomposition; the unfuse_…
Summary assembled by rule from the sources below