[Frontend] Advertise --enable-x/--disable-x for boolean CLI flags (#61479)

Signed-off-by: mgoin <mgoin64@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Misha Goin
2026-10-15 01:08:02 -07:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 48f17b77bb
commit 1c4c319792
13 changed files with 118 additions and 36 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class PoolerConfig:
"""
Whether the engine-side late-interaction scorer may use the fused
flash-maxsim Triton kernel. Disabled automatically when the API server
is started with `--no-enable-flash-late-interaction`; the reference
is started with `--disable-flash-late-interaction`; the reference
scorer is used instead.
"""
+5 -5
View File
@@ -2177,10 +2177,10 @@ class VllmConfig:
self._verify_aux_output_compatibility()
# Hybrid KV cache manager (HMA) runtime rules:
# - Explicit enable (--no-disable-kv-cache-manager): error if runtime
# - Explicit enable (--enable-hybrid-kv-cache-manager): error if runtime
# disables it
# - No preference: auto-disable for unsupported features or connector configs
# - Explicit disable (--disable-kv-cache-manager): always respect it
# - Explicit disable (--disable-hybrid-kv-cache-manager): always respect it
need_disable_hybrid_kv_cache_manager = False
# logger should only print warning message for hybrid models. As we
# can't know whether the model is hybrid or not now, so we don't log
@@ -2241,7 +2241,7 @@ class VllmConfig:
raise ValueError(
"Hybrid KV cache manager was explicitly enabled but is not "
"supported in this configuration. Consider omitting the "
"--no-disable-hybrid-kv-cache-manager flag to let vLLM decide"
"--enable-hybrid-kv-cache-manager flag to let vLLM decide"
" automatically."
)
@@ -3410,7 +3410,7 @@ class VllmConfig:
if self.cache_config.mamba_cache_mode != "none":
raise ValueError(
"FlashInfer ReplaySSM speculative decoding does not support "
"prefix caching; use --no-enable-prefix-caching"
"prefix caching; use --disable-prefix-caching"
)
query_len = 1 + self.num_speculative_tokens
if self.cache_config.replayssm_buffer_len < query_len:
@@ -3429,7 +3429,7 @@ class VllmConfig:
if self.cache_config.mamba_cache_mode == "align":
raise ValueError(
"FlashInfer ReplaySSM does not support prefix caching yet; "
"use --no-enable-prefix-caching"
"use --disable-prefix-caching"
)
elif self.mamba_config.backend != MambaBackendEnum.TRITON:
raise ValueError(