r/StableDiffusion • • 8h ago

News nihui/h3-ncnn-vulkan: ncnn implementation of MiniMax-H3

https://github.com/nihui/h3-ncnn-vulkan

My usual disclaimer: I am not associated with the project in any way.

The code is supposed to allow any platform that support vulkan to run MMH3. Could be useful for people with very limited RAM (needs only 14G?) such as older laptops with discrete GPUs.

Quoting from the project page:

ncnn implementation of MiniMax-H3 for video and stereo audio generation from text, keyframes or multimodal references.

h3-ncnn-vulkan uses ncnn project as the universal neural network inference framework.

Features

  • BF16 text encoder and DiT, FP32 vision and VAEs
  • Vulkan GPU acceleration
  • Portable standalone executable
  • No CUDA, PyTorch, Python or FFmpeg dependency for inference
  • Automatic weight streaming and tiled video VAE inference
  • Text, first and last frames, or multimodal references
  • Dynamic resolution and frame count -
  • Stereo audio generation
  • Intermediate keyframes for longer videos
  • LoRA adapters, portable modulation banks and optional rough modes
  • Lossy - WebM and lossless Matroska output

minimax-h3 text-to-video 832x480, 124 frames, 14GiB RAM budget

dit transformer 2nd step(s/it) less is betterRX9060XTRTX3060
stable-diffusion.cpp (vulkan) 2026112783.81375.59
h3-ncnn-vulkan 2026120151.15101.46

minimax-h3 FL2VA 832x480, 56 frames, 14GiB RAM budget

dit transformer step(s/it) less is betterRX9060XT
stable-diffusion.cpp (vulkan) 2026112746.19
h3-ncnn-vulkan 20261201 rough-mode 025.50
h3-ncnn-vulkan 20261201 rough-mode 123.54
h3-ncnn-vulkan 20261201 rough-mode 222.53
h3-ncnn-vulkan 20261201 rough-mode 319.43
7 Upvotes

4 comments sorted by

1

u/yamfun 7h ago

any advantages for nv users?

1

u/Apprehensive_Sky892 6h ago

Probably not. Seems like the set-up is most useful for people with little system RAM?

1

u/Guilty-History-9249 6h ago

> stable-diffusion.cpp (vulkan) 20261127 46.19
46.19 a better fps than I get for H3 on my 5090 at 800x600

I can only get about 25fps

1

u/Dante_77A 3h ago

Interesting.