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.

Keep the image plan's working margin out of the commit headroom check

Bowen Xueb4b2ab3efe92
diff --git a/freevideo_engine/image_gen/image_runner.py b/freevideo_engine/image_gen/image_runner.py
index ed6d2cd..70862b3 100644
--- a/freevideo_engine/image_gen/image_runner.py
+++ b/freevideo_engine/image_gen/image_runner.py
@@ -286,10 +286,12 @@ class ImageRunner:
held = self.dit_stack.host_bytes + self.te_stack.host_bytes
host_available = free + held
# Windows charges every committed page to the paging file, so free RAM alone
- # can promise more than the commit limit leaves.
+ # can promise more than the commit limit leaves. A system-managed paging file
+ # also grows on demand, so the working margin is not held against the headroom:
+ # only a request whose unpinned weights cannot fit in it is refused early.
commit = memory.get('commit_available_bytes')
if commit is not None:
- host_available = min(host_available, commit + held)
+ host_available = min(host_available, commit + held + image_policy.MIN_HOST_WORKING)
if self.full_card or self.mapped:
host_available = None
except Exception: