Skip to content

Commit

Permalink
decrease mlflow hf model shard size (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg authored and KuuCi committed Apr 18, 2024
1 parent ddc68e0 commit 618bb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/callbacks/hf_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def run_event(self, event: Event, state: State, logger: Logger) -> None:

import mlflow
mlflow.environment_variables.MLFLOW_HUGGINGFACE_MODEL_MAX_SHARD_SIZE.set(
'5GB')
'1GB')
elif event == Event.FIT_END:
# Wait for all child processes spawned by the callback to finish.
timeout = 3600
Expand Down

0 comments on commit 618bb04

Please sign in to comment.