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
e74c54bc
Commit
e74c54bc
authored
Jan 07, 2026
by
zhuwenwen
Browse files
update weights_not_loaded
parent
d82ded56
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 @
e74c54bc
...
@@ -313,7 +313,7 @@ class DefaultModelLoader(BaseModelLoader):
...
@@ -313,7 +313,7 @@ class DefaultModelLoader(BaseModelLoader):
# We only enable strict check for non-quantized models
# We only enable strict check for non-quantized models
# 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
=
{
k
for
k
in
weights_not_loaded
if
not
k
.
endswith
(
"indexer.weights_proj.bias"
)}
#
weights_not_loaded = {k for k in weights_not_loaded if not k.endswith("indexer.weights_proj.bias")}
if
weights_not_loaded
:
if
weights_not_loaded
:
raise
ValueError
(
raise
ValueError
(
"Following weights were not initialized from "
"Following weights were not initialized from "
...
...
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