Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Jan 23, 2025
1 parent aa25122 commit 1936d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levanter/trainer_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def init(
if model_averaging is not None:
model_averaging = model_averaging.create(trainable_model)

opt_state = init_optimizer_for_trainables(optimizer, model)
opt_state = init_optimizer_for_trainables(optimizer, trainable_model)

return cls(
0,
Expand Down

0 comments on commit 1936d28

Please sign in to comment.