trunk/79ef85d9b61ab6dff4da6790dc21aef835b57a58: [inductor] decompose_addmm skips non-default alpha and beta (#196588)
- PyTorch 近 90 天出现 2041 次
- PyTorch 近 90 天第 2014 次发版
- 上一次:同一天稍早 · trunk/4f00a94126bd72ccfd24bd529ca565ef782a50bb
发生了什么
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…
摘要按规则整理自下方来源原文