Skip to content

Commit b91a7dc

Browse files
committed
update: NovoGrad recipes
1 parent f7fa2c8 commit b91a7dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
DiffRGrad,
2323
Lamb,
2424
Nero,
25+
NovoGrad,
2526
RAdam,
2627
RaLamb,
2728
Ranger,
@@ -68,6 +69,7 @@
6869
'dadaptadam',
6970
'adams',
7071
'adafactor',
72+
'novograd',
7173
]
7274

7375
VALID_LR_SCHEDULER_NAMES: List[str] = [
@@ -158,6 +160,7 @@
158160
(Apollo, {'lr': 5e-1, 'weight_decay': 1e-3}, 10),
159161
(Apollo, {'lr': 5e-1, 'weight_decay': 1e-3, 'rebound': 'belief'}, 10),
160162
(Apollo, {'lr': 5e-1, 'weight_decay': 1e-3, 'weight_decay_type': 'stable', 'warmup_steps': 0}, 50),
163+
(NovoGrad, {'lr': 5e-1, 'weight_decay': 1e-3, 'grad_averaging': True}, 50),
161164
]
162165
ADAMD_SUPPORTED_OPTIMIZERS: List[Tuple[Any, Dict[str, Union[float, bool, int]], int]] = [
163166
(build_lookahead, {'lr': 5e-1, 'weight_decay': 1e-3, 'adamd_debias_term': True}, 10),
@@ -172,4 +175,5 @@
172175
(Ranger21, {'lr': 5e-1, 'weight_decay': 1e-3, 'adamd_debias_term': True, 'num_iterations': 200}, 200),
173176
(AdaPNM, {'lr': 3e-1, 'weight_decay': 1e-3, 'adamd_debias_term': True}, 50),
174177
(AdamS, {'lr': 2e1, 'weight_decay': 1e-3, 'adamd_debias_term': True}, 50),
178+
(NovoGrad, {'lr': 5e-1, 'weight_decay': 1e-3, 'adamd_debias_term': True}, 50),
175179
]

0 commit comments

Comments
 (0)