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
10349d37
Commit
10349d37
authored
Dec 22, 2025
by
zhuwenwen
Browse files
fix weights_not_loaded
parent
bcd4dc84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/model_loader/default_loader.py
vllm/model_executor/model_loader/default_loader.py
+1
-1
No files found.
vllm/model_executor/model_loader/default_loader.py
View file @
10349d37
...
@@ -272,7 +272,7 @@ class DefaultModelLoader(BaseModelLoader):
...
@@ -272,7 +272,7 @@ class DefaultModelLoader(BaseModelLoader):
# that have loaded weights tracking currently.
# that have loaded weights tracking currently.
if
model_config
.
quantization
is
None
and
loaded_weights
is
not
None
:
if
model_config
.
quantization
is
None
and
loaded_weights
is
not
None
:
weights_not_loaded
=
weights_to_load
-
loaded_weights
weights_not_loaded
=
weights_to_load
-
loaded_weights
weights_not_loaded
=
{
k
for
k
in
weights_not_loaded
if
not
k
.
endwith
(
"indexer.weights_proj.bias"
)}
weights_not_loaded
=
{
k
for
k
in
weights_not_loaded
if
not
k
.
end
s
with
(
"indexer.weights_proj.bias"
)}
if
weights_not_loaded
:
if
weights_not_loaded
:
raise
ValueError
(
"Following weights were not initialized from "
raise
ValueError
(
"Following weights were not initialized from "
f
"checkpoint:
{
weights_not_loaded
}
"
)
f
"checkpoint:
{
weights_not_loaded
}
"
)
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