Skip to content

Commit 4f62e30

Browse files
committed
update: test_create_optimizer
1 parent 362afe1 commit 4f62e30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_create_optimizer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ def test_create_optimizer(use_lookahead, use_orthograd, optimizer_name):
1212
if optimizer_name in ('adamw', 'adam', 'sgd', 'demo'):
1313
pytest.skip(f'skip {optimizer_name}')
1414

15+
if optimizer_name in ('ranger', 'ranger21', 'ranger25') and use_lookahead:
16+
pytest.skip(f'skip {optimizer_name} w/ lookahead')
17+
1518
if use_lookahead and use_orthograd:
1619
pytest.skip()
1720

0 commit comments

Comments
 (0)