Skip to content

Commit

Permalink
update: test_adalite_reset
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Apr 7, 2024
1 parent bab6541 commit 6abce12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_optimizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,11 @@ def test_prodigy_reset():
assert str(optimizer) == 'Prodigy'


def test_adalite_reset():
optimizer = load_optimizer('adalite')([simple_zero_rank_parameter(True)])
optimizer.reset()


@pytest.mark.parametrize('pre_conditioner_type', [0, 1, 2])
def test_scalable_shampoo_pre_conditioner_with_svd(pre_conditioner_type, environment):
(x_data, y_data), _, loss_fn = environment
Expand Down

0 comments on commit 6abce12

Please sign in to comment.