Skip to content

Commit 463b98f

Browse files
committed
fix: unpack
1 parent 7b33287 commit 463b98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_optimizer/optimizer/lion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def step(self, closure: CLOSURE = None) -> LOSS:
6363
with torch.enable_grad():
6464
loss = closure()
6565

66-
for group, base_lr in self.param_groups:
66+
for group in self.param_groups:
6767
beta1, beta2 = group['betas']
6868
weight_decay = group['weight_decay']
6969
for p in group['params']:

0 commit comments

Comments
 (0)