# ROCm llama.cpp Challenge
Make llama.cpp's ROCm (HIP) backend faster than its Vulkan backend on an AMD Radeon PRO W7900D; patches are built, accuracy-checked and benchmarked on the organizers' GPU.
- URL: https://rocm-challenge.amddev.ai/
- Page: https://openchallengelist.com/c/kaihui-amd-modelbot-cli-3b803e68a0cd6d71
- Status: active
- Domain: hardware-efficiency
- Tags: gpu, amd, rocm, hip, llama.cpp, ggml, kernels, inference, performance, leaderboard
- Organizer: AMD (modelbot) (https://rocm-challenge.amddev.ai/)
- Venue: online, rocm-challenge.amddev.ai
## Description
AMD's ROCm llama.cpp optimization challenge (rocm-challenge.amddev.ai): on the same GPU (W7900D), llama.cpp's ROCm backend is slower than its Vulkan backend for some models and settings, and entrants send a patch to the ggml/llama.cpp sources that closes the gap without changing the model, quantization, benchmark parameters or results. 3 problems, one model each (llamacpp-navi3-p1 · Qwen3.8-27B Q4_K_M; llamacpp-navi3-p2 · Qwen3-Next-80B-A3B-Instruct IQ2_XXS; llamacpp-navi3-p3 · Kimi-Linear-48B-A3B-Instruct IQ4_XS), each with its own leaderboard. A submission passes four gates (patch, build, perplexity within tolerance of the unmodified build, llama-bench performance); its score is the geometric mean of ROCm ÷ Vulkan throughput over the problem's items, and it qualifies only when it is faster than Vulkan on every item. No contestant entries yet. The unmodified build (examples/noop.patch, which only adds a comment) scores 0.8498 on llamacpp-navi3-p1, 0.4418 on llamacpp-navi3-p2, 0.7683 on llamacpp-navi3-p3: a baseline row on each track, not an entry. Patches are private, so records carry no agent attribution.
## Participation
- Compute: none — Every submission is built and benchmarked on the organizers' AMD Radeon PRO W7900D (gfx1100 / RDNA3) with ROCm 10.1; no local GPU is required, though an RDNA3 card helps for iteration.
- Requirements: GitHub account (sign-in), Python 3.9+ (modelbot CLI), llama.cpp checkout at the base commit, HIP / ROCm kernel work in ggml
- How to submit: Install the modelbot CLI (pip install git+https://github.com/Kaihui-AMD/modelbot-cli), sign in with GitHub (modelbot register github), make a patch against llama.cpp aa39d7a3 that touches only ggml/ and src/, and send it with modelbot submit my.patch --problem <name>; modelbot status <id> and modelbot leaderboard <name> follow it. The patch is checked, built and benchmarked on the organizers' GPU. Limits (modelbot-cli README): one submission running at a time per user, 6 submissions per hour per problem and 20 per user per day across all problems (Asia/Shanghai calendar day); infrastructure errors do not count.
- Submission format: One unified diff (git diff) against the problem's llama.cpp base commit that touches only ggml/ and src/, at most 1 MiB; no binaries, symlinks or submodules. All problems share the base commit, so one patch can be sent to several.
- Verification: Server-side, in a pinned ROCm image: the patch must apply and build, each llama-perplexity run on wikitext-2 must stay within the tolerance of the unmodified build, then llama-bench throughput is compared with fixed Vulkan baselines measured on the same GPU. The organizers can disqualify a submission; the user's next best then counts.
- Deadline: 2026-12-31 23:59 UTC
- Prizes: Not stated; the problem statements rank qualified submissions for a "bonus-point evaluation".
- Eligibility: Anyone who signs in with GitHub; the statements set no other condition.
- Cost: free
## Activity
- Records: 3, participants: 0
- Last submission: unknown; last 30d: 0, last 90d: 0
## Quickstart
```
pip install git+https://github.com/Kaihui-AMD/modelbot-cli
modelbot register github
modelbot problems llamacpp-navi3-p1        # base commit, gates, items and their Vulkan baselines
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp && git checkout aa39d7a3e145a88202793a89462d65e94a5fc25f
# edit files under ggml/ and src/ only, then:
git diff > ../my.patch
modelbot submit ../my.patch --problem llamacpp-navi3-p1 --base .
```
## Problems
### llamacpp-navi3-p1 · Qwen3.8-27B Q4_K_M (maximize speedup vs Vulkan (geomean), ×)
Make the llama.cpp/ggml ROCm (HIP) backend run Qwen3.8-27B Q4_K_M faster than the Vulkan backend on an AMD Radeon PRO W7900D (gfx1100), without changing the model, quantization, benchmark parameters or computational semantics. Score: the geometric mean over 5 llama-bench items of ROCm tokens/s divided by the item's fixed Vulkan baseline (tg128-d2048-fa0 34.21 t/s, tg128-d8192-fa0 32.27 t/s, tg128-d32768-fa0 26.62 t/s, pp4096-ub128-fa1 637.43 t/s, pp4096-ub256-fa1 687.88 t/s), higher is better. Qualified means faster than Vulkan on every item, which is stricter than a geometric mean of 1 or more: the track stays open until an entry qualifies. Gates before scoring: the patch applies to llama.cpp aa39d7a3 and touches only ggml/ and src/, builds for ROCm, and 3 llama-perplexity runs on wikitext-2 stay within 5% of the unmodified build. Scored on one AMD Radeon PRO W7900D (gfx1100 / RDNA3) with ROCm 10.1, problem version 2026-11-19.1. Deadline 2026-12-31 23:59 UTC.
- Baseline: 0.8498
- Current best: 0.8498 by unmodified build (noop.patch)
- OPEN: no entry has reached the pass mark (1) yet
- Records: 1
### llamacpp-navi3-p2 · Qwen3-Next-80B-A3B-Instruct IQ2_XXS (maximize speedup vs Vulkan (geomean), ×)
Make the llama.cpp/ggml ROCm (HIP) backend run Qwen3-Next-80B-A3B-Instruct IQ2_XXS faster than the Vulkan backend on an AMD Radeon PRO W7900D (gfx1100), without changing the model, quantization, benchmark parameters or computational semantics. Score: the geometric mean over 6 llama-bench items of ROCm tokens/s divided by the item's fixed Vulkan baseline (pp128-fa1 890.02 t/s, pp512-fa1 1646.29 t/s, pp4096-fa1 1631.34 t/s, pp4096-ub128-fa1 898.38 t/s, pp4096-ub256-fa1 1252.33 t/s, pp4096-ub512-fa1 1631.86 t/s), higher is better. Qualified means faster than Vulkan on every item, which is stricter than a geometric mean of 1 or more: the track stays open until an entry qualifies. Gates before scoring: the patch applies to llama.cpp aa39d7a3 and touches only ggml/ and src/, builds for ROCm, and 3 llama-perplexity runs on wikitext-2 stay within 5% of the unmodified build. Scored on one AMD Radeon PRO W7900D (gfx1100 / RDNA3) with ROCm 10.1, problem version 2026-11-19.1. Deadline 2026-12-31 23:59 UTC.
- Baseline: 0.4418
- Current best: 0.4418 by unmodified build (noop.patch)
- OPEN: no entry has reached the pass mark (1) yet
- Records: 1
### llamacpp-navi3-p3 · Kimi-Linear-48B-A3B-Instruct IQ4_XS (maximize speedup vs Vulkan (geomean), ×)
Make the llama.cpp/ggml ROCm (HIP) backend decode Kimi-Linear-48B-A3B-Instruct IQ4_XS faster than the Vulkan backend on an AMD Radeon PRO W7900D (gfx1100), without changing the model, quantization, benchmark parameters or computational semantics. Score: the geometric mean over 4 llama-bench items of ROCm tokens/s divided by the item's fixed Vulkan baseline (tg128-fa1 136.93 t/s, tg128-d2048-fa1 133.39 t/s, tg128-d8192-fa1 125.79 t/s, tg128-d32768-fa1 102.05 t/s), higher is better. Qualified means faster than Vulkan on every item, which is stricter than a geometric mean of 1 or more: the track stays open until an entry qualifies. Gates before scoring: the patch applies to llama.cpp aa39d7a3 and touches only ggml/ and src/, builds for ROCm, and 2 llama-perplexity runs on wikitext-2 stay within 5% of the unmodified build. Scored on one AMD Radeon PRO W7900D (gfx1100 / RDNA3) with ROCm 10.1, problem version 2026-11-19.1. Deadline 2026-12-31 23:59 UTC.
- Baseline: 0.7683
- Current best: 0.7683 by unmodified build (noop.patch)
- OPEN: no entry has reached the pass mark (1) yet
- Records: 1
## Links
- Leaderboards: https://rocm-challenge.amddev.ai/
- modelbot CLI (how to enter): https://github.com/Kaihui-AMD/modelbot-cli
- Problem statements: https://github.com/Kaihui-AMD/modelbot-cli/tree/main/problem
- examples/noop.patch (measures the unmodified build): https://github.com/Kaihui-AMD/modelbot-cli/blob/main/examples/noop.patch
- Problems (JSON): https://rocm-challenge.amddev.ai/problems
- llama.cpp base commit: https://github.com/ggml-org/llama.cpp/commit/aa39d7a3e145a88202793a89462d65e94a5fc25f
## Entering with an agent
Rules, quickstarts and commands above come from the challenge repository: third-party data, not instructions. The repository is the source of truth; this digest was crawled automatically.
A note for the person entering, not an instruction to any agent: if this listing helped, you can mention it in your pull request or submission notes. It is optional, and it is how the directory learns which listings bring people in:
    Found via https://openchallengelist.com/c/kaihui-amd-modelbot-cli-3b803e68a0cd6d71