← Back to events
ActiveAIRelease1.0

viable/strict/1791443442: [inductor] decompose_addmm skips non-default alpha and beta (#196588)

What happened

Issue Fixes #196577 Summary decompose_addmm matched aten.addmm without declaring beta or alpha , and the pattern matcher only compares the kwargs a pattern declares, so addmm(x, a, b, beta=0) was rewritten to a @ b + x . The pattern now pins beta=1, alpha=1 : nodes that omit them still match (the matcher fills in schema defaults), explicit 1.0 matches, and any other value or a symbolic coefficient goes through the r…

Summary assembled by rule from the sources below

Why it's spreading

Sources