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

trunk/3601a4924cb23c555c61850d5fd1f0a010a06b5e: [MPS] Ignore bias in complex `[b]add[b]mm` when beta is 0 (#194474)

图:PyTorch Releases

发生了什么

Fixes #194442 . baddbmm / addbmm / addmm document that when beta == 0 the input /bias is ignored, so nan/inf in it must not propagate. On MPS, real dtypes already honor this (the MPSGraph path drops the bias node when beta == 0 , and the bfloat16 case from the issue was already fixed on main after 2.13.0), but complex and integral types take the Metal-kernel path, which unconditionally adds beta*bias , so a nan/inf…

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

为什么在扩散

来源