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
a8d2e326
Unverified
Commit
a8d2e326
authored
Oct 27, 2025
by
Roger Wang
Committed by
GitHub
Oct 28, 2025
Browse files
[Bugfix][CI] Fix config resolving logic with remote models (#27610)
parent
53a56e65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
vllm/transformers_utils/config.py
vllm/transformers_utils/config.py
+8
-3
No files found.
vllm/transformers_utils/config.py
View file @
a8d2e326
...
...
@@ -622,7 +622,12 @@ def get_config(
# Architecture mapping for models without explicit architectures field
if
not
config
.
architectures
:
if
config
.
model_type
not
in
MODEL_MAPPING_NAMES
:
raise
ValueError
(
f
"Cannot find architecture name for
{
config
.
model_type
}
"
)
logger
.
warning
(
"Model config does not have a top-level 'architectures' field: "
"expecting `hf_overrides={'architectures': ['...']}` to be passed "
"in engine args."
)
else
:
model_type
=
MODEL_MAPPING_NAMES
[
config
.
model_type
]
config
.
update
({
"architectures"
:
[
model_type
]})
...
...
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