Skip to content
AlexHe edited this page Sep 3, 2026 · 12 revisions

h3-hip.c wiki

HIP port of antirez/h3.c for AMD GPUs. One tree — pass HIP_ARCH for Strix Halo (gfx1151), MI210 (gfx90a), or MI300X (gfx942). The GPU backend is pure HIP so the same MiniMax-H3 CLI and model stack run on ROCm.

h3-hip.c ident

Project ident — 864×480, 56 frames, --steps 20 --layers 50 --reuse 1. Click for the MP4.

Project page: alexhegit.github.io/h3-hip.c
Code: alexhegit/h3-hip.c · Release: v0.11.0
Weights: MiniMaxAI/MiniMax-H3
Upstream: antirez/h3.c · CUDA sibling: alexhegit/h3-spark.c

Current tagged line: v0.11.0 — Strix Halo (gfx1151), MI210 (gfx90a), MI300X (gfx942).

Where it stands (v0.11.0)

Preset Strix Halo (gfx1151) MI210 (gfx90a) MI300X (gfx942)
fox-s2 E2E ~85–90 s (I/O) ~10.8 s ~16 s
fox-fast E2E ~2 min (I/O) ~18 s ~12 s
15 s cinematic E2E 40 min 46 s 12 min 11 s 3 min 46 s

Optional --token-reduction on the same 15 s clip (not the quality-path scoreboard): Strix Halo 27 min 3 s (all-opts), MI210 8 min 21 s, MI300X ~2.4 min. Usage: Long video.

Strix Halo v0.9.0 fox-s2 md5 1731f95c4aa582597cf83d57f46b8f9e. v0.11.0 default VAE tiles: 34507f07…. Details: Performance.

Clips generated on Strix Halo (gfx1151)

Every clip below came out of this HIP build on a Strix Halo iGPU. Click a poster for the MP4. H3 cannot render readable captions, so any on-screen title was added with ffmpeg after generate.

Fox
T2VA fox — 512² · 22f · --layers 50 --reuse 1
Linux 35
Linux 35 tribute — 864×480 · 56f · untitled
Ident draft
Ident draft — 512×288 · 56f · untitled
AMD developer community
AMD developer community — Ref2VA · 864×480 · untitled

Knobs and full prompts: Showcase. Long T2VA: Long video.

Try it

git clone https://github.com/alexhegit/h3-hip.c.git
cd h3-hip.c
git checkout v0.11.0
make HIP_ARCH=gfx1151 -j$(nproc) h3   # or HIP_ARCH=gfx90a / gfx942

./h3 --profile -d /path/to/MiniMax-H3 \
  -p "A red fox walks through fresh snow." \
  --width 512 --height 512 --frames 22 \
  --steps 20 --layers 50 --reuse 1 \
  -o outputs/fox.mp4

Full setup: Getting started.

Pages

README stays the short front door. This wiki is the longer user guide. Engineering KEEP/REJECT logs stay in-tree under docs/perf/ and are not mirrored here.

Clone this wiki locally