Skip to content

Commit 39ba79c

Browse files
cleanup
Signed-off-by: Lucas Wilkinson <[email protected]>
1 parent cd528d1 commit 39ba79c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vllm/v1/core/kv_cache_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,7 @@ def get_num_blocks(
819819
available_memory: Memory available for KV cache in bytes.
820820
page_size: The page size of the KV cache.
821821
"""
822-
823822
num_blocks = int(available_memory // page_size // num_layers)
824-
825823
num_blocks = max(num_blocks, 0)
826824
num_blocks = may_override_num_blocks(vllm_config, num_blocks)
827825
return num_blocks

0 commit comments

Comments
 (0)