[Kernel Slimming] Migrate AWQ marlin repack kernel to JIT (#18949)

Co-authored-by: Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com>
This commit is contained in:
Linyu Wu
2026-02-23 22:05:27 +08:00
committed by GitHub
co-authored by Xiaoyu Zhang
parent e0e0cad6bc
commit 2cdde5d4ab
11 changed files with 1336 additions and 1 deletions
+5 -1
View File
@@ -60,7 +60,11 @@ if _is_npu:
import torch_npu
if _is_cuda:
from sgl_kernel import awq_dequantize, awq_marlin_moe_repack, awq_marlin_repack
from sglang.jit_kernel.awq_dequantize import awq_dequantize
from sglang.jit_kernel.awq_marlin_repack import (
awq_marlin_moe_repack,
awq_marlin_repack,
)
elif _is_hip: