mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-19 17:39:16 +02:00
Indentation...
This commit is contained in:
parent
70acc8a7c0
commit
eb994716e6
@ -238,8 +238,8 @@ def thread_get_next_task():
|
|||||||
task = queued_task
|
task = queued_task
|
||||||
break
|
break
|
||||||
if not queued_task.render_device and runtime.thread_data.device == 'cpu' and is_alive() > 1:
|
if not queued_task.render_device and runtime.thread_data.device == 'cpu' and is_alive() > 1:
|
||||||
# not asking for any specific devices, cpu want to grab task but other render devices are alive.
|
# not asking for any specific devices, cpu want to grab task but other render devices are alive.
|
||||||
continue # Skip Tasks, don't run on CPU unless there is nothing else or user asked for it.
|
continue # Skip Tasks, don't run on CPU unless there is nothing else or user asked for it.
|
||||||
task = queued_task
|
task = queued_task
|
||||||
break
|
break
|
||||||
if task is not None:
|
if task is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user