MiniMax H3 on Any Vulkan GPU: No CUDA, No PyTorch, No Python
h3-ncnn-vulkan runs MiniMax H3 video and stereo audio on any Vulkan GPU without CUDA or PyTorch. Apache-2.0 builds for Linux, macOS and Windows, from 3.5 GB VRAM.
20261201 release on December 1 ships Linux, macOS and Windows builds, and the repo reached 1,167 stars in under two weeks.
Most H3 tooling assumes an NVIDIA card and a Python stack. This build needs neither: it is a single executable with Vulkan drivers, so Radeon and Arc cards are covered as well. It generates video and stereo audio together, in text-to-video, first/last-frame and reference modes.
Official sample from the repository: first and last keyframes to a 5.17 s clip at 768 × 768, with generated speech.
![]() | ![]() |
|---|---|
| First keyframe | Last keyframe |
The two 768 × 768 keyframes the clip above is generated between.
What it supports
- T2VA, FL2VA and Ref2VA: prompts, image keyframes, or image/video/audio references, the same three modes as the H3 base model.
- Longer clips by chaining intermediate keyframes, one prompt per segment, with shared boundary frames counted once.
- LoRA adapters from the usual H3 publishers (Orbit, Character Swap, Larry Turbo, Pika Flex Turbo, pi-H3), plus portable BF16 modulation banks.
- Output: lossy WebM (VP9 + Opus) or lossless Matroska (VP9 4:4:4 + 32 kHz PCM).
- Weight streaming and tiled VAE inference, so the model does not have to fit in VRAM at once.
What it costs
| Output | Frames | VRAM budget | RAM budget |
|---|---|---|---|
| 832 × 480 | 124 (5.17 s) | 3,584 MiB | 1,408 MiB |
| 1280 × 736 | 124 (5.17 s) | 6,784 MiB | 1,664 MiB |
| 1920 × 1088 | 56 (2.33 s) | 6,784 MiB | 3,072 MiB |
| 1920 × 1088 | 243 (10.13 s) | 26,496 MiB | 3,200 MiB |
Disk is the bigger constraint. The text-to-video model set is about 128 GB, first/last-frame support adds 2.9 GB, and the reference-to-audio-video pieces add about 70 GB on top. The full folder is around 206 GB.
Speed
Seconds per DiT step, lower is better, 832 × 480 and 124 frames:
| Backend | RX 9060 XT | RTX 3060 |
|---|---|---|
| stable-diffusion.cpp (Vulkan) | 83.81 | 375.59 |
| h3-ncnn-vulkan 20261201 | 51.15 | 101.46 |
On the same Radeon card, first/last-frame generation at 832 × 480 and 56 frames runs at 25.50 s per step, dropping to 19.43 with rough mode 3, which freezes the K/V cache. The README warns that rough modes can change movement and sound.
Running it
Download the ZIP for your platform, put the model folder next to the executable, and point it at the files downloaded from nihui-szyl/h3-ncnn (also mirrored on ModelScope):
h3-ncnn-vulkan -t fl2va -i first.png -i last.png \
-p "The red ceramic teapot slowly turns cobalt blue." \
-s 384,256 -f 124 -o keyframes.webmIf weights are paged from disk, set H3_WEIGHT_TMPDIR to a scratch directory with tens of GB free.
What this is not
There is no ComfyUI node here, and no plan for one in the README. This is a standalone CLI for people whose GPU has no CUDA path. If you already run H3 inside ComfyUI on an NVIDIA card, nothing changes for you.
Availability
Apache-2.0, built by nihui (the author of waifu2x-ncnn-vulkan). Linux x86-64 needs glibc 2.28 or newer; the macOS build is universal for Apple silicon and Intel; Windows ships x86-64. Models are on Hugging Face and ModelScope.


Comments
Sign in with GitHub to join the discussion.