You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix matmul_4bit out parameter not writing to output tensor (#1235)
The `out` kwarg in `matmul_4bit()` was accepted but ignored in the
`MatMul4Bit.forward()` path (2D+ inputs). The computed result was
returned as a new tensor without being copied into `out`.
Added `out.copy_(output)` after computing the linear result so the
caller's pre-allocated tensor is populated as expected.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments