Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Launcher keeps waiting while ComfyUI is still starting, up to ten minutes
Bowen Xue6b3849fcdcac
diff --git a/freevideo_engine/comfy_launcher_runtime.py b/freevideo_engine/comfy_launcher_runtime.pyindex 2f1d42d..0670f24 100644--- a/freevideo_engine/comfy_launcher_runtime.py+++ b/freevideo_engine/comfy_launcher_runtime.py@@ -37,6 +37,10 @@ TEMPLATE = 'FreeVideo-All-in-One.json'# daemon's join is a wall-clock bound even if a server trickles HTTP bytes.SHUTDOWN_CANCEL_SECONDS = 3.SHUTDOWN_REQUEST_SECONDS = .5+# After this long the card says ComfyUI is still loading; the wait goes on while the process lives, up to+# the limit. The log is no signal: importing Torch and its libraries can print nothing for minutes.+START_WAIT_SECONDS = 180+START_WAIT_LIMIT_SECONDS = 600SHUTDOWN_POLL_SECONDS = .1@@ -1064,8 +1068,10 @@ class Controller:self.server_url = urlsave(directory / 'launch.json', dict(command=command, pid=server.pid, root=selected['root'], url=url, **context))self.state = dict(self.state, task=dict(progress=dict(label='Starting ComfyUI', detail='Loading nodes and the web interface'), log=plain(directory)))- deadline = time.monotonic() + 180- while time.monotonic() < deadline:+ waiting_since = time.monotonic()+ extended = False+ while True:+ now = time.monotonic()if self.cancelled.is_set():with self._server_lock:if self.server is server:@@ -1093,6 +1099,13 @@ class Controller:self.state = dict(self.state, moved_from=self.port_move)self.port_move = Nonereturn+ if now - waiting_since >= START_WAIT_SECONDS:+ if now - waiting_since >= START_WAIT_LIMIT_SECONDS:+ break+ if not extended:+ extended = True+ self.state = dict(self.state, task=dict(progress=dict(+ label='Starting ComfyUI', detail='Still loading. This may take a few more minutes.'), log=plain(directory)))self.cancelled.wait(.5)from .failure_details import startup_failureraise RuntimeError(startup_failure('ComfyUI is still starting or could not load FreeVideo; retry Connect.', directory / 'comfy.log'))diff --git a/freevideo_engine/launcher_copy.py b/freevideo_engine/launcher_copy.pyindex 08f37af..a9d5de8 100644--- a/freevideo_engine/launcher_copy.py+++ b/freevideo_engine/launcher_copy.py@@ -56,6 +56,7 @@ ZH = dict([('Install FreeVideo workflow', '安装 FreeVideo 工作流'),('Open ComfyUI', '打开 ComfyUI'), ('Starting ComfyUI', '启动 ComfyUI'),('Loading nodes and the web interface', '加载节点与界面'),+ ('Still loading. This may take a few more minutes.', '仍在加载,可能还需要几分钟'),('Checking configuration', '检查配置'), ('Check installation', '检查安装'),('Verify bundled files', '校验离线包'), ('Check local files', '检查本地文件'),('All bundled files verified', '离线包校验完成'),