Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress authored Dec 17, 2024
1 parent 3a7c0f1 commit 44e609e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions llmfoundry/callbacks/hf_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,10 @@ def _save_checkpoint(
assert new_model_instance is not None
if register_to_mlflow:
self._register_hf_model(
temp_save_dir, original_tokenizer, use_temp_dir,
new_model_instance
temp_save_dir,
original_tokenizer,
use_temp_dir,
new_model_instance,
)
else:
# Clean up the temporary directory if we don't need to register to mlflow.
Expand Down

0 comments on commit 44e609e

Please sign in to comment.