Skip to content

Commit 034b65c

Browse files
committed
update: test_schedule_free_methods
1 parent bda6532 commit 034b65c

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
@@ -406,6 +406,8 @@ def test_dynamic_scaler():
406406
@pytest.mark.parametrize('optimizer_name', ['ScheduleFreeAdamW', 'ScheduleFreeSGD', 'ScheduleFreeRAdam'])
407407
def test_schedule_free_methods(optimizer_name):
408408
optimizer = load_optimizer(optimizer_name)([simple_parameter(True)])
409+
optimizer.step()
410+
409411
optimizer.eval()
410412
optimizer.train()
411413

0 commit comments

Comments
 (0)