Strix Halo (Ryzen AI Max+ 395) results: 24–34 tok/s at 128K–245K, and DFlash that works past 8K

#43
by j2ipper - opened

Sharing results from running Laguna-S-2.1 on an AMD Strix Halo laptop (HP ZBook Ultra G1a, 128 GB, 70 W) with llama.cpp Vulkan, 262K context, q8_0 KV:

  • Decode: 33–34 tok/s short context; 26.4 tok/s @128K and 24.2 @245K (19.5 / 15.0 before) with block-sparse decode attention on the 12 full-attention layers.
  • Prefill: +23% @128K with KV-sliced flash attention; ub 4096 adds +7–11% at short context.
  • DFlash at depth: the DFlash drafter attends to the whole context and its acceptance collapses as context grows (0.2% at 31K, the "DFlash breaks past 8K" reports). Giving the drafter a 1,024-token sliding window fixes it: code generation 40.6 / 37.5 / 34.0 / 34.9 tok/s at ~1K / 31K / 124K / 235K, with an adaptive pause keeping prose at normal speed.
  • Quality: agentic coding suite 5/5, needle 15/15 (greedy). With thinking off the agentic suite ran in 727 s vs 1,632 s (needle 13/15 vs 14/15).
  • Keep the GGUF's YaRN factor 32: the HF config's factor 128 was +6.8% worse in perplexity at 64K.

The sparse attention, KV slicing and drafter window are llama.cpp patches (published in the repo). Details, configs and method: https://github.com/nsbradley88/halo-tuning (laguna/)

Sign up or log in to comment