Skip to content

Commit 024e611

Browse files
committed
update: ranger21 recipe
1 parent 35fb3fc commit 024e611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_optimizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def test_adanorm_optimizer(optimizer_config, environment):
271271

272272
optimizer_class, config, num_iterations = optimizer_config
273273
if optimizer_class.__name__ == 'Ranger21':
274-
config.update({'num_iterations': num_iterations})
274+
config.update({'num_iterations': num_iterations, 'disable_lr_scheduler': True})
275275

276276
optimizer = optimizer_class(model.parameters(), **config)
277277

0 commit comments

Comments
 (0)