Skip to content

Commit

Permalink
flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Oct 11, 2023
1 parent 6e07148 commit 5cdb642
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ def on_before_optimizer_step(self, optimizer, *_):

def test_step_with_optimizer_closure(tmpdir):
"""Tests that `step` works with optimizer_closure."""
seed_everything(1)

class TestModel(BoringModel):
_losses = []
Expand Down

0 comments on commit 5cdb642

Please sign in to comment.