Skip to content

Commit

Permalink
isolated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nancyhung committed Sep 24, 2024
1 parent 454e18b commit c8bd06f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llmfoundry/callbacks/hf_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _maybe_get_license_filename(
return None


def _register_model_multiprocess(
def _register_model_with_run_id_multiprocess(
mlflow_logger: MLFlowLogger,
composer_logging_level: int,
model_uri: str,
Expand All @@ -128,7 +128,7 @@ def _register_model_multiprocess(
logging.getLogger('composer').setLevel(composer_logging_level)

# Register model.
mlflow_logger.register_model(
mlflow_logger.register_model_with_run_id(
model_uri=model_uri,
name=name,
await_creation_for=await_creation_for,
Expand Down Expand Up @@ -793,7 +793,7 @@ def tensor_hook(
process.start()
# Faster method to register model in parallel.
process = SpawnProcess(
target=_register_model_multiprocess,
target=_register_model_with_run_id_multiprocess,
kwargs={
'mlflow_logger':
mlflow_logger,
Expand Down

0 comments on commit c8bd06f

Please sign in to comment.