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

trunk/b847da23ef2ea009548c60c9d026e6a6ecbe5725: [inductor] Preserve add's alpha when fusing add+mm into addmm (#199811)

发生了什么

Fixes #199698 The description below was generated by an AI assistant (Claude) and has not yet been reviewed by me; this PR is a draft until then. torch.add(inp, a @ b, alpha=0.5) under torch.compile silently computed inp + a @ b . The post-grad patterns that fuse aten.add(inp, aten.mm(a, b)) (both operand orders) into aten.addmm(inp, a, b) don't declare alpha , and _TargetArgsExpr._match drops node kwargs that a pat…

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

为什么在扩散

来源