Skip to content

Commit 759c78d

Browse files
Cleanup
1 parent 57de0d6 commit 759c78d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

bitsandbytes/optim/adamw.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -200,22 +200,6 @@ def step(self, closure=None):
200200
if "step" not in state:
201201
state["step"] = 0
202202

203-
if "rank" in group:
204-
if "projector" not in state:
205-
state["projector"] = GaLoreProjector(
206-
group["rank"],
207-
update_proj_gap=group["update_proj_gap"],
208-
scale=group["scale"],
209-
proj_type=group["proj_type"],
210-
)
211-
212-
grad = state["projector"].project(p.grad, state["step"])
213-
214-
else:
215-
pass
216-
217-
####
218-
219203
# GaLore Projection
220204
if "rank" in group:
221205
if "projector" not in state:

0 commit comments

Comments
 (0)