Unverified Commit 28a6d542 authored by Michael Goin's avatar Michael Goin Committed by GitHub
Browse files

[Bugfix] Fix Machete zero point issue for GPTQ models on SM90 (#21066)


Signed-off-by: default avatarmgoin <mgoin64@gmail.com>
parent 58760e12
......@@ -126,6 +126,11 @@ class MacheteLinearKernel(MPLinearKernel):
if c.has_g_idx:
x_2d = self.act_perm(x_2d)
if c.zero_points:
assert w_zp is not None
else:
w_zp = None
output = ops.machete_mm(a=x_2d,
b_q=w_q,
b_type=c.weight_type,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment