Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion vllm/v1/core/kv_cache_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,10 @@ def _get_block_hashes(kv_cache_spec: KVCacheSpec) -> BlockHashList:
for group_id, blocks in zip(group_ids, hit_blocks):
hit_blocks_by_group[group_id] = blocks

if curr_hit_length < hit_length:
if self.use_eagle:
hit_length = curr_hit_length
break
Comment thread
xyang16 marked this conversation as resolved.
Outdated
elif curr_hit_length < hit_length:
hit_length = curr_hit_length
else:
break
Comment thread
xyang16 marked this conversation as resolved.
Outdated
Expand Down