-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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.
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).
| 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.
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.
![]() T2VA fox — 512² · 22f · --layers 50 --reuse 1
|
![]() Linux 35 tribute — 864×480 · 56f · untitled |
![]() Ident draft — 512×288 · 56f · untitled |
![]() AMD developer community — Ref2VA · 864×480 · untitled |
Knobs and full prompts: Showcase. Long T2VA: Long video.
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.mp4Full setup: Getting started.
-
Getting started —
HIP_ARCH, build, generate, tests - T2VA pipeline — models and dtypes
- Showcase — gfx1151 clips and reproduce commands
-
Long video — 10 s / 15 s cinematic,
--token-reduction - Performance — fox-s2 / fox-fast / long T2VA scoreboard
- Known issues — HIP gaps that do not block default T2VA
- CLI — flags that matter on this port
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.




