Fix NameError: use print instead of logger (not imported)
This commit is contained in:
@@ -1570,9 +1570,8 @@ class DeepseekV4Model(nn.Module):
|
||||
if is_pp_missing_parameter(name, self):
|
||||
continue
|
||||
if name not in params_dict:
|
||||
logger.warning(
|
||||
"Skipping weight %s (not in model params)", name
|
||||
)
|
||||
print(f"Skipping weight {name} (not in model params)",
|
||||
flush=True)
|
||||
continue
|
||||
param = params_dict[name]
|
||||
weight_loader = getattr(
|
||||
|
||||
Reference in New Issue
Block a user