Skip to content

Commit 3a919f0

Browse files
committed
update: OPTIMIZERS
1 parent 808ee73 commit 3a919f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_optimizers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from torch.nn import functional as F
88

99
from pytorch_optimizer import (
10+
LARS,
1011
MADGRAD,
1112
SAM,
1213
SGDP,
@@ -94,6 +95,7 @@ def build_lookahead(*parameters, **kwargs):
9495
(DiffRGrad, {'lr': 5e-1, 'weight_decay': 1e-3}, 200),
9596
(Lamb, {'lr': 1e-1, 'weight_decay': 1e-3}, 500),
9697
(Lamb, {'lr': 1e-1, 'weight_decay': 1e-3, 'pre_norm': True, 'eps': 1e-8}, 500),
98+
(LARS, {'lr': 1e-1, 'weight_decay': 1e-3}, 200),
9799
(RaLamb, {'lr': 1e-1, 'weight_decay': 1e-3}, 200),
98100
(MADGRAD, {'lr': 1e-2, 'weight_decay': 1e-3}, 500),
99101
(RAdam, {'lr': 1e-1, 'weight_decay': 1e-3}, 200),

0 commit comments

Comments
 (0)