We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094c23a commit 4f7ec05Copy full SHA for 4f7ec05
grokfast_pytorch/grokfast.py
@@ -33,7 +33,7 @@ def __init__(
33
# in order for fair comparison
34
# reduce the learning rate by a factor of (1 + grokfast_lamb)
35
36
- if normalize_lr:
+ if grokfast and normalize_lr:
37
lr /= (1. + grokfast_lamb)
38
39
self._init_lr = lr
0 commit comments