Skip to content

Commit 9f0fa12

Browse files
committed
cleanup, save experiments for sunday
1 parent 66fb241 commit 9f0fa12

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
@@ -113,7 +113,7 @@ def step(
113113

114114
# appendix C - line 24 of https://arxiv.org/html/2405.20233v2
115115

116-
grad.add_(grok_exp_avg * lamb)
116+
grad.add_(grok_exp_avg, alpha = lamb)
117117

118118
# bias corrections
119119

0 commit comments

Comments
 (0)