Skip to content

Commit

Permalink
Fix PyTorch Lightning dev version compatibility (mlflow#4959)
Browse files Browse the repository at this point in the history
* Fix

Signed-off-by: dbczumar <corey.zumar@databricks.com>

* Add a newline

Signed-off-by: dbczumar <corey.zumar@databricks.com>

* Remove space :)

Signed-off-by: westford14 <westford14@gmail.com>
  • Loading branch information
dbczumar authored and westford14 committed Nov 2, 2021
1 parent e75b47c commit 76b8a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pytorch/test_pytorch_autolog.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_pytorch_autolog_persists_manually_created_run():
dm.setup(stage="fit")
trainer = pl.Trainer(max_epochs=NUM_EPOCHS)
trainer.fit(model, dm)
trainer.test()
trainer.test(datamodule=dm)
assert mlflow.active_run() is not None
assert mlflow.active_run().info.run_id == manual_run.info.run_id

Expand Down

0 comments on commit 76b8a39

Please sign in to comment.