Skip to content

Commit

Permalink
fix: duplicate mlflow logging (#2109) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored Dec 9, 2024
1 parent 0c25bc0 commit 6a342fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/axolotl/core/trainer_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,16 +1368,13 @@ def get_callbacks(self) -> List[TrainerCallback]:
SaveAxolotlConfigtoWandBCallback(self.cfg.axolotl_config_path)
)
if self.cfg.use_mlflow and is_mlflow_available():
from transformers.integrations.integration_utils import MLflowCallback

from axolotl.utils.callbacks.mlflow_ import (
SaveAxolotlConfigtoMlflowCallback,
)

callbacks.extend(
[
SaveAxolotlConfigtoMlflowCallback(self.cfg.axolotl_config_path),
MLflowCallback,
]
)
if self.cfg.use_comet and is_comet_available():
Expand Down

0 comments on commit 6a342fe

Please sign in to comment.