mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-27 20:30:54 +08:00
[Bugfix] Fix Machete zero point issue for GPTQ models on SM90 (#21066)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
58760e12b1
commit
28a6d5423d
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user