[Kernel] Migrate GPTQ-Marlin GEMM kernel to JIT (#18067)
This commit is contained in:
@@ -43,7 +43,7 @@ except ImportError:
|
||||
_is_cuda = is_cuda()
|
||||
|
||||
if _is_cuda:
|
||||
from sgl_kernel import gptq_marlin_gemm
|
||||
from sglang.jit_kernel.gptq_marlin import gptq_marlin_gemm
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -17,7 +17,9 @@ from sglang.srt.utils import is_cuda
|
||||
|
||||
_is_cuda = is_cuda()
|
||||
if _is_cuda:
|
||||
from sgl_kernel import gptq_marlin_gemm, gptq_marlin_repack
|
||||
from sgl_kernel import gptq_marlin_repack
|
||||
|
||||
from sglang.jit_kernel.gptq_marlin import gptq_marlin_gemm
|
||||
|
||||
ScalarType, scalar_types = get_scalar_types()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user