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
b79e20fe
Commit
b79e20fe
authored
Oct 03, 2025
by
zhuwenwen
Browse files
skip load index weights error
parent
4b26fd42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/model_executor/models/deepseek_v2.py
vllm/model_executor/models/deepseek_v2.py
+5
-1
No files found.
vllm/model_executor/models/deepseek_v2.py
View file @
b79e20fe
...
@@ -1428,7 +1428,11 @@ class DeepseekV2ForCausalLM(nn.Module, SupportsPP, MixtureOfExperts,
...
@@ -1428,7 +1428,11 @@ class DeepseekV2ForCausalLM(nn.Module, SupportsPP, MixtureOfExperts,
if
is_pp_missing_parameter
(
name
,
self
):
if
is_pp_missing_parameter
(
name
,
self
):
continue
continue
param
=
params_dict
[
name
]
try
:
param
=
params_dict
[
name
]
except
Exception
as
e
:
print
(
"params_dict[name] error in name:"
,
name
)
continue
weight_loader
=
getattr
(
param
,
"weight_loader"
,
weight_loader
=
getattr
(
param
,
"weight_loader"
,
default_weight_loader
)
default_weight_loader
)
weight_loader
(
param
,
loaded_weight
)
weight_loader
(
param
,
loaded_weight
)
...
...
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