Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
32142b3c
Unverified
Commit
32142b3c
authored
Jul 22, 2025
by
Simon Mo
Committed by
GitHub
Jul 22, 2025
Browse files
[Bugfix] Fix eviction cached blocked logic (#21357)
Signed-off-by:
simon-mo
<
simon.mo@hey.com
>
parent
82b8027b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/core/block_pool.py
vllm/v1/core/block_pool.py
+1
-1
No files found.
vllm/v1/core/block_pool.py
View file @
32142b3c
...
...
@@ -253,7 +253,7 @@ class BlockPool:
return
False
block
.
reset_hash
()
blocks_by_id
.
pop
(
block
.
block_id
,
None
)
if
blocks_by_id
:
if
len
(
blocks_by_id
)
==
0
:
del
self
.
cached_block_hash_to_block
[
block_hash
]
if
self
.
enable_kv_cache_events
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment