DS4 Halo: 455 tok/s (+54%) DeepSeek V4 Flash prefill on Strix Halo, with bitwise verification

Hi everyone,

We’re sharing DS4 Halo, an open-source fork of antirez’s DwarfStar 4 focused on accelerating DeepSeek V4 Flash prefill on AMD Strix Halo.

Our recorded result is 455 tok/s, approximately 54% above the official DS4 published reference.

Result Prefill throughput Workload
Official DS4 published reference 295.27 tok/s Added 2K interval ending at 4K
DS4 Halo 455 tok/s Complete prepared 4K prompt

Hardware: Ryzen AI Max+ 395 / Radeon 8060S integrated GPU, 128GB unified memory, running Linux and ROCm.

Model: DeepSeek V4 Flash 0731, using asymmetric 2/8-bit quantization — IQ2_XXS + Q2_K, with selected Q8 tensors.

The Halo measurement uses three pure-prefill warmups. Model loading and generation are excluded from prefill timing.

Quality verification

The tested 4K cases passed bitwise comparisons against original DS4, covering:

  • Token IDs.
  • Complete FP32 logits.
  • Full serialized inference state.
  • Checks after 16 generated tokens.

The model weights and quantization are unchanged. The cleaned release also passed actual ROCm installation, installed-artifact numerical comparisons and bounded launcher/API checks.

What’s available

Historical context-scaling results through 128K are also documented separately.

A big thanks to Salvatore “antirez” Sanfilippo for DwarfStar 4 and for making this work possible. We’d be happy to see useful changes integrated upstream.

Feedback from the AMD developer community is welcome, particularly independent reproduction, SDK compatibility and installation experiences.

Your long-context curve might be the most interesting result here: 391 to 401 tok/s at 32K and still about 290 to 320 at 128K holds up really well, and the official report doesn’t cover that range at all. For anyone reproducing, it’d help to put the host prerequisites up front, since your docs note the installer doesn’t set IOMMU off or the 106 GiB GPU ceiling the 454.59 run used. And a same-box run with DS4_ROCM_HALO_PREFILL unset would give you a clean speedup figure to quote alongside it.