Fix broken inference pools (#866)
* Fix broken inference pools * Fix broken inference pools
This commit is contained in:
@@ -126,7 +126,8 @@ def get_inference_pool() -> InferencePool:
|
||||
|
||||
|
||||
def clear_inference_pool() -> None:
|
||||
inference_manager.clear_inference_pool(__name__)
|
||||
_, model_sources = collect_model_downloads()
|
||||
inference_manager.clear_inference_pool(__name__, model_sources)
|
||||
|
||||
|
||||
def collect_model_downloads() -> Tuple[DownloadSet, DownloadSet]:
|
||||
|
||||
Reference in New Issue
Block a user