trunk/3601a4924cb23c555c61850d5fd1f0a010a06b5e: [MPS] Ignore bias in complex `[b]add[b]mm` when beta is 0 (#194474)
- PyTorch 近 90 天出现 172 次
- PyTorch 近 90 天第 170 次发版
- 上一次:同一天稍早 · trunk/567c8013f4ea0b535e6589e9931dd3a2111950df: [CI] Use clang21 image for debug-distributed build (#195067)
发生了什么
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…
摘要按规则整理自下方来源原文