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
3d024985
Unverified
Commit
3d024985
authored
Dec 27, 2025
by
Isotr0py
Committed by
GitHub
Dec 27, 2025
Browse files
[CI/Build] Ignore max transformers version for more common tests (#31401)
Signed-off-by:
Isotr0py
<
mozf@mail2.sysu.edu.cn
>
parent
8711b216
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
4 deletions
+20
-4
tests/models/multimodal/processing/test_common.py
tests/models/multimodal/processing/test_common.py
+5
-1
tests/models/multimodal/processing/test_tensor_schema.py
tests/models/multimodal/processing/test_tensor_schema.py
+5
-1
tests/models/test_registry.py
tests/models/test_registry.py
+5
-1
tests/models/utils.py
tests/models/utils.py
+5
-1
No files found.
tests/models/multimodal/processing/test_common.py
View file @
3d024985
...
...
@@ -211,7 +211,11 @@ def _test_processing_correctness(
model_info
=
HF_EXAMPLE_MODELS
.
find_hf_info
(
model_id_or_arch
)
model_id
=
model_id_or_arch
model_info
.
check_available_online
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
,
check_max_version
=
False
,
check_version_reason
=
"vllm"
,
)
model_config
=
ModelConfig
(
model_id
,
...
...
tests/models/multimodal/processing/test_tensor_schema.py
View file @
3d024985
...
...
@@ -172,7 +172,11 @@ def initialize_dummy_model(
def
test_model_tensor_schema
(
model_id
:
str
):
model_info
=
HF_EXAMPLE_MODELS
.
find_hf_info
(
model_id
)
model_info
.
check_available_online
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
,
check_max_version
=
False
,
check_version_reason
=
"vllm"
,
)
model_arch
=
next
(
arch
for
arch
,
info
in
HF_EXAMPLE_MODELS
.
hf_models
.
items
()
if
info
==
model_info
...
...
tests/models/test_registry.py
View file @
3d024985
...
...
@@ -31,7 +31,11 @@ from .registry import HF_EXAMPLE_MODELS
def
test_registry_imports
(
model_arch
):
# Skip if transformers version is incompatible
model_info
=
HF_EXAMPLE_MODELS
.
get_hf_info
(
model_arch
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
,
check_max_version
=
False
,
check_version_reason
=
"vllm"
,
)
# Ensure all model classes can be imported successfully
model_cls
=
ModelRegistry
.
_try_load_model_cls
(
model_arch
)
assert
model_cls
is
not
None
...
...
tests/models/utils.py
View file @
3d024985
...
...
@@ -292,7 +292,11 @@ def build_model_context(
"""
model_info
=
HF_EXAMPLE_MODELS
.
find_hf_info
(
model_id
)
model_info
.
check_available_online
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
)
model_info
.
check_transformers_version
(
on_fail
=
"skip"
,
check_max_version
=
False
,
check_version_reason
=
"vllm"
,
)
model_config_kwargs
=
model_config_kwargs
or
{}
limit_mm_per_prompt
=
limit_mm_per_prompt
or
{}
...
...
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