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
0ee349b5
Unverified
Commit
0ee349b5
authored
Jan 26, 2025
by
Roger Wang
Committed by
GitHub
Jan 26, 2025
Browse files
[V1][Bugfix] Fix assertion when mm hashing is turned off (#12439)
Signed-off-by:
Roger Wang
<
ywang@roblox.com
>
parent
fa63e710
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/v1/request.py
vllm/v1/request.py
+2
-1
No files found.
vllm/v1/request.py
View file @
0ee349b5
...
@@ -58,6 +58,7 @@ class Request:
...
@@ -58,6 +58,7 @@ class Request:
# Sanity check
# Sanity check
assert
len
(
self
.
mm_inputs
)
==
len
(
self
.
mm_positions
)
assert
len
(
self
.
mm_inputs
)
==
len
(
self
.
mm_positions
)
if
self
.
mm_hashes
:
assert
len
(
self
.
mm_inputs
)
==
len
(
self
.
mm_hashes
)
assert
len
(
self
.
mm_inputs
)
==
len
(
self
.
mm_hashes
)
# Cache the computed kv block hashes of the request to avoid
# Cache the computed kv block hashes of the request to avoid
...
...
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