trunk/84af5350fa5ecc86871cedb1c47916ec2dc903b4: [inductor] Ignore addmm and baddbmm bias when beta is zero (#196600)
- PyTorch 近 90 天出现 2002 次
- PyTorch 近 90 天第 1975 次发版
- 上一次:同一天稍早 · trunk/77ae01ad437a62cb8b33a0d55b0b4765de503997
发生了什么
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_…
摘要按规则整理自下方来源原文