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

Method f_test

python/tests/test_quantized.py:934–935  ·  view source on GitHub ↗
(x, qw, s, b, i1, i2)

Source from the content-addressed store, hash-verified

932 return mx.gather_mm(x, w, i1, i2).sum()
933
934 def f_test(x, qw, s, b, i1, i2):
935 return mx.gather_qmm(x, qw, s, b, i1, i2, transpose=True).sum()
936
937 r1 = f_ref(x, w_hat, lhs_indices, rhs_indices)
938 r2 = f_test(x, qw, s, b, lhs_indices, rhs_indices)

Callers

nothing calls this directly

Calls 1

gather_qmmMethod · 0.80

Tested by

no test coverage detected