Skip to content

Commit

Permalink
tests: disable lightning logging in unit tests (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
tilman151 authored Jul 4, 2023
1 parent aedc4d8 commit c3aa8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_approach/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def checkpoint(approach, ckpt_path, max_rul=50):
dm = rul_datasets.RulDataModule(
rul_datasets.reader.DummyReader(1, max_rul=max_rul), 32
)
trainer = pl.Trainer(max_epochs=0, num_sanity_val_steps=0)
trainer = pl.Trainer(max_epochs=0, num_sanity_val_steps=0, logger=False)
trainer.fit(approach, dm)
trainer.save_checkpoint(ckpt_path)

Expand Down

0 comments on commit c3aa8ed

Please sign in to comment.