mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-16 19:59:16 +00:00
only fetch new popped horde requests if model is not blocked queue
This commit is contained in:
parent
80ce8a50b3
commit
3095da076a
1 changed files with 2 additions and 2 deletions
|
|
@ -9448,8 +9448,8 @@ def run_horde_worker(args, api_key, worker_name, worker_id, parallel_batching_th
|
|||
time.sleep(1)
|
||||
continue
|
||||
|
||||
#first, make sure we are not generating
|
||||
if parallel_batching_threads<=1 and modelbusy.locked():
|
||||
#first, make sure we are not generating (queue is empty)
|
||||
if modelbusy.locked():
|
||||
time.sleep(0.2)
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue