Skip to content

Commit b2a01ec

Browse files
Fix mistake
1 parent 759c78d commit b2a01ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/optim/adamw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def step(self, closure=None):
228228
self.prefetch_state(p)
229229

230230
if "rank" in group:
231-
self.update_step(group, p, gindex, pindex, return_updates=lor_update)
231+
self.update_step(group, lor_update, gindex, pindex, return_updates=lor_update)
232232

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

0 commit comments

Comments
 (0)