---
type: "post"
id: "nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9"
slug: "nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9"
title: "nihui’s h3-ncnn-vulkan project says it can generate five seconds of 640 × 352 video with stereo audio using"
description: "nihui’s h3-ncnn-vulkan project says it can generate five seconds of 640 × 352 video with stereo audio using approximately 3 GB of video memory and 1.6 GB of system RAM."
retrieval_nugget: "nihui’s h3-ncnn-vulkan project says it can generate five seconds of 640 × 352 video with stereo audio using approximately 3 GB of video memory and 1.6 GB of system RAM."
published_at: "2026-12-03"
updated_at: "2026-12-03"
record_date: "2026-12-03"
date_kind: "published_at"
topics: ["memory"]
entities: ["MiniMax-H3","h3-ncnn-vulkan","ncnn","nihui"]
related_patterns: []
novelty_label: "new_fact"
what_changed: "A new h3-ncnn-vulkan implementation runs the full, unquantized MiniMax H3 locally with just 3 GB of video memory."
prior_refs: ["https://newruntime.com/posts/deepbeepmeep-publishes-a-quantized-repack-of-minimax-h3-d7ffe5/"]
source_url: "https://github.com/nihui/h3-ncnn-vulkan"
source_urls: ["https://github.com/nihui/h3-ncnn-vulkan"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-03T14:00:34.076Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"high"},"editorial_value":"high","human_review":"selective"}
citations: [{"claim":"","quotes":["ncnn implementation of MiniMax-H3 for video and stereo audio generation from text, keyframes or multimodal references."],"cite_url":"https://github.com/nihui/h3-ncnn-vulkan#:~:text=ncnn%20implementation%20of%20MiniMax%2DH3%20for%20video%20and%20stereo%20audio%20generation%20from%20text%2C%20keyframes%20or%20multimodal%20references.","source_url":"https://github.com/nihui/h3-ncnn-vulkan","publisher":"github.com"},{"claim":"It streams weights from SSD as needed rather than quantizing the model, and uses tiled video VAE inference.","quotes":["h3-ncnn-vulkan uses ncnn project as the universal neural network inference framework.","Разработчик nihui, создатель фреймворка ncnn от Tencent, создал проект h3-ncnn-vulkan, который позволяет генерировать видео со стереозвуком без CUDA, Python, PyTorch и даже FFmpeg."],"cite_url":"https://github.com/nihui/h3-ncnn-vulkan#:~:text=h3%2Dncnn%2Dvulkan%20uses%20ncnn%20project%20as%20the%20universal%20neural%20network%20inference%20framework.&text=%D0%A0%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%20nihui%2C%20%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%20%D1%84%D1%80%D0%B5%D0%B9%D0%BC%D0%B2%D0%BE%D1%80%D0%BA%D0%B0%20ncnn%20%D0%BE%D1%82%20Tencent%2C%20%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BB%20%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%20h3%2Dncnn%2Dvulkan%2C%20%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B9%20%D0%BF%D0%BE%D0%B7%D0%B2%D0%BE%D0%BB%D1%8F%D0%B5%D1%82%20%D0%B3%D0%B5%D0%BD%D0%B5%D1%80%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C%20%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE%20%D1%81%D0%BE%20%D1%81%D1%82%D0%B5%D1%80%D0%B5%D0%BE%D0%B7%D0%B2%D1%83%D0%BA%D0%BE%D0%BC%20%D0%B1%D0%B5%D0%B7%20CUDA%2C%20Python%2C%20PyTorch%20%D0%B8%20%D0%B4%D0%B0%D0%B6%D0%B5%20FFmpeg.","source_url":"https://github.com/nihui/h3-ncnn-vulkan","publisher":"github.com"},{"claim":"","quotes":["❗ ❗ ❗ More features and optimizations in progress"],"cite_url":"https://github.com/nihui/h3-ncnn-vulkan#:~:text=%E2%9D%97%20%E2%9D%97%20%E2%9D%97%20More%20features%20and%20optimizations%20in%20progress","source_url":"https://github.com/nihui/h3-ncnn-vulkan","publisher":"github.com"},{"claim":"Model files are available through Hugging Face and ModelScope.","quotes":["Download the Linux x86-64 (glibc 2.28 or newer), macOS universal (Apple silicon and Intel), or Windows x86-64 ZIP from GitHub Releases. For a local build, see Build from Source."],"cite_url":"https://github.com/nihui/h3-ncnn-vulkan#:~:text=Download%20the%20Linux%20x86%2D64%20%28glibc%202.28%20or%20newer%29%2C%20macOS%20universal%20%28Apple%20silicon%20and%20Intel%29%2C%20or%20Windows%20x86%2D64%20ZIP%20from%20GitHub%20Releases.%20For%20a%20local%20build%2C%20see%20Build%20from%20Source.","source_url":"https://github.com/nihui/h3-ncnn-vulkan","publisher":"github.com"},{"claim":"","quotes":["Place the downloaded models/ directory next to h3-ncnn-vulkan (h3-ncnn-vulkan.exe on Windows). Run the examples from the package root. To use the command as written, add the package root to your PATH in the current shell:","The default model path is models/h3. Set -m to use a different model directory."],"cite_url":"https://github.com/nihui/h3-ncnn-vulkan#:~:text=Place%20the%20downloaded%20models%2F%20directory%20next%20to%20h3%2Dncnn%2Dvulkan%20%28h3%2Dncnn%2Dvulkan.exe%20on%20Windows%29.%20Run%20the%20examples%20from%20the%20package%20root.%20To%20use%20the%20command%20as%20written%2C%20add%20the%20package%20root%20to%20your%20PATH%20in%20the%20current%20shell%3A&text=The%20default%20model%20path%20is%20models%2Fh3.%20Set%20%2Dm%20to%20use%20a%20different%20model%20directory.","source_url":"https://github.com/nihui/h3-ncnn-vulkan","publisher":"github.com"},{"claim":"","quotes":["The default 50-point schedule uses the prepared BF16 modulation bank."],"cite_url":"https://github.com/nihui/h3-ncnn-vulkan#:~:text=The%20default%2050%2Dpoint%20schedule%20uses%20the%20prepared%20BF16%20modulation%20bank.","source_url":"https://github.com/nihui/h3-ncnn-vulkan","publisher":"github.com"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9/","markdown":"https://newruntime.com/posts/nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9.md","json":"https://newruntime.com/posts/nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9.json"}
markdown_url: "https://newruntime.com/posts/nihui-s-h3-ncnn-vulkan-project-says-it-9e3be9.md"
---

# nihui’s h3-ncnn-vulkan project says it can generate five seconds of 640 × 352 video with stereo audio using

## Retrieval answer

nihui’s h3-ncnn-vulkan project says it can generate five seconds of 640 × 352 video with stereo audio using approximately 3 GB of video memory and 1.6 GB of system RAM.

## Summary

nihui’s h3-ncnn-vulkan project says it can generate five seconds of 640 × 352 video with stereo audio using approximately 3 GB of video memory and 1.6 GB of system RAM. It supports text, keyframes, or multimodal references as inputs. ([github.com](https://github.com/nihui/h3-ncnn-vulkan#:~:text=ncnn%20implementation%20of%20MiniMax%2DH3%20for%20video%20and%20stereo%20audio%20generation%20from%20text%2C%20keyframes%20or%20multimodal%20references.))

## What happened

The implementation uses ncnn with Vulkan GPU acceleration; inference does not depend on CUDA, PyTorch, Python, or FFmpeg. ([github.com](https://github.com/nihui/h3-ncnn-vulkan#:~:text=h3%2Dncnn%2Dvulkan%20uses%20ncnn%20project%20as%20the%20universal%20neural%20network%20inference%20framework.&text=%D0%A0%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%20nihui%2C%20%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%20%D1%84%D1%80%D0%B5%D0%B9%D0%BC%D0%B2%D0%BE%D1%80%D0%BA%D0%B0%20ncnn%20%D0%BE%D1%82%20Tencent%2C%20%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BB%20%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%20h3%2Dncnn%2Dvulkan%2C%20%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B9%20%D0%BF%D0%BE%D0%B7%D0%B2%D0%BE%D0%BB%D1%8F%D0%B5%D1%82%20%D0%B3%D0%B5%D0%BD%D0%B5%D1%80%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D1%82%D1%8C%20%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE%20%D1%81%D0%BE%20%D1%81%D1%82%D0%B5%D1%80%D0%B5%D0%BE%D0%B7%D0%B2%D1%83%D0%BA%D0%BE%D0%BC%20%D0%B1%D0%B5%D0%B7%20CUDA%2C%20Python%2C%20PyTorch%20%D0%B8%20%D0%B4%D0%B0%D0%B6%D0%B5%20FFmpeg.)) It streams weights from SSD as needed rather than quantizing the model, and uses tiled video VAE inference. The text encoder and DiT use BF16, while the vision component and VAEs use FP32.

The project supports dynamic resolution and frame count, intermediate keyframes for longer videos, LoRA adapters, portable modulation banks, and optional rough modes. Output can be lossy WebM or lossless Matroska. The latest listed commit describes tiling DiT feed-forward and adaptive layer-normalization and attention while retaining full sequence context.

The README puts text-to-video model files at about 128 GB. In its benchmark at 832 × 480 and 124 frames, with a 14 GiB RAM budget, the second DiT step on an RTX 3060 took 101.46 seconds per iteration for h3-ncnn-vulkan versus 375.59 seconds for stable-diffusion.cpp Vulkan. On an RX 9060 XT, the respective times were 51.15 and 83.81 seconds per iteration. These are repository-reported, configuration-specific comparisons.

## What the archive adds

This is a different route from the earlier DeepBeepMeep quantized MiniMax H3 repack for WanGP, which included a rank-128 adapter and BF16/INT8 LightVAE Lite decoder options. ([earlier New Runtime note](https://newruntime.com/posts/deepbeepmeep-publishes-a-quantized-repack-of-minimax-h3-d7ffe5/))

## Why it matters

Streaming weights can lower the VRAM barrier, but it does not make the model lightweight overall: budget substantial disk space and time for generation.

## Limits and uncertainty

The accompanying source text reports an RTX 3060 DiT step of 138.9 seconds for h3-ncnn-vulkan versus 375.6 seconds for stable-diffusion.cpp, differing from the README’s 101.46-second figure; no matching configuration is documented here. The README also says more features and optimizations remain in progress. ([github.com](https://github.com/nihui/h3-ncnn-vulkan#:~:text=%E2%9D%97%20%E2%9D%97%20%E2%9D%97%20More%20features%20and%20optimizations%20in%20progress))

## Skill to build now

Download a ZIP for Linux x86-64, macOS universal, or Windows x86-64; the Linux build requires glibc 2.28 or newer. ([github.com](https://github.com/nihui/h3-ncnn-vulkan#:~:text=Download%20the%20Linux%20x86%2D64%20%28glibc%202.28%20or%20newer%29%2C%20macOS%20universal%20%28Apple%20silicon%20and%20Intel%29%2C%20or%20Windows%20x86%2D64%20ZIP%20from%20GitHub%20Releases.%20For%20a%20local%20build%2C%20see%20Build%20from%20Source.)) Model files are available through Hugging Face and ModelScope. Put the downloaded `models/` directory next to the executable and run examples from the package root; the default model path is `models/h3`, or choose another with `-m`. ([github.com](https://github.com/nihui/h3-ncnn-vulkan#:~:text=Place%20the%20downloaded%20models%2F%20directory%20next%20to%20h3%2Dncnn%2Dvulkan%20%28h3%2Dncnn%2Dvulkan.exe%20on%20Windows%29.%20Run%20the%20examples%20from%20the%20package%20root.%20To%20use%20the%20command%20as%20written%2C%20add%20the%20package%20root%20to%20your%20PATH%20in%20the%20current%20shell%3A&text=The%20default%20model%20path%20is%20models%2Fh3.%20Set%20%2Dm%20to%20use%20a%20different%20model%20directory.))

To add the package root to the current shell’s PATH, use `export PATH="$PWD:$PATH"` on Linux or macOS, or `$env:Path = "$PWD;$env:Path"` in PowerShell. The default 50-point schedule uses the prepared BF16 modulation bank. ([github.com](https://github.com/nihui/h3-ncnn-vulkan#:~:text=The%20default%2050%2Dpoint%20schedule%20uses%20the%20prepared%20BF16%20modulation%20bank.))

## Reader takeaway

h3-ncnn-vulkan says it can generate five seconds of 640 × 352 video with stereo audio using about 3 GB of video memory and 1.6 GB of system RAM. That makes local trials possible on modest GPUs, but the model files take about 128 GB, and the repository’s benchmark still reports DiT steps measured in tens to hundreds of seconds.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Memory](https://newruntime.com/topics/memory.md): Explore the memory topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
