Commit 70267267 authored by gaoqiong's avatar gaoqiong
Browse files

修改awq workspace 申请

parent 8376cc41
...@@ -217,7 +217,7 @@ class AWQLinearMethod(LinearMethodBase): ...@@ -217,7 +217,7 @@ class AWQLinearMethod(LinearMethodBase):
k, k,
n, n,
self.quant_config.group_size) self.quant_config.group_size)
output=F.linear(reshaped_x, deqweight[:,0:k]) out=F.linear(reshaped_x, deqweight[:,0:k])
if bias is not None: if bias is not None:
out.add_(bias) out.add_(bias)
......
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