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
f441d36c
Unverified
Commit
f441d36c
authored
Dec 01, 2025
by
Johnny Yang
Committed by
GitHub
Dec 01, 2025
Browse files
Add missing return in _check_vllm_model_embed_input_ids (#29834)
Signed-off-by:
Johnny Yang
<
johnnyyang@google.com
>
parent
22274b21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/model_executor/models/interfaces_base.py
vllm/model_executor/models/interfaces_base.py
+1
-0
No files found.
vllm/model_executor/models/interfaces_base.py
View file @
f441d36c
...
@@ -76,6 +76,7 @@ def _check_vllm_model_embed_input_ids(model: type[object] | object) -> bool:
...
@@ -76,6 +76,7 @@ def _check_vllm_model_embed_input_ids(model: type[object] | object) -> bool:
"this method to `embed_input_ids`."
"this method to `embed_input_ids`."
)
)
model
.
embed_input_ids
=
model_get_input_embeddings
model
.
embed_input_ids
=
model_get_input_embeddings
return
True
logger
.
warning
(
logger
.
warning
(
"The model (%s) is missing the `embed_input_ids` method."
,
"The model (%s) is missing the `embed_input_ids` method."
,
model
,
model
,
...
...
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