mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-19 15:41:13 +08:00
chore: format
This commit is contained in:
parent
43708f3d97
commit
785bc85966
@ -176,7 +176,9 @@ class Module(dict):
|
||||
if extras := (new_weights.keys() - curr_weights.keys()):
|
||||
num_extra = len(extras)
|
||||
extras = ",\n".join(sorted(extras))
|
||||
raise ValueError(f"Received {num_extra} parameters not in model: \n{extras}.")
|
||||
raise ValueError(
|
||||
f"Received {num_extra} parameters not in model: \n{extras}."
|
||||
)
|
||||
if missing := (curr_weights.keys() - new_weights.keys()):
|
||||
num_missing = len(missing)
|
||||
missing = ",\n".join(sorted(missing))
|
||||
|
Loading…
Reference in New Issue
Block a user