← Back to events
ActiveAIRelease

trunk/84af5350fa5ecc86871cedb1c47916ec2dc903b4: [inductor] Ignore addmm and baddbmm bias when beta is zero (#196600)

Photo: PyTorch Releases

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

Why it's spreading

Sources