Skip to content

Commit

Permalink
[Misc] Fix typo in BlockSpaceManagerV1 (vllm-project#8944)
Browse files Browse the repository at this point in the history
  • Loading branch information
juncheoll authored Sep 29, 2024
1 parent 31f46a0 commit 1fb9c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/core/block_manager_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def _allocate_last_physical_block(
# 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
Expand Down

0 comments on commit 1fb9c1b

Please sign in to comment.