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
a822eb34
Unverified
Commit
a822eb34
authored
May 01, 2024
by
Pastel!
Committed by
GitHub
Apr 30, 2024
Browse files
[Misc] fix typo in block manager (#4453)
parent
f458112e
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 @
a822eb34
...
@@ -391,7 +391,7 @@ class BlockSpaceManagerV1(BlockSpaceManager):
...
@@ -391,7 +391,7 @@ class BlockSpaceManagerV1(BlockSpaceManager):
block_table
.
append
(
block_table
[
len
(
block_table
)
%
block_table
.
append
(
block_table
[
len
(
block_table
)
%
self
.
block_sliding_window
])
self
.
block_sliding_window
])
else
:
else
:
# The sequence has a new logical block.
# The sequence has
h
a new logical block.
# Allocate a new physical block.
# Allocate a new physical block.
new_block
=
self
.
_allocate_last_physical_block
(
seq
)
new_block
=
self
.
_allocate_last_physical_block
(
seq
)
block_table
.
append
(
new_block
)
block_table
.
append
(
new_block
)
...
...
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