[FlashInfer] Bump FlashInfer version from 0.6.3 to 0.6.4 (#19005)

This commit is contained in:
Mohammad Miadh Angkad
2026-03-03 08:12:09 +08:00
committed by GitHub
parent 3f9fc8b848
commit 6822941514
7 changed files with 12 additions and 15 deletions

View File

@@ -27,8 +27,8 @@ dependencies = [
"datasets",
"einops",
"fastapi",
"flashinfer_python==0.6.3", # keep it aligned with jit-cache version in Dockerfile
"flashinfer_cubin==0.6.3",
"flashinfer_python==0.6.4", # keep it aligned with jit-cache version in Dockerfile
"flashinfer_cubin==0.6.4",
"gguf",
"hf_transfer",
"huggingface_hub",

View File

@@ -879,7 +879,7 @@ def _set_envs_and_config(server_args: ServerArgs):
if server_args.attention_backend == "flashinfer":
assert_pkg_version(
"flashinfer_python",
"0.6.3",
"0.6.4",
"Please uninstall the old version and "
"reinstall the latest version by following the instructions "
"at https://docs.flashinfer.ai/installation.html.",

View File

@@ -35,7 +35,6 @@ from sglang.srt.parser.reasoning_parser import ReasoningParser
from sglang.srt.utils.common import (
LORA_TARGET_ALL_MODULES,
SUPPORTED_LORA_TARGET_MODULES,
check_pkg_version_at_least,
configure_ipv6,
cpu_has_amx_support,
get_bool_env_var,
@@ -1745,12 +1744,10 @@ class ServerArgs:
and self.moe_a2a_backend == "none"
and self.moe_runner_backend == "auto"
):
# Only enable flashinfer_trtllm if flashinfer-python version is >= 0.6.3
if check_pkg_version_at_least("flashinfer-python", "0.6.3"):
self.moe_runner_backend = "flashinfer_trtllm"
logger.info(
"Use flashinfer_trtllm as MoE runner backend on sm100 for Glm4MoeForCausalLM"
)
self.moe_runner_backend = "flashinfer_trtllm"
logger.info(
"Use flashinfer_trtllm as MoE runner backend on sm100 for Glm4MoeForCausalLM"
)
elif model_arch in [
"FalconH1ForCausalLM",

View File

@@ -1114,7 +1114,7 @@ def check_pkg_version_at_least(pkg: str, min_version: str) -> bool:
Args:
pkg: Package name (distribution name, e.g., "flashinfer-python")
min_version: Minimum version required (e.g., "0.6.3")
min_version: Minimum version required (e.g., "0.6.4")
Returns:
True if package is installed and version >= min_version, False otherwise