mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 17:31:18 +08:00
Always resume downloads (#674)
* Always resume downloads * format --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
parent
eff6690952
commit
5a4cad34ef
@ -86,6 +86,7 @@ def get_model_path(path_or_hf_repo: str, revision: Optional[str] = None) -> Path
|
|||||||
"*.tiktoken",
|
"*.tiktoken",
|
||||||
"*.txt",
|
"*.txt",
|
||||||
],
|
],
|
||||||
|
resume_download=True,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return model_path
|
return model_path
|
||||||
|
Loading…
Reference in New Issue
Block a user