(sb, x, wq)
| 1111 | wq, s, b = mx.quantize(w, bits=4, group_size=64) |
| 1112 | |
| 1113 | def mm(sb, x, wq): |
| 1114 | return mx.quantized_matmul(x, wq, *sb, bits=4, group_size=64).sum() |
| 1115 | |
| 1116 | params = (s, b) |
| 1117 | dparams = mx.grad(mm)((s, b), x, wq) |
nothing calls this directly
no outgoing calls
no test coverage detected