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.

Pass Diffusers patches to git apply through stdin, not a long-path-prefixed name

Bowen Xue6009e85a6328
diff --git a/freevideo_engine/install.py b/freevideo_engine/install.py
index 7ea29c1..ce74e48 100644
--- a/freevideo_engine/install.py
+++ b/freevideo_engine/install.py
@@ -87,7 +87,9 @@ def prepare_diffusers(root, dependencies):
if len(patches) != 2:
raise RuntimeError('Expected the two pinned VDN Diffusers patches')
for path in patches:
- execution_paths.run(['git', '-c', 'core.longpaths=true', 'apply', '--index', str(path)], cwd=checkout, check=True)
+ # The patch path carries the long-path prefix, which Git cannot open; pass the content instead.
+ execution_paths.run(['git', '-c', 'core.longpaths=true', 'apply', '--index', '-'],
+ cwd=checkout, input=path.read_bytes(), check=True)
tree = subprocess_output.output_external(['git', '-c', 'core.longpaths=true', 'write-tree'], cwd=checkout).strip()
if tree != spec['patched_tree']:
raise RuntimeError('Patched Diffusers source tree does not match the tested dependency')