Skip to content

Commit 4a5fca2

Browse files
committed
update: tests
1 parent 2d5208e commit 4a5fca2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
DAdaptLion,
5757
DAdaptSGD,
5858
DiffGrad,
59+
EXAdam,
5960
FAdam,
6061
Fromage,
6162
GaLore,
@@ -559,6 +560,7 @@
559560
(AdaTAM, {'lr': 1e-1, 'weight_decay': 1e-3}, 5),
560561
(FOCUS, {'lr': 1e-1, 'weight_decay': 1e-3}, 5),
561562
(Kron, {'lr': 1e0, 'weight_decay': 1e-3}, 3),
563+
(EXAdam, {'lr': 1e-1, 'weight_decay': 1e-3}, 5),
562564
(Ranger25, {'lr': 5e0}, 2),
563565
(Ranger25, {'lr': 5e0, 't_alpha_beta3': 5}, 2),
564566
(Ranger25, {'lr': 2e-1, 'stable_adamw': False, 'orthograd': False, 'eps': None}, 3),

tests/test_load_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_load_lr_scheduler_invalid(invalid_lr_scheduler_names):
3434

3535

3636
def test_get_supported_optimizers():
37-
assert len(get_supported_optimizers()) == 92
37+
assert len(get_supported_optimizers()) == 93
3838
assert len(get_supported_optimizers('adam*')) == 7
3939
assert len(get_supported_optimizers(['adam*', 'ranger*'])) == 10
4040

0 commit comments

Comments
 (0)