Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evanatyourservice committed Dec 19, 2024
1 parent 5bafdcf commit c47c4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levanter/optim/kron.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def _balance_Q(Q: List[jax.Array]):
updates = grads_structure.unflatten(precond_gs)
Qs = grads_structure.unflatten(Qs)

precond_gs = updates_struct.unflatten(precond_gs)
updates = updates_struct.unflatten(updates)

# dtypes and new state
mu = otu.tree_cast(mu, mu_dtype)
Expand Down

0 comments on commit c47c4c5

Please sign in to comment.