← 返回事件
持续讨论AI发版

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

图:PyTorch Releases

发生了什么

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_…

摘要按规则整理自下方来源原文

为什么在扩散

来源