Support piecewise cuda graph for dsv3 fp4 (#15531)
This commit is contained in:
+1
-2
@@ -17,7 +17,6 @@ from sglang.srt.layers.quantization.compressed_tensors.schemes import (
|
||||
)
|
||||
from sglang.srt.layers.quantization.modelopt_quant import (
|
||||
FLASHINFER_FP4_GEMM_BACKEND,
|
||||
_sglang_fp4_gemm,
|
||||
enable_flashinfer_fp4_gemm,
|
||||
fp4_quantize,
|
||||
)
|
||||
@@ -154,7 +153,7 @@ class CompressedTensorsW4A4Fp4(CompressedTensorsScheme):
|
||||
w = layer.weight_packed.T
|
||||
w_blockscale = layer.weight_scale.T
|
||||
|
||||
out = _sglang_fp4_gemm(
|
||||
out = torch.ops.sglang.fp4_gemm(
|
||||
x_fp4,
|
||||
w,
|
||||
x_blockscale,
|
||||
|
||||
Reference in New Issue
Block a user