Skip to content

Commit 51da02e

Browse files
committed
Merge branch 'fix/enabling-multiple-checkpoints-mlflow' of https://github.com/HarryAnkers/pytorch-lightning into fix/enabling-multiple-checkpoints-mlflow
2 parents 06de33b + 3fc6982 commit 51da02e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/tests_pytorch/loggers/test_mlflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
from lightning.pytorch import Trainer
2222
from lightning.pytorch.callbacks import ModelCheckpoint
23-
from lightning.pytorch.utilities.types import STEP_OUTPUT
2423
from lightning.pytorch.demos.boring_classes import BoringModel
2524
from lightning.pytorch.loggers.mlflow import (
2625
_MLFLOW_AVAILABLE,
2726
MLFlowLogger,
2827
_get_resolve_tags,
2928
)
29+
from lightning.pytorch.utilities.types import STEP_OUTPUT
3030

3131

3232
def mock_mlflow_run_creation(logger, experiment_name=None, experiment_id=None, run_id=None):
@@ -436,9 +436,9 @@ def test_set_tracking_uri(mlflow_mock):
436436
def test_mlflow_multiple_checkpoints_top_k(mlflow_mock, tmp_path):
437437
"""Test that multiple ModelCheckpoint callbacks with top_k parameters work correctly with MLFlowLogger.
438438
439-
This test verifies that when using multiple ModelCheckpoint callbacks with save_top_k,
440-
both callbacks function correctly and save the expected number of checkpoints when using
441-
MLFlowLogger with log_model=True.
439+
This test verifies that when using multiple ModelCheckpoint callbacks with save_top_k, both callbacks function
440+
correctly and save the expected number of checkpoints when using MLFlowLogger with log_model=True.
441+
442442
"""
443443

444444
class CustomBoringModel(BoringModel):

0 commit comments

Comments
 (0)