Skip to content

Commit 4f7ec05

Browse files
authored
fix
1 parent 094c23a commit 4f7ec05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grokfast_pytorch/grokfast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(
3333
# in order for fair comparison
3434
# reduce the learning rate by a factor of (1 + grokfast_lamb)
3535

36-
if normalize_lr:
36+
if grokfast and normalize_lr:
3737
lr /= (1. + grokfast_lamb)
3838

3939
self._init_lr = lr

0 commit comments

Comments
 (0)