From ca54615605b65f36734c6f3dafad27ffd251f7a5 Mon Sep 17 00:00:00 2001 From: tazlin Date: Mon, 4 Mar 2024 07:31:51 -0500 Subject: [PATCH] fix: download loras concurrently --- horde_worker_regen/process_management/inference_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde_worker_regen/process_management/inference_process.py b/horde_worker_regen/process_management/inference_process.py index a535bce9..7982ecde 100644 --- a/horde_worker_regen/process_management/inference_process.py +++ b/horde_worker_regen/process_management/inference_process.py @@ -279,7 +279,7 @@ def download_aux_models(self, job_info: ImageGenerateJobPopResponse) -> float | ) performed_a_download = True lora_manager.fetch_adhoc_lora(lora_entry.name, timeout=45, is_version=lora_entry.is_version) - lora_manager.wait_for_downloads(45) + lora_manager.wait_for_downloads(45) time_elapsed = round(time.time() - time_start, 2)