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
09ad3b76
Unverified
Commit
09ad3b76
authored
Dec 12, 2025
by
Michael Goin
Committed by
GitHub
Dec 12, 2025
Browse files
[Bug] Fix attention_backend arg string parsing (#30534)
Signed-off-by:
mgoin
<
mgoin64@gmail.com
>
parent
dc13c99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vllm/engine/arg_utils.py
vllm/engine/arg_utils.py
+7
-1
No files found.
vllm/engine/arg_utils.py
View file @
09ad3b76
...
@@ -1649,7 +1649,13 @@ class EngineArgs:
...
@@ -1649,7 +1649,13 @@ class EngineArgs:
"attention_backend and attention_config.backend "
"attention_backend and attention_config.backend "
"are mutually exclusive"
"are mutually exclusive"
)
)
attention_config
.
backend
=
self
.
attention_backend
# Convert string to enum if needed (CLI parsing returns a string)
if
isinstance
(
self
.
attention_backend
,
str
):
attention_config
.
backend
=
AttentionBackendEnum
[
self
.
attention_backend
.
upper
()
]
else
:
attention_config
.
backend
=
self
.
attention_backend
load_config
=
self
.
create_load_config
()
load_config
=
self
.
create_load_config
()
...
...
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