mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 19:21:21 +00:00
Update ops.py
This commit is contained in:
@@ -58,5 +58,5 @@ def automatic_memory_management():
|
|||||||
model_management.soft_empty_cache()
|
model_management.soft_empty_cache()
|
||||||
end = time.perf_counter()
|
end = time.perf_counter()
|
||||||
|
|
||||||
print(f'Automatic Memory Management: {len(module_list)} Modules in {(end - start)%.3} seconds.')
|
print(f'Automatic Memory Management: {len(module_list)} Modules in {(end - start):.2f} seconds.')
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user