From 3a2ed6cbae167ea2fe7923112f206bfe0fc4ee39 Mon Sep 17 00:00:00 2001 From: Wentao Ye <44945378+yewentao256@users.noreply.github.com> Date: Mon, 31 Aug 2026 19:21:01 -0400 Subject: [PATCH] [Kimi Bug] Fix gdn build_attn_metadata `'KimiK3KDAMetadataBuilder' object has no attribute 'layer_names'` (#54636) Signed-off-by: yewentao256 --- vllm/v1/attention/backends/gdn_attn.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vllm/v1/attention/backends/gdn_attn.py b/vllm/v1/attention/backends/gdn_attn.py index 27df94d7bd..e4365a90c7 100644 --- a/vllm/v1/attention/backends/gdn_attn.py +++ b/vllm/v1/attention/backends/gdn_attn.py @@ -92,10 +92,9 @@ class GDNAttentionMetadataBuilder(AttentionMetadataBuilder[GDNAttentionMetadata] vllm_config: VllmConfig, device: torch.device, ): - self.vllm_config = vllm_config + super().__init__(kv_cache_spec, layer_names, vllm_config, device) self.compilation_config = vllm_config.compilation_config self.speculative_config = vllm_config.speculative_config - self.kv_cache_spec = kv_cache_spec from vllm.model_executor.layers.mamba.gdn.qwen_gdn_linear_attn import ( _resolve_gdn_prefill_backend, )