debugging

This commit is contained in:
Chranos committed 2026-02-11 17:47:14 +08:00
1 parent 66d146dfad
commit 8efce7c44c
1 file changed
+6
@@ -404,6 +404,12 @@ class LlamaModel(nn.Module):
if is_pp_missing_parameter(name, self):
continue
if name not in params_dict:
logger.warning(
"Skipping weight %s not present in the model",
name)
continue
param = params_dict[name]
weight_loader = getattr(param, "weight_loader",
default_weight_loader)