fix: Increase FlashInfer workspace size for Qwen3VL models (#14173)
This commit is contained in:
@@ -161,6 +161,10 @@ class FlashInferAttnBackend(AttentionBackend):
|
||||
"Qwen2ForCausalLM" in model_runner.model_config.hf_config.architectures
|
||||
or "Qwen3ForCausalLM" in model_runner.model_config.hf_config.architectures
|
||||
or "MiMoForCausalLM" in model_runner.model_config.hf_config.architectures
|
||||
or "Qwen3VLForConditionalGeneration"
|
||||
in model_runner.model_config.hf_config.architectures
|
||||
or "Qwen3VLMoeForConditionalGeneration"
|
||||
in model_runner.model_config.hf_config.architectures
|
||||
):
|
||||
envs.SGLANG_FLASHINFER_WORKSPACE_SIZE.set(512 * 1024 * 1024)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user