← Back to events
ActiveAIRelease2.13.0

viable/strict/1787930407: [MPS] Ignore bias in complex `[b]add[b]mm` when beta is 0 (#194474)

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources