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
13d63b65
Unverified
Commit
13d63b65
authored
Dec 11, 2025
by
Cyrus Leung
Committed by
GitHub
Dec 11, 2025
Browse files
[Deprecation] Remove missed fallback for `embed_input_ids` (#30469)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
b4e8b912
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
vllm/model_executor/models/interfaces_base.py
vllm/model_executor/models/interfaces_base.py
+1
-7
No files found.
vllm/model_executor/models/interfaces_base.py
View file @
13d63b65
...
...
@@ -49,13 +49,7 @@ class VllmModel(Protocol[T_co]):
def
embed_input_ids
(
self
,
input_ids
:
torch
.
Tensor
)
->
torch
.
Tensor
:
"""Apply token embeddings to `input_ids`."""
if
hasattr
(
self
,
"get_input_embeddings"
):
logger
.
warning_once
(
"`get_input_embeddings` for vLLM models is deprecated and will be "
"removed in v0.13.0 or v1.0.0, whichever is earlier. Please rename "
"this method to `embed_input_ids`."
)
return
self
.
get_input_embeddings
(
input_ids
)
...
def
forward
(
self
,
input_ids
:
torch
.
Tensor
,
positions
:
torch
.
Tensor
)
->
T_co
:
...
...
...
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