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
a3691b6b
Unverified
Commit
a3691b6b
authored
Oct 08, 2024
by
Alex Brooks
Committed by
GitHub
Oct 08, 2024
Browse files
[Core][Frontend] Add Support for Inference Time mm_processor_kwargs (#9131)
Signed-off-by:
Alex-Brooks
<
Alex.Brooks@ibm.com
>
parent
8c746226
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/worker/openvino_model_runner.py
vllm/worker/openvino_model_runner.py
+5
-1
No files found.
vllm/worker/openvino_model_runner.py
View file @
a3691b6b
...
@@ -172,7 +172,11 @@ class OpenVINOModelRunner:
...
@@ -172,7 +172,11 @@ class OpenVINOModelRunner:
mm_data
=
seq_group_metadata
.
multi_modal_data
mm_data
=
seq_group_metadata
.
multi_modal_data
if
mm_data
:
if
mm_data
:
mm_kwargs
=
self
.
multi_modal_input_mapper
(
mm_data
)
mm_kwargs
=
self
.
multi_modal_input_mapper
(
mm_data
,
mm_processor_kwargs
=
seq_group_metadata
.
mm_processor_kwargs
,
)
multi_modal_inputs_list
.
append
(
mm_kwargs
)
multi_modal_inputs_list
.
append
(
mm_kwargs
)
block_table
=
seq_group_metadata
.
block_tables
[
seq_id
]
block_table
=
seq_group_metadata
.
block_tables
[
seq_id
]
...
...
Prev
1
2
Next
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