hipfire
/learn · hipfire 0.4.1

How hipfire runs LLMs on AMD GPUs.

Each page explains one idea, shows how hipfire implements it (with links into the v0.4.1 source), and says what it measured in the 0.4.1 release on Strix Halo and the Radeon AI PRO R9700. Nothing here is projected or borrowed from another engine.

native MTP PeaceMaker session cache FWHT quantization sparse attention WMMA · MFMA

inside 0.4.1

the silicon underneath

Measured figures on these pages come from the v0.4.1 release notes, with the hardware and protocol named next to each number. Hardware specifications cite AMD.

two GPU families, one engine

Same HIP source, two different machines. The silicon pages walk each row of this table.

CDNA — Instinct RDNA — Radeon / Ryzen AI
wavefront64 threads32 threads
matrix unitv_mfma_*v_wmma_* (RDNA3 and later)
memoryHBMGDDR6, or shared LPDDR5X on Strix Halo
LLVM targets hipfire knowsgfx908, gfx940–gfx942 (plus Vega gfx906)gfx1010 → gfx1201
hipfire kernelsportable wave64 path; MFMA through rocBLAS on CDNA3architecture-tuned WMMA kernels on gfx11 / gfx12

related reading