Skip to content

Commit

Permalink
Fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdouglas committed Mar 19, 2024
1 parent bede563 commit 4fdb4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitsandbytes/optim/adamw.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def step(self, closure=None):
self.prefetch_state(p)

if "rank" in group:
self.update_step(group, p, gindex, pindex, return_updates=lor_update)
self.update_step(group, lor_update, gindex, pindex, return_updates=lor_update)

# GaLore Projection Back
p.data.add_(state["projector"].project_back(lor_update))
Expand Down

0 comments on commit 4fdb4d3

Please sign in to comment.