nihui releases h3-ncnn-vulkan to run MiniMax-H3 video generation without CUDA
The open-source h3-ncnn-vulkan project runs MiniMax-H3 video and stereo audio generation on Vulkan GPUs without CUDA, PyTorch or Python.
Developer nihui has published h3-ncnn-vulkan, an ncnn implementation of MiniMax-H3 that runs the model's combined video and stereo audio generation on Vulkan GPUs. Inference needs no CUDA, PyTorch, Python or FFmpeg. The repository carries an Apache-2.0 license and supports text-to-video, first and last frame input, and image, video or audio references. It ships as a standalone executable for Linux, macOS and Windows.
The project builds on ncnn, a neural network inference framework, and compiles its Vulkan shaders with glslang. According to the README, the runtime uses BF16 precision for the text encoder and DiT, the diffusion transformer that does the generation, and FP32 for the vision encoder and VAEs. It also streams weights from disk when memory is short and decodes video in tiles. Its planner tables give a 14GiB RAM budget for the 832x480, 124-frame benchmark.
The benchmark table compares per-iteration DiT transformer times, where lower is better, for stable-diffusion.cpp on Vulkan and h3-ncnn-vulkan at 832x480 and 124 frames. On an RX9060XT the figures are 83.81 for stable-diffusion.cpp and 59.98 for h3-ncnn-vulkan. On an RTX3060 they are 375.59 and 138.93. The table measures only the DiT transformer step and does not name the stable-diffusion.cpp build beyond a date tag of 20261127. A second table covers first-and-last-frame generation at 56 frames on the RX9060XT. Step time drops from 46.19 for stable-diffusion.cpp to 30.97 at rough-mode 0 and to 23.96 at rough-mode 3. The README says rough modes reuse key and value cache entries, which it warns can change movement and sound.
The downloads are large. The text-to-video-and-audio set is about 128 GB. The first-and-last-frame additions add about 2.9 GB, and the Ref2VA example with an image and audio adds about 70 GB. The complete model folder takes about 206 GB. The README also warns that mapped weight pages can keep process RAM above the planning budget during disk paging, and that users may need tens of GiB of extra disk space for streamed weights.
The repository itself says more features and optimizations are still in progress. At capture time the README showed 15 commits, 688 stars and 75 forks, and the GitHub page listed seven open issues and two pull requests. The sample videos, including a 1280 × 736 tram clip at 192 frames and a felt-robot clip with reference audio, were generated with the project's Vulkan pipeline and the base MiniMax H3 model.
What changed
h3-ncnn-vulkan is a new open-source implementation that runs MiniMax-H3 video and stereo audio generation on Vulkan GPUs without CUDA, PyTorch, Python or FFmpeg.
Type: New capability · Applies to: h3-ncnn-vulkan, MiniMax-H3
Why it matters
Teams without NVIDIA hardware can test an open video-and-audio model on Vulkan GPUs. The very large downloads and the separate weight license, however, limit quick production use.
What you can do
Check the MiniMax H3 Community License and your disk and VRAM budget before evaluating the model for internal use.
Original source
Where we saw it
github.com
AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works