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
87185c88
Unverified
Commit
87185c88
authored
Nov 25, 2025
by
Maryam Tahhan
Committed by
GitHub
Nov 25, 2025
Browse files
[Bugfix] Make deprecated `--task embedding` consistent with `--runner… (#29312)
Signed-off-by:
Maryam Tahhan
<
mtahhan@redhat.com
>
parent
9cf4edae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
vllm/config/model.py
vllm/config/model.py
+20
-10
No files found.
vllm/config/model.py
View file @
87185c88
...
...
@@ -584,6 +584,16 @@ class ModelConfig:
)
else
:
# task == "auto"
pass
else
:
# Neither generative nor pooling model - try to convert if possible
if
is_pooling_task
:
runner
=
"pooling"
convert
=
_task_to_convert
(
self
.
task
)
msg_hint
=
(
"Please replace this option with `--runner pooling "
f
"--convert
{
convert
}
` to continue using this model "
"as a pooling model."
)
else
:
debug_info
=
{
"architectures"
:
architectures
,
...
...
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