Skip to content

Commit 6adb673

Browse files
committed
fix EagleProposer for deepseek MTP single kv cache group case
1 parent 14ed5f4 commit 6adb673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/v1/spec_decode/eagle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def propose(
148148
assert self.runner is not None
149149

150150
# FIXME: need to consider multiple kv_cache_groups
151-
attn_metadata = self.runner.attn_metadata_builder.build(
151+
attn_metadata = self.runner.attn_metadata_builders[0].build(
152152
common_prefix_len=0,
153153
common_attn_metadata=common_attn_metadata,
154154
)

0 commit comments

Comments
 (0)