From 1fb9c1b0bf8e65e6576ff4c45f5623d233d7194b Mon Sep 17 00:00:00 2001 From: juncheoll <127460634+juncheoll@users.noreply.github.com> Date: Mon, 30 Sep 2024 00:05:54 +0900 Subject: [PATCH] [Misc] Fix typo in BlockSpaceManagerV1 (#8944) --- vllm/core/block_manager_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/core/block_manager_v1.py b/vllm/core/block_manager_v1.py index a1f96707..8bc0ce2b 100644 --- a/vllm/core/block_manager_v1.py +++ b/vllm/core/block_manager_v1.py @@ -443,7 +443,7 @@ class BlockSpaceManagerV1(BlockSpaceManager): # prefix tokens) new_block = self.gpu_allocator.allocate(block_hash, num_hashed_tokens) - # If the block has is None, then the block is not full. + # If the block_hash is None, then the block is not full. # If the block is not full, then we expect it to have a refcount of 1. if block_hash is None: assert new_block.ref_count == 1