Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion python/sglang/srt/layers/quantization/modelopt_quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ def fp4_gemm(
fp4_backend = get_fp4_gemm_runner_backend()
if enable_flashinfer_fp4_gemm:
# Use the remapping logic to convert SGLang backend names to FlashInfer API names
backend = fp4_backend.get_flashinfer_backend()
backend = (
fp4_backend.get_flashinfer_backend()
if not fp4_backend.is_auto()
else "cutlass"
Comment thread
b8zhong marked this conversation as resolved.
)
return flashinfer_fp4_gemm(
input, weight, input_sf, weight_sf, alpha, out_dtype, backend=backend
)
Expand Down
Loading