Skip to content

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.

Show the packed file count when the full log export is slow, and name the workflow-node...

Bowen Xueb150e548837f
diff --git a/freevideo_engine/comfy_launcher_runtime.py b/freevideo_engine/comfy_launcher_runtime.py
index 367c312..dd44469 100644
--- a/freevideo_engine/comfy_launcher_runtime.py
+++ b/freevideo_engine/comfy_launcher_runtime.py
@@ -1202,6 +1202,7 @@ class Controller:
if queue_busy(loopback_url(self.server_address or self.selection['url'])):
raise RuntimeError(ENGINE_UPDATE_WAITS + '. Try again after it finishes; the job is left running.')
self._stop_server_for_setup(selected['url'])
+ self.stage('nodes', label='Connecting workflow nodes')
engine_binding.rebind(selected['engine'], machine, selected['source'])
self.stage('nodes', label='Install FreeVideo workflow')
deployed = deploy(selected['root'], selected['source'], selected['engine'])
diff --git a/freevideo_engine/diagnostics.py b/freevideo_engine/diagnostics.py
index 48df0e7..bd34e4d 100644
--- a/freevideo_engine/diagnostics.py
+++ b/freevideo_engine/diagnostics.py
@@ -237,7 +237,7 @@ def web_files(root, machine):
return dict(error='No FreeVideo source is recorded')
-def collect(root, config, run, output, *, complete=False, extra_files=(), notes=''):
+def collect(root, config, run, output, *, complete=False, extra_files=(), notes='', progress=None):
root, config = resolved(root.expanduser()), io_path(config.expanduser().absolute())
run = io_path(run) if run is not None else None
output = io_path(output)
@@ -270,6 +270,8 @@ def collect(root, config, run, output, *, complete=False, extra_files=(), notes=
manifest['files'].append({'file': name, 'bytes': len(data), 'truncated': truncated,
'sha256': hashlib.sha256(data).hexdigest()})
manifest['payload_bytes'] += len(data)
+ if progress is not None:
+ progress(len(manifest['files']))
def add_path(name, path):
if Path(path).name.lower() in SENSITIVE_FILES:
diff --git a/freevideo_engine/launcher/Main.qml b/freevideo_engine/launcher/Main.qml
index 2f7c836..06beb9d 100644
--- a/freevideo_engine/launcher/Main.qml
+++ b/freevideo_engine/launcher/Main.qml
@@ -485,7 +485,7 @@ ApplicationWindow {
objectName: "reportStatus"
visible: s.report.status !== "idle"; Layout.fillWidth: true; font.pixelSize: theme.micro
color: s.report.status === "error" ? theme.danger : theme.muted
- text: s.report.status === "running" ? t("Exporting full logs…", "正在导出完整日志…") :
+ text: s.report.status === "running" ? t("Exporting full logs…", "正在导出完整日志…") + (s.report.files > 0 ? t(" · " + s.report.files + " files packed", " · 已打包 " + s.report.files + " 个文件") : "") :
s.report.status === "error" ? t("Export failed: ", "导出失败:") + s.report.error :
t("Report saved locally: ", "报告已保存到本机:") + s.report.path +
(s.report.collection_errors ? t("\nReport saved with some diagnostic information missing.", "\n报告已保存,部分诊断信息未能收集。") : "")
@@ -1481,7 +1481,7 @@ ApplicationWindow {
}
FText {
visible: s.report.status !== "idle"; Layout.fillWidth: true; font.pixelSize: theme.micro; color: theme.muted
- text: s.report.status === "running" ? t("Exporting full logs…", "正在导出完整日志…") :
+ text: s.report.status === "running" ? t("Exporting full logs…", "正在导出完整日志…") + (s.report.files > 0 ? t(" · " + s.report.files + " files packed", " · 已打包 " + s.report.files + " 个文件") : "") :
s.report.status === "error" ? s.report.error : t("Saved: ", "已保存:") + s.report.path
}
}
diff --git a/freevideo_engine/launcher_copy.py b/freevideo_engine/launcher_copy.py
index 50a9ebb..17960bf 100644
--- a/freevideo_engine/launcher_copy.py
+++ b/freevideo_engine/launcher_copy.py
@@ -78,7 +78,7 @@ ZH = dict([
('Install ComfyUI packages', '安装 ComfyUI 组件'), ('Check ComfyUI dependencies', '检查 ComfyUI 环境'),
('Finish ComfyUI setup', '完成 ComfyUI 安装'), ('ComfyUI ready', 'ComfyUI 已就绪'),
('Prepare ComfyUI', '准备 ComfyUI'), ('Update ComfyUI packages', '更新 ComfyUI 组件'),
- ('Install FreeVideo workflow', '安装 FreeVideo 工作流'),
+ ('Install FreeVideo workflow', '安装 FreeVideo 工作流'), ('Connecting workflow nodes', '正在连接工作流节点'),
('Open ComfyUI', '打开 ComfyUI'), ('Starting ComfyUI', '启动 ComfyUI'),
('Loading nodes and the web interface', '正在加载界面'),
('Still loading. This may take a few more minutes.', '仍在加载,可能还需要几分钟'),
diff --git a/freevideo_engine/launcher_session.py b/freevideo_engine/launcher_session.py
index ffe39b8..7eca332 100644
--- a/freevideo_engine/launcher_session.py
+++ b/freevideo_engine/launcher_session.py
@@ -1205,7 +1205,13 @@ class Session:
notes = self.diagnostic_error()
logs = tuple(path for _, path in self.controller.terminal_sources())
replacements = [(self.token, '<REDACTED>')] if self.token else []
- self.report = dict(status='running', path=str(output), error='')
+ started = time.monotonic()
+ self.report = dict(status='running', path=str(output), error='', files=0)
+
+ def packed(count):
+ # The count is shown only when packing takes longer than a few seconds.
+ if self.report.get('status') == 'running':
+ self.report = dict(self.report, files=count if time.monotonic() - started > 5 else 0)
def work():
target = Path(output)
@@ -1214,7 +1220,7 @@ class Session:
replacing = False
try:
result = collect(root, root / 'machine.json', None, partial,
- complete=True, extra_files=logs, notes=notes)
+ complete=True, extra_files=logs, notes=notes, progress=packed)
if partial != target:
replacing = True
os.replace(io_path(partial), io_path(target))
diff --git a/freevideo_engine/progress_timeline.py b/freevideo_engine/progress_timeline.py
index bec0de2..4e911e2 100644
--- a/freevideo_engine/progress_timeline.py
+++ b/freevideo_engine/progress_timeline.py
@@ -147,6 +147,7 @@ LABEL_KEYS = frozenset((
'Hugging Face',
'Importing offline packages',
'Install FreeVideo workflow',
+ 'Connecting workflow nodes',
'Installing sampling cache',
'Leaving more GPU memory for text encoding',
'Load cached blocks and upload resident weights',