Deploying MiniMax H3's Quantized Video Model on a Linux Server with ComfyUI
MiniMax H3 is one of the first open-weight video models to produce synchronized stereo audio alongside video, and the quantized weights make it runnable on consumer hardware. The CUDA version matrix in this guide prevents the common mistake of assuming a newer driver automatically supports a newer PyTorch wheel, which silently breaks SageAttention and other compiled extensions.
MiniMax H3 generates video and stereo audio in a single pass, and its quantized weights bring that capability to a single RTX 4090. The full repository weighs nearly 395 GB, but only five files totaling about 63 GB are needed for text-to-video, image-to-video, and reference-to-video workflows. This walkthrough pins ComfyUI 0.30.0, PyTorch 2.13.0+cu130, and a specific NVIDIA driver to avoid the version drift that breaks CUDA extensions.
The deployment isolates the model on a dedicated GPU, checks for existing compute processes before launch, and hands the service to systemd with a restart policy that skips the restart loop when the GPU is already busy. A startup script sources environment variables from a .env file, validates paths, and passes separate input, output, and temp directories to ComfyUI.
Benchmark numbers from the native attention baseline give a reference point before adding SageAttention. A 5-second, 864×480 T2V clip took 113.89 seconds; I2V ran in 102.18 seconds. VRAM usage hovered around 22.7 GB, leaving headroom on a 48 GB card for longer or higher-resolution generations.
MiniMax H3's audio-visual co-generation changes the deployment calculus: a single model replaces separate video and audio pipelines, simplifying the node graph and reducing integration points that can drift.
Pinning every component version (ComfyUI, PyTorch, CUDA wheel, driver, and model weights) is not paranoia; it is the only way to get a reproducible baseline before layering on acceleration like SageAttention.
The gap between the full 395 GB repository and the 63 GB actually needed for three workflows shows how much dead weight ships in model releases. Selective downloading should be the default, not an optimization.
GPU occupancy checks in the startup script and the matching systemd exit code prevent the silent failure mode where two services fight over the same card and both degrade.