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
8832fff9
Unverified
Commit
8832fff9
authored
Nov 12, 2025
by
Nick Hill
Committed by
GitHub
Nov 13, 2025
Browse files
[BugFix] Fix `mm_encoder_attn_backend` arg type checking (#28599)
Signed-off-by:
Nick Hill
<
nhill@redhat.com
>
parent
a543e678
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
.buildkite/test-pipeline.yaml
.buildkite/test-pipeline.yaml
+3
-1
vllm/config/multimodal.py
vllm/config/multimodal.py
+3
-0
No files found.
.buildkite/test-pipeline.yaml
View file @
8832fff9
...
@@ -57,7 +57,7 @@ steps:
...
@@ -57,7 +57,7 @@ steps:
-
pytest -v -s -m 'not cpu_test' multimodal
-
pytest -v -s -m 'not cpu_test' multimodal
-
pytest -v -s utils_
-
pytest -v -s utils_
-
label
:
Async Engine, Inputs, Utils, Worker Test (CPU)
# 4 mins
-
label
:
Async Engine, Inputs, Utils, Worker
, Config
Test (CPU)
# 4 mins
timeout_in_minutes
:
10
timeout_in_minutes
:
10
source_file_dependencies
:
source_file_dependencies
:
-
vllm/
-
vllm/
...
@@ -66,6 +66,7 @@ steps:
...
@@ -66,6 +66,7 @@ steps:
-
tests/multimodal
-
tests/multimodal
-
tests/standalone_tests/lazy_imports.py
-
tests/standalone_tests/lazy_imports.py
-
tests/transformers_utils
-
tests/transformers_utils
-
tests/config
no_gpu
:
true
no_gpu
:
true
commands
:
commands
:
-
python3 standalone_tests/lazy_imports.py
-
python3 standalone_tests/lazy_imports.py
...
@@ -73,6 +74,7 @@ steps:
...
@@ -73,6 +74,7 @@ steps:
-
pytest -v -s test_outputs.py
-
pytest -v -s test_outputs.py
-
pytest -v -s -m 'cpu_test' multimodal
-
pytest -v -s -m 'cpu_test' multimodal
-
pytest -v -s transformers_utils
-
pytest -v -s transformers_utils
-
pytest -v -s config
-
label
:
Python-only Installation Test
# 10min
-
label
:
Python-only Installation Test
# 10min
timeout_in_minutes
:
20
timeout_in_minutes
:
20
...
...
vllm/config/multimodal.py
View file @
8832fff9
...
@@ -170,6 +170,9 @@ class MultiModalConfig:
...
@@ -170,6 +170,9 @@ class MultiModalConfig:
def
_validate_mm_encoder_attn_backend
(
def
_validate_mm_encoder_attn_backend
(
cls
,
value
:
str
|
AttentionBackendEnum
|
None
cls
,
value
:
str
|
AttentionBackendEnum
|
None
)
->
AttentionBackendEnum
|
None
:
)
->
AttentionBackendEnum
|
None
:
# We need to import the real type here (deferred to avoid circular import).
from
vllm.attention.backends.registry
import
AttentionBackendEnum
if
value
is
None
or
isinstance
(
value
,
AttentionBackendEnum
):
if
value
is
None
or
isinstance
(
value
,
AttentionBackendEnum
):
return
value
return
value
...
...
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