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.
Missing-tool message without a terminal gives the full command
Bowen Xuec25569fb1e57
diff --git a/freevideo_engine/bootstrap.py b/freevideo_engine/bootstrap.pyindex ae6f4b5..f2da233 100644--- a/freevideo_engine/bootstrap.py+++ b/freevideo_engine/bootstrap.py@@ -1672,7 +1672,7 @@ class Installer:'print("Windows runtime imports passed; GPU kernel probes follow")']), ('runtime',), ('environment:' + name,))overlap = (self.plan.get('model_transfer') or {}).get('overlap_build', True)# Linux builds SageAttention from a Git checkout.- task('sage', lambda: self.install_sage(uv, python), ('runtime', 'git') if overlap else ('runtime', 'git', 'models'),+ task('sage', lambda: self.install_sage_optional(uv, python), ('runtime', 'git') if overlap else ('runtime', 'git', 'models'),('environment:' + name,))if self.plan.get('disk_mode') == 'extreme':# Finish all environments before models occupy most of the disk.@@ -1780,6 +1780,17 @@ class Installer:failure.package_attempts = error.attemptsraise failure from error+ def install_sage_optional(self, uv, python):+ """Sage2 is an optional speed-up: where FreeVideo's own compiler builds it, a failure leaves it out."""+ try:+ return self.install_sage(uv, python)+ except Exception as error:+ if (self.system == 'Windows' or self.cancel.is_set()+ or shutil.which('g++', path=self.env['PATH'])):+ raise+ self.ui.write('Sage2 could not be built (%s); continuing without it.\n' % type(error).__name__)+ return None+def install_sage(self, uv, python):if self.system == 'Windows':return self.install_sage_windows(uv, python)diff --git a/freevideo_engine/cli.py b/freevideo_engine/cli.pyindex d93c497..6787168 100644--- a/freevideo_engine/cli.py+++ b/freevideo_engine/cli.py@@ -27,6 +27,10 @@ def resource_arguments(parser):def main():+ if os.environ.get('FREEVIDEO_HOME'):+ # Without a system compiler, run-time builds (Triton) in this process use the one FreeVideo installed.+ from .comfy_environment import with_private_compiler+ with_private_compiler(os.environ['FREEVIDEO_HOME'], os.environ)if len(sys.argv) > 1 and sys.argv[1] in ('projects', 'sessions'):from .agent.cli import main as agentreturn agent(sys.argv[1:])diff --git a/scripts/bootstrap_linux.sh b/scripts/bootstrap_linux.shindex 37acff7..e7408b9 100644--- a/scripts/bootstrap_linux.sh+++ b/scripts/bootstrap_linux.sh@@ -97,15 +97,18 @@ fv_missing_tools() {fv_system_deps() {((${#fv_missing[@]})) || return 0- fv_note "Missing basic tools: ${fv_missing[*]}"- local manager name package reply+ local manager name package reply listedlocal -a packages=() privilege=() install=() refresh=()+ printf -v listed '%s, ' "${fv_missing[@]}"; listed="${listed%, }"+ # Without a terminal (a desktop launcher) the failure text below names the tools instead.+ if (( fv_allow_system )) || [[ -t 0 ]]; then fv_note "Missing basic tools: ${listed}"; fiif command -v apt-get >/dev/null 2>&1; then manager=apt-getelif command -v dnf >/dev/null 2>&1; then manager=dnfelif command -v yum >/dev/null 2>&1; then manager=yumelif command -v zypper >/dev/null 2>&1; then manager=zypperelse- fv_fail 'No supported package manager found (apt-get/dnf/yum/zypper). Ask your administrator to install the listed tools, then rerun this command.'+ fv_fail "缺少基础工具:${listed}。找不到可用的软件包管理器(apt-get、dnf、yum、zypper),请联系系统管理员安装这些工具后重新开始安装。"+ fv_fail "Missing basic tools: ${listed}. No supported package manager was found (apt-get, dnf, yum, zypper). Ask your administrator to install them, then start the installation again."return 1fifor name in "${fv_missing[@]}"; do@@ -127,22 +130,36 @@ fv_system_deps() {zypper) install=(zypper --non-interactive install --no-recommends "${packages[@]}") ;;esacif (( EUID != 0 )); then privilege=(sudo); fi- fv_note 'System package step (existing Python and drivers are not replaced):'- ((${#refresh[@]} == 0)) || { printf ' '; printf '%q ' "${privilege[@]}" "${refresh[@]}"; printf '\n'; } >&2- { printf ' '; printf '%q ' "${privilege[@]}" "${install[@]}"; printf '\n'; } >&2- local command_line- command_line="$(printf '%q ' "${privilege[@]}" "${install[@]}")"if (( fv_readonly )); then+ fv_note 'System package step (existing Python and drivers are not replaced):'+ ((${#refresh[@]} == 0)) || { printf ' '; printf '%q ' "${privilege[@]}" "${refresh[@]}"; printf '\n'; } >&2+ { printf ' '; printf '%q ' "${privilege[@]}" "${install[@]}"; printf '\n'; } >&2fv_fail 'Check only: no system packages installed. Run ./setup.sh to install the missing tools.'return 1fi- if (( ! fv_allow_system )); then- if [[ ! -t 0 ]]; then- # A desktop launcher has no terminal to ask in, so name the command to run by hand.- fv_fail "缺少基础工具:${fv_missing[*]}。请在终端运行以下命令,然后重新安装:${command_line% }"- fv_note "Missing basic tools: ${fv_missing[*]}. Run this in a terminal, then install again: ${command_line% }"+ if (( ! fv_allow_system )) && [[ ! -t 0 ]]; then+ # What a person types by hand: no unattended-run options, and the package list refreshed first+ # because a minimal system often has an empty one.+ local manual+ manual="${privilege[*]:+sudo }$manager install ${packages[*]}"+ [[ "$manager" != apt-get ]] || manual="${privilege[*]:+sudo }apt-get update && ${privilege[*]:+sudo }apt-get install ${packages[*]}"+ if (( EUID != 0 )) && ! command -v sudo >/dev/null 2>&1; then+ fv_fail "缺少基础工具:${listed}。这台电脑没有 sudo,请联系系统管理员运行以下命令,完成后重新开始安装:"+ printf '%s\n' " ${manual//sudo /}" >&2+ fv_fail "Missing basic tools: ${listed}. sudo is unavailable. Ask your administrator to run the following command, then start the installation again:"+ printf '%s\n' " ${manual//sudo /}" >&2return 1fi+ fv_fail "缺少基础工具:${listed}。请在终端中运行以下命令,完成后重新开始安装:"+ printf '%s\n' " ${manual}" >&2+ fv_fail "Missing basic tools: ${listed}. Run the following command in a terminal, then start the installation again:"+ printf '%s\n' " ${manual}" >&2+ return 1+ fi+ fv_note 'System package step (existing Python and drivers are not replaced):'+ ((${#refresh[@]} == 0)) || { printf ' '; printf '%q ' "${privilege[@]}" "${refresh[@]}"; printf '\n'; } >&2+ { printf ' '; printf '%q ' "${privilege[@]}" "${install[@]}"; printf '\n'; } >&2+ if (( ! fv_allow_system )); thenprintf 'Install these missing system packages? [Y/n] / 回车安装以上基础工具,n 取消: ' >&2read -r reply || reply=ncase "$reply" in ''|y|Y|yes|YES) ;; *) fv_fail 'Cancelled. No system packages installed.'; return 1 ;; esac