The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
main: load aimdo earlier (#12655)
rattus420e900f692f
diff --git a/main.py b/main.pyindex 39e605deb..3fe8f0589 100644--- a/main.py+++ b/main.py@@ -16,6 +16,10 @@ from comfy_execution.progress import get_progress_statefrom comfy_execution.utils import get_executing_contextfrom comfy_api import feature_flags+import comfy_aimdo.control++if enables_dynamic_vram():+ comfy_aimdo.control.init()if __name__ == "__main__":#NOTE: These do not do anything on core ComfyUI, they are for custom nodes.@@ -173,10 +177,6 @@ import gcif 'torch' in sys.modules:logging.warning("WARNING: Potential Error in code: Torch already imported, torch should never be imported before this point.")-import comfy_aimdo.control--if enables_dynamic_vram():- comfy_aimdo.control.init()import comfy.utils