Skip to content

Commit

Permalink
Add some more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Aug 14, 2024
1 parent 9fd1844 commit a177b1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llmfoundry/callbacks/hf_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,17 @@ def _register_model_with_run_id_multiprocess(
)
logging.getLogger('composer').setLevel(composer_logging_level)

log.debug('Starting registering model.')

# Register model.
mlflow_logger.register_model_with_run_id(
model_uri=model_uri,
name=name,
await_creation_for=await_creation_for,
)

log.debug('Finished registering model.')


class HuggingFaceCheckpointer(Callback):
"""Save a huggingface formatted checkpoint during training.
Expand Down

0 comments on commit a177b1e

Please sign in to comment.