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
2135cacb
Unverified
Commit
2135cacb
authored
Jun 13, 2024
by
Isotr0py
Committed by
GitHub
Jun 12, 2024
Browse files
[Bugfix] Fix wrong multi_modal_input format for CPU runner (#5451)
parent
7d19de2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/worker/cpu_model_runner.py
vllm/worker/cpu_model_runner.py
+2
-2
No files found.
vllm/worker/cpu_model_runner.py
View file @
2135cacb
...
...
@@ -343,8 +343,8 @@ class CPUModelRunner:
"kv_caches"
:
kv_caches
,
"attn_metadata"
:
attn_metadata
,
}
if
self
.
vision_language_config
:
execute_model_kwargs
.
update
(
{
"image_input"
:
multi_modal_input
}
)
if
self
.
vision_language_config
and
multi_modal_input
is
not
None
:
execute_model_kwargs
.
update
(
multi_modal_input
)
hidden_states
=
model_executable
(
**
execute_model_kwargs
)
...
...
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