Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Lower ram usage on windows. (#9628)

comfyanonymous885015eecf64
diff --git a/main.py b/main.py
index 9b2a33011..b23d50816 100644
--- a/main.py
+++ b/main.py
@@ -112,6 +112,7 @@ import gc
if os.name == "nt":
+ os.environ['MIMALLOC_PURGE_DELAY'] = '0'
logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage())
if __name__ == "__main__":