(ctx, input, qweight, scales, qzeros, g_idx, bits, maxq)
| 276 | @staticmethod |
| 277 | @custom_fwd(cast_inputs=torch.float16) |
| 278 | def forward(ctx, input, qweight, scales, qzeros, g_idx, bits, maxq): |
| 279 | output = matmul248(input, qweight, scales, qzeros, g_idx, bits, maxq) |
| 280 | ctx.save_for_backward(qweight, scales, qzeros, g_idx) |
| 281 | ctx.bits, ctx.maxq = bits, maxq |
| 282 | return output |
| 283 | |
| 284 | @staticmethod |
| 285 | @custom_bwd |
nothing calls this directly
no test coverage detected