Skip to content

Commit

Permalink
Fix MLFlowLogger test (mosaicml#2912)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
  • Loading branch information
2 people authored and ShashankMosaicML committed Feb 3, 2024
1 parent 3fc2efe commit 1868483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/loggers/test_mlflow_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,8 @@ def test_mlflow_ignore_hyperparameters(tmp_path):
ignore_hyperparameters=['num*', 'mlflow_run_id', 'nothing'])

Trainer(model=SimpleConvModel(), loggers=test_mlflow_logger, max_duration=f'4ba')
# Allow async logging to finish.
time.sleep(3)
test_mlflow_logger.post_close()

run = _get_latest_mlflow_run(
Expand Down

0 comments on commit 1868483

Please sign in to comment.