Fixes for model downloading (#14305)

* Use different requestor for downloaders

* Handle case where lock is left over from failed partial download

* close requestor

* Formatting
This commit is contained in:
Nicolas Mowen
2024-10-12 13:36:10 -05:00
committed by GitHub
parent acccc6fd93
commit 3a403392e7
2 changed files with 9 additions and 3 deletions
-1
View File
@@ -71,7 +71,6 @@ class GenericONNXEmbedding:
model_name=self.model_name,
download_path=self.download_path,
file_names=files_names,
requestor=self.requestor,
download_func=self._download_model,
)
self.downloader.ensure_model_files()