llama.cpp on 8xMI300X: DeepSeek-V3 671B Q4_K_M decode throughput at batch 1, 256 generated tokens
Fields
benchmarks/llama-cpp-mi300x-deepseek-v3-671b-q4-decode-tok-sNotes
The single most useful llama.cpp-on-ROCm datapoint in the repo because it is fully re-runnable: model file, flags, build hash and ROCm version are all published. These numbers only exist at this level because AMD upstreamed a wavefront-64 MMQ rework into llama.cpp (ggml-org/llama.cpp#14624, July 2025). Before it, llama.cpp hardcoded WARP_SIZE=32 (NVIDIA's warp size) in shared-memory tile sizing, which made AMD's wave64 CDNA hardware unable to reach full compute. So a llama.cpp decode number on MI300X is a statement about an AMD-tuned fork state, not about stock llama.cpp on arbitrary hardware. Note 36.5 tok/s for a 671B MoE at Q4 is respectable: 376.65 GiB of weights spread over 8 MI300X (1536 GB total) fits comfortably, which is exactly the case MI300X's 192GB/card enables.