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
ba51aea6
Unverified
Commit
ba51aea6
authored
Jul 02, 2025
by
Cyrus Leung
Committed by
GitHub
Jul 01, 2025
Browse files
[Bugfix] Keye-VL compatibility with `tok_kwargs` (#20058) (#20353)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
8452946c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/model_executor/models/keye.py
vllm/model_executor/models/keye.py
+3
-1
No files found.
vllm/model_executor/models/keye.py
View file @
ba51aea6
...
...
@@ -1268,11 +1268,13 @@ class KeyeMultiModalProcessor(BaseMultiModalProcessor[KeyeProcessingInfo]):
prompt
:
str
,
mm_data
:
Mapping
[
str
,
object
],
mm_kwargs
:
Mapping
[
str
,
object
],
tok_kwargs
:
Mapping
[
str
,
object
],
)
->
BatchFeature
:
mm_kwargs
=
self
.
info
.
_get_image_processor_kwargs
(
**
mm_kwargs
)
return
self
.
info
.
ctx
.
call_hf_processor
(
self
.
info
.
get_hf_processor
(
**
mm_kwargs
),
dict
(
text
=
prompt
,
**
mm_data
),
self
.
info
.
_get_image_processor_kwargs
(
**
mm
_kwargs
),
dict
(
**
mm_kwargs
,
**
tok
_kwargs
),
)
def
_get_prompt_updates
(
...
...
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