Strix Halo llama.cpp toolbox

llama.cpp for AMD Strix Halo with Flash-Attention and MoE-prefill fixes

Image 1 of 1: Line chart of prefill throughput against context depth: the fixes reach 2.66x stock at 64k

A tuned llama.cpp for gfx1151 with a bundled Mesa driver, built for long-context quantized KV: KV is dequantized once per Flash-Attention pass, strided f16 KV is made contiguous, and HIP decode routes through the tile kernel. Ships as a portable directory, Docker image and distrobox.

  • 3.26xPrefill at 64k context
  • +41%Deep decode (q8_0 KV)

Trade-offs

  • Subgroup pin off by default since v0.7.4. It moved about 2% of greedy tokens on dense models relative to upstream for about 1% prefill, so GGML_VK_FA_WAVE32=1 opts back in.
  • The q5_K/q4_K scale cache is disabled. Later tile changes made it obsolete, and it had regressed to -4% at pp512 and -20% at pp2048 on Q5_K-weight MoE.
  • A cached QSA indexer for Qwen3.8-Flash-Next. Generation gains 35% at 32k, but the cache is trusted only while one sequence is in the KV stream.

Q&A4

It used to be re-dequantized on every Flash-Attention pass. It is now dequantized once into a transposed scratch and reused, which gives up to 2.66x against f16 on head-dim-128 models.

Reviews

Loading reviews

    More in Local inference

    See all 43 →
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • AlzeoOne-command installer that turns a DGX Spark or GB10 box into an AI server

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • XDPerfXDP traffic generator with WASM packet plugins

    More in C++

    See all 44 →
    • OmarollPhoto and video viewer and library for Omarchy that follows the desktop theme
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • OmafilesKeyboard-first multi-panel file manager for Omarchy on Qt6
    • clinkC++ stream processing engine that stays correct when processes die
    • ReameCPU-first LLM server for ternary models on free-tier ARM boxes