H3 Turbo Runtime
Low-VRAM Inference Engine for MiniMax H3
3 min read
This is not a newly trained model, but an optimized inference engine built by developer quifox for the MiniMax-H3 video-and-audio generation model. The solution combines community W4A8 quantized weights, the lightx2v/Minimax-h3-Turbo acceleration adapter (which reduces generation steps), and custom Triton compute kernels. Compared to the unmodified baseline PyTorch setup, the engine radically cuts video memory usage and speeds up rendering. The tool is useful for anyone wanting to generate videos with synchronous audio locally on consumer GPUs with 6–8 GB of VRAM, as well as within ComfyUI and CozyUI workflows.
Key features
- Two memory modes: the Stream strategy uses weight offloading to fit in about 4.0–4.2 GB of VRAM, while Fast uses custom Triton kernels for maximum speed.
- Step-by-step component offloading: the Qwen3-VL INT8 text encoder is fully unloaded from memory before the main diffusion model is loaded, and video and audio decoding runs sequentially.
- Flexible formats and duration: resolutions of 832×480 (16:9), 960×544 (16:9), 480×832 (9:16), 624×624 (1:1), and 720×544 (4:3) are supported, along with generating clips up to 15 seconds in a single pass at 24 fps.
- Automatic dependency downloading: the repository itself does not store weights, but includes a script to download all 6 external components with SHA-256 hash verification and resume support.
What you can do
- Generate video with audio on a laptop: render 5-second clips at 832×480 or 960×544 resolution on RTX 4060 Laptop 8GB class GPUs in 2.5–3.5 minutes.
- Create content for different platforms: assemble 9:16 vertical clips, 1:1 square posts, or long 15-second scenes in a single pass.
- Character-driven generation (Ref2VA): replace the base weights and LoRA with the bundle from the
Kutches/minmaxrepository and the 768p Ref2V LoRA to work with multiple character references.
Example
uv run python deploy.py render \
--comfy /path/to/ComfyUI \
--models weights/ \
--condition path/to/condition.safetensors \
--duration 5 --width 832 --height 480 \
--steps 4 --strategy fast --out runs/demo
Read more
DetailsBenchmarks (5 sec, 832×480): on a Tesla T4 16GB, peak usage dropped from 14,649 MiB (2,287.9 s) to 4,043 MiB (227.18 s for 4 steps in Stream mode); on an RTX 4060 Laptop 8GB, rendering takes 161.54 s at a peak of 5,695 MiB.
Generating a 15-second clip (360 frames) on an RTX 4060 Laptop 8GB takes 694.7 s at 6,995 MiB VRAM.
Requirements: an NVIDIA GPU (Turing, Ampere, Ada, and data center) with 6 GB VRAM or more and ComfyUI installed.
Licenses: the engine code is distributed under GPL-3.0-only, and external weights fall under the MiniMax H3 Community License Agreement.














Comments