From 5a4cad34ef16e3dea8cccc134d719de756b6be15 Mon Sep 17 00:00:00 2001 From: da-z Date: Thu, 11 Apr 2024 15:52:32 +0200 Subject: [PATCH] Always resume downloads (#674) * Always resume downloads * format --------- Co-authored-by: Awni Hannun --- llms/mlx_lm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llms/mlx_lm/utils.py b/llms/mlx_lm/utils.py index 45453111..4a7b8142 100644 --- a/llms/mlx_lm/utils.py +++ b/llms/mlx_lm/utils.py @@ -86,6 +86,7 @@ def get_model_path(path_or_hf_repo: str, revision: Optional[str] = None) -> Path "*.tiktoken", "*.txt", ], + resume_download=True, ) ) return model_path