Skip to content

Commit

Permalink
add kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
blahBlahhhJ committed May 1, 2024
1 parent b942d60 commit 828b5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levanter/optim/schedulefree_adam.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def init_fn(params):
nu=nu,
)

def update_fn(updates, state, params=None):
def update_fn(updates, state, params=None, **kwargs):
z = state.z
t = state.count
weight_sum = state.weight_sum
Expand Down

0 comments on commit 828b5d9

Please sign in to comment.