Always resume downloads (#674)

* Always resume downloads

* format

---------

Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
da-z
2024-04-11 15:52:32 +02:00
committed by GitHub
parent eff6690952
commit 5a4cad34ef

View File

@@ -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