[Bugfix][TurboQuant] Add KV quant mode for turboquant (#50533)

Signed-off-by: Soila Kavulya <soila.p.kavulya@intel.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Soila Kavulya
2026-07-31 17:42:32 +00:00
committed by GitHub
co-authored by Claude
parent e67a2e0a56
commit aef85aed5d
4 changed files with 32 additions and 2 deletions
-2
View File
@@ -27,7 +27,6 @@ from vllm.v1.kv_cache_interface import (
KVCacheSpec,
KVQuantMode,
MambaSpec,
TQFullAttentionSpec,
UniformTypeKVCacheSpecs,
)
from vllm.v1.worker.gpu.model_states.interface import ModelSpecificAttnMetadata
@@ -324,7 +323,6 @@ def _reshape_kv_cache(
layer_cache_dtype = (
"auto"
if kv_cache_spec.kv_quant_mode == KVQuantMode.NONE
and not isinstance(kv_cache_spec, TQFullAttentionSpec)
else cache_dtype
)
kv_cache_shape = group.backend.get_kv_cache_shape(