Repository navigation
Known-Good Strix Halo ROCm + llama.cpp Stack #20856
Replies: 1 comment 2 replies
|
4-month update: we moved gfx1151 generation off ROCm/HIP to mainline Vulkan/RADV, and dropped the custom kernel. Same box (Radeon 8060S / gfx1151, 96 GB unified, unprivileged Ubuntu 24.04 LXC). Almost everything in the original writeup has since changed. Posting the deltas in case they save someone the same testing. 1. Backend: ROCm/HIP fork → mainline Vulkan/RADVThe single biggest change. Our generation server no longer uses the HIP build at all; it runs stock upstream llama.cpp on the Vulkan backend (RADV). Reason: on this GPU, Vulkan decodes faster.
2. Kernel: no more community/bleeding-edge kernel neededOriginal post said you needed 3. MTP self-speculative decoding is a big, free winSwitched the model to the unsloth MTP variant (
4. Full 262K context in ~2.7 GB of KV
5. Note on aggregate/parallel throughput (methodology matters)The original post's "~168 t/s at 16 parallel slots" was a qwen3.5-era number we never re-verified. Re-measuring on the current model/build via live
Peak is at np=8, not 16. Beyond that, disjoint MoE expert routing per slot makes per-step weight bandwidth scale super-linearly and per-slot rate collapses. I wouldn't read this as "146 corrects 168": it's a different model on a different backend, and aggregate throughput is very sensitive to how it's measured. As a data point on that last part: we also benchmarked vLLM (kyuz0's gfx1151 toolbox) on the same hardware and got ~20 t/s single-stream but 162–181 t/s via Build flags (Vulkan, mainline tag
|
Uh oh!
There was an error while loading. Please reload this page.
Radeon 8060S / gfx1151 · Proxmox LXC passthrough · ROCm 7.2 · llama.cpp HIP build
Results
Qwen3.5-35B-A3B Q4_K_M (21 GB GGUF): ~45 t/s single user, ~168 t/s aggregate at 16 parallel slots. Memory bandwidth limited at that concurrency.
Host
6.19.2-1-pveamdgpudriver, noamdgpu-dkmsROCm
AMD APT repo, pinned priority 600:
rocm-hip-sdkas meta-packagerocwmma-devrequired for flash-attention build path (came in viarocm-hip-sdkfor me, verify if doing minimal install)LXC passthrough
Unprivileged LXC running Ubuntu 24.04 LTS (Noble). Proxmox-native device mappings:
/dev/dri/card0/dev/dri/renderD128/dev/kfdIf rocm-smi can't see your GPU from inside the LXC, fix that before anything else.
GPU as seen from inside the container:
90112 MiB is the full unified memory pool visible to the GPU, not just the 32 GB BAR. The
VMM: noconfirmsGGML_HIP_NO_VMM=ONis doing its job.llama.cpp build
Build from main at commit
4d99d45(2025-03-10), not a tagged release. Built with GNU 13.3.0.Build flags
GPU_TARGETS=gfx1151— mandatory, don't rely on defaultsGGML_HIP_ROCWMMA_FATTN=ON— rocWMMA flash attention, big perf difference. Needsrocwmma-devGGML_HIP_NO_VMM=ON— the big one. HIP VMM doesn't work right on this GPU. Without this you get misleading stability/loading failures that look like driver issues. Try this first if you're having unexplained problems.GGML_HIP_MMQ_MFMA=ON— helps matmul pathHIPCXX/HIP_PATH— set explicitly, cmake wasn't finding the toolchain reliably without themRuntime flags
-ngl 999— full GPU offload-fa on— actually use the rocWMMA flash attention you built with-dio— required for models >~6 GB or they hang on load. Not slow. Hang.-np 16— drives concurrency, GPU can handle it-b 2048/-ub 512— tuned batch sizes, defaults are conservative--cache-prompt— matters for real serving with repeated prefixesReproduction checklist
rocwmma-devinstalled/dev/kfd+/dev/dri/card0+/dev/dri/renderD128+ correct GIDGPU_TARGETS=gfx1151GGML_HIP_NO_VMM=ON-diofor anything over ~6 GBIf you've got gfx1151 numbers I'd like to compare, especially around NO_VMM and -dio.
All reactions