MCPcopy Create free account
hub / github.com/ml-explore/mlx / mm

Method mm

python/tests/test_quantized.py:1113–1114  ·  view source on GitHub ↗
(sb, x, wq)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected