Skip to content

Commit 9617d7d

Browse files
authored
fix awq kernel (#3618)
* fix awq kernel * reset to zero
1 parent b2755a5 commit 9617d7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lmdeploy/pytorch/kernels/cuda/awq_kernels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def _unpack_weight(weight):
8585
@triton.autotune(
8686
configs=get_cuda_autotune_config(),
8787
key=['N', 'K'],
88+
reset_to_zero=['c_ptr'],
8889
)
8990
@triton.jit
9091
def awq_linear_kernel(

0 commit comments

Comments
 (0)