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
1fb9c1b0
Unverified
Commit
1fb9c1b0
authored
Sep 30, 2024
by
juncheoll
Committed by
GitHub
Sep 29, 2024
Browse files
[Misc] Fix typo in BlockSpaceManagerV1 (#8944)
parent
31f46a0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/core/block_manager_v1.py
vllm/core/block_manager_v1.py
+1
-1
No files found.
vllm/core/block_manager_v1.py
View file @
1fb9c1b0
...
...
@@ -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
_
has
h
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
...
...
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