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.

Setup steps such as the GPU kernel check find the privately installed compiler

Bowen Xuec797fba74eae
diff --git a/freevideo_engine/bootstrap.py b/freevideo_engine/bootstrap.py
index ff8f535..cb0d8c1 100644
--- a/freevideo_engine/bootstrap.py
+++ b/freevideo_engine/bootstrap.py
@@ -35,6 +35,7 @@ from .environments import (ENVIRONMENTS, environment_names, select_layout, role_
bootstrap_versions, uv_file_arguments, uv_build_environment)
from . import disk_space
from . import network
+from .comfy_environment import with_private_compiler
from . import processes
from .system import install_root, venv_python, system_memory, nvidia_smi, memory_sample, curl_executable, missing_curl_message
from .system import inference_headroom
@@ -1471,6 +1472,7 @@ class Installer:
from .triton_compat import temporary_environment
env = temporary_environment(self.root, env or self.env)
env = dict(env, FREEVIDEO_INSTALL_PROGRESS='1')
+ env = with_private_compiler(self.root, env)
args, cwd = uv_file_arguments(args, cwd)
env = uv_build_environment(args, self.root, env)
with self.state_lock:
diff --git a/freevideo_engine/comfy_environment.py b/freevideo_engine/comfy_environment.py
index c795b8d..240c6d6 100644
--- a/freevideo_engine/comfy_environment.py
+++ b/freevideo_engine/comfy_environment.py
@@ -5,6 +5,14 @@ from pathlib import Path
import sys
+def with_private_compiler(root, env):
+ """Without a system compiler, tools that build at run time (Triton) use the one FreeVideo installed."""
+ private = Path(root) / 'tools' / 'gcc-bin' / 'gcc'
+ if os.name != 'nt' and 'CC' not in env and private.exists() and not shutil.which('gcc', path=env.get('PATH')):
+ env['CC'] = str(private)
+ return env
+
+
def isolated_environment(root, source, environ=None):
"""Remove inherited Python/package targets only in the engine's child."""
from .proxy import inherited
@@ -35,10 +43,7 @@ def isolated_environment(root, source, environ=None):
env.pop(name, None)
env.update(FREEVIDEO_HOME=str(root), FREEVIDEO_PROXY_MODE=proxy_mode, PYTHONPATH=str(source), PYTHONNOUSERSITE='1',
PYTHONUTF8='1', PYTHONIOENCODING='utf-8', NO_COLOR='1', FREEVIDEO_UI_EVENTS='1')
- # Without a system compiler, tools that build at run time (Triton) use the one FreeVideo installed.
- private = Path(root) / 'tools' / 'gcc-bin' / 'gcc'
- if os.name != 'nt' and 'CC' not in env and private.exists() and not shutil.which('gcc', path=env.get('PATH')):
- env['CC'] = str(private)
+ with_private_compiler(root, env)
from .triton_compat import temporary_environment
# Pruning sys.prefix above also prunes the frozen launcher's static curl.
# Restore its fallback for managed Python after isolating Python packages.