mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
modular pipelines intercepts and profiling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -440,6 +440,10 @@ def print_stats():
|
||||
if dynamo_dct:
|
||||
log.debug(f'Processed: dynamo={dynamo_dct}')
|
||||
|
||||
if timer.blocks.get_total() > 0.1:
|
||||
log.debug(f'Processed: blocks={timer.blocks.dct(min_time=0.1, no_total=True)}')
|
||||
timer.blocks.reset()
|
||||
|
||||
|
||||
def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
||||
t0 = time.time()
|
||||
|
||||
Reference in New Issue
Block a user