Quick start · Top performers · Models · Build · Run · API · Lineage
Super Roc is an LLM inference engine for AMD Strix Halo: Ryzen AI Max+ 395 systems with the Radeon 8060S GPU (gfx1151)
and up to 128 GB of unified memory. It serves GGUF models, including 4-bit ROCmFP4 builds, through an OpenAI- and
Anthropic-compatible server with MTP and DSpark drafting and a prompt cache that can resume from any earlier
conversation state.
Super Roc is its own engine project. Issues, pull requests and forks are welcome.
On a Strix Halo machine running Linux with ROCm and Lemonade, install the packages listed under Without Nix, then:
git clone https://github.com/kingjones30/superroc.git
cd superroc
tools/lemonade/setup.sh
lemonade pull LFM2.5-1.2B-Instruct
lemonade chat LFM2.5-1.2B-Instructtools/lemonade/setup.sh is optional: it checks the machine, builds Super Roc, installs it in /opt/superroc (with
sudo for that step only when needed), points Lemonade at it and adds the Super Roc model list, keeping any model
lists you already have. Run it again at any time. --dry-run shows what it would do, --undo switches Lemonade back
to its own llama.cpp, and --help lists the options. The same steps by hand are in docs/LEMONADE.md.
Models Super Roc does not run keep running on Lemonade's own llama.cpp.
Without Lemonade, build it (Build from source) and serve a model directly (Run).
- ROCmFP4 / ROCmFPX tensor types (GGUF types 100 and above) in the loader, the kernels and the serving path, including spill-free dense prefill and decode kernels for the 4-bit types.
superroc-quant, a standalone GGUF quantizer for the ROC recipes (STRIX, STRIX_LEAN, LEAN, COHERENT, FAST and the G4 variants) with protect rules, a tensor census, manifests and streaming output. For the ROC recipes its output is byte for byte the same as the ROCmFPXllama-quantize. See docs/superroc-quant.md.- More model families:
qwen35/qwen35moeROC builds (Qwen3.8, KAT-Coder, Ornith, MiniCPM-V, OxCoder, Agnes, Nex, BTL-4, MiMo),bailingmoe3(Ling-3.0-flash and Ling-3.0-flash-VL),lfm2/lfm2moe(LFM2.5),flint(Flint 40B-A2.5B: sliding-window and position-free attention layers with attention sinks),llama(Nanbeige4.3-33B-Base, serve-only: limits) and Muse Glimmer. - Drafting: embedded and sidecar MTP heads with a per-request draft depth and exact verification, the DSpark drafter, and prompt-cache snapshots that keep working while a drafter is on.
- Stock MoE GGUFs:
qwen35moefiles with Q4_K, Q5_K, Q6_K or Q8_0 routed experts, such as common Q4_K_XL builds and ROCmFPX Q8 files, run on the mixture-of-experts kernels with the expert choice kept on the GPU. - Speed settings: a 4-bit prefill route for dense ROCmFP4 files, a tensor overlay and a routed-expert count for mixture-of-experts files, and prompt-lookup drafting (options).
- Tool calls in each model's native format (Qwen, GLM-style, Ling, Flint), constrained by a grammar built from the request's tools where the format allows it.
- Hardening: HTTP header and body read deadlines and size caps, constant-time API key comparison, checked HIP kernel launches, and validation in the GGUF reader, configuration and weight binders.
Models where Super Roc measured fastest among the engines we ran on the same machine. Measured with lemonade bench, the public
benchmark harness of AMD's Lemonade, which drives every engine through Lemonade with
the same requests (greedy decoding; a fresh model load before each run, mean of two runs) on a Ryzen AI Max+ 395 with
128 GB. 4K and 32K are the harness's long-context scenarios (about 3,250 and 24,800 prompt tokens). Each engine runs with
the speculative decoding it turns on by default for the model.
Each cell reads Super Roc vs the fastest other engine, in tokens per second; only the tests where Super Roc measured fastest are listed.
| Model | Category | Prompt, 4K | Prompt, 32K | Generation, 4K | Generation, 32K |
|---|---|---|---|---|---|
| Qwen3.8-27B ¹ | 27B dense | 664.9 vs 377.6 | 593.9 vs 329.9 | 33.8 vs 26.8 | 43.4 vs 29.4 ² |
| Qwen3.8-Flash-Next ³ | 177B MoE | 61.9 vs 40.3 | 58.1 vs 39.2 |
¹ Unsloth UD-Q4_K_XL, the same file for every engine.
² With the DFlash2 drafter and prompt lookup; with the defaults, 30.3 vs 29.4.
³ Super Roc on the ROCmFP4 STRIX_LEAN file with 7 routed experts and its shared MTP head; the other engines on their own files for this model.
Qwen3.8-27B was measured with the 0.20.0 release on 2026-11-23, Qwen3.8-Flash-Next with the build of 2026-11-20 that became 0.20.0. Every scenario and setup of both runs, including the tests where another engine is faster, is in docs/BENCHMARKS.md.
Measured with this repository's code on Ryzen AI Max+ 395 systems (128 GB, ROCm 7.2.4 or 7.13.0, named in each card): one request at a time, temperature 0, cold prompt cache, drafter as in the card's serve command. Prompt is prompt processing on a document question of 1,517 to 1,641 tokens (depending on the tokenizer); Generation is the speed of the answer to that prompt (up to 256 tokens); Code is the mean generation speed over six coding prompts (up to 256 tokens each). Each card has the exact files, the serve command, more measurements, quality numbers where they exist, and known limits.
| Model | Size | File (Hugging Face) | Drafter | Prompt tok/s | Generation tok/s | Code tok/s | Card |
|---|---|---|---|---|---|---|---|
| KAT-Coder-V2.5-Dev Abliterated | 35B-A3B MoE | STRIX_LEAN, MTP block Q8_0 | embedded MTP | 1,713.1 | 84.7 | 107.3 | card |
| Ornith-1.5-35B-A3B | 35B-A3B MoE | LEAN v1 | embedded MTP | 1,773.7 | 74.6 | 96.4 | card |
| MiniCPM-V-4.7-35B-A3B | 35B-A3B MoE, vision | LEAN, Q6_K trunk | none | 1,876.3 | 65.2 | 65.7 | card |
| Agents-A1 Abliterated | 35B-A3B MoE | STRIX_LEAN | none | 1,767.7 | 77.0 | 78.0 | card |
| BTL-4 | MoE (qwen35moe) | STRIX_LEAN | none | 1,771.0 | 80.6 | 81.4 | card |
| Nex-N2.5-mini | MoE (qwen35moe) | STRIX_LEAN | none | 1,753.1 | 77.1 | 78.0 | card |
| Qwen3.8-Flash-Next Uncensored | 177B MoE | STRIX_LEAN imatrix, hc tensors Q8_0 | MTP head Q8_0 | 1,261.2 | 56.1 | 56.8 | card |
| Qwen3.8-Flash-Next | 177B MoE | Unsloth UD-Q4_K_XL | shared MTP Q8_0 | 1,369.1 | 47.6 | 59.9 | card |
| Qwen3.8-27B | 27B dense | STRIX imatrix, head/embedding Q6_K | DFlash2 | 513.6 | 27.6 | 50.6 | card |
| Qwen3.8-27B | 27B dense | Unsloth UD-Q4_K_XL | DFlash2 | 545.6 | 27.2 | 44.3 | card |
| Qwen3.8-27B Uncensored | 27B dense | STRIX_LEAN | MTP Q4_0 | 509.6 | 26.3 | 43.9 | card |
| Qwen3.8-27B Fable Cold Fusion Heretic | 27B dense, vision | FAST imatrix | MTP Q4_0 | 498.8 | 29.1 | 41.7 | card |
| Agnes-3.0-Flash-Preview | 33B dense | STRIX_LEAN | MTP sidecar Q8_0 | 423.0 | 21.5 | 29.2 | card |
| OxCoder-9B | 9B dense | STRIX_LEAN | MTP (own block) | 1,437.7 | 51.8 | 76.4 | card |
| Ornith-1.5-9B | 9B dense | STRIX_LEAN | none | 1,703.1 | 42.3 | 42.7 | card |
| MiMo-V2.6-Distill-Qwen-9B | 9B dense | STRIX_LEAN | none | 1,625.4 | 42.2 | 42.5 | card |
| Ling-3.0-flash-VL | 124B-A5.5B MoE, vision | STRIX_LEAN | none | 569.2 | 38.4 | 37.4 | card |
| LFM2.5-24B-A2B | 24B-A2B MoE | LEAN (from the QAD 4-bit file) | none | 2,459.2 | 97.8 | 101.8 | card |
| LFM2.5-8B-A1B | 8B-A1B MoE | LEAN | none | 4,037.2 | 153.4 | 158.5 | card |
| LFM2.5-2.6B | 2.6B dense | LEAN | none | 3,317.9 | 104.9 | 108.6 | card |
| LFM2.5-1.2B-Instruct | 1.2B dense | LEAN | none | 6,992.6 | 210.7 | 223.3 | card |
| Flint 40B-A2.5B | 40B-A2.5B MoE | COHERENT-PAS | none | 1,119 ¹ | 58.9 ¹ | — | card |
| Inkling 2 Mini | 26.4B-A3.4B MoE, vision | ROCmFP4 A4H8X | DSpark Q8_0 | 1,592.2 | 42.0 | 49.2 | card |
¹ Flint was measured with its own method: a 512-token prompt and 128 generated tokens. Its card has the 4K and 16K numbers.
The table was measured on the 2026-10-25 build. Speed settings new in this release, each measured on the card's file with the setting off and on in alternating runs on one build (method and serve command in each card):
| Model | Setting | Prompt tok/s | Generation tok/s | Perplexity |
|---|---|---|---|---|
| Qwen3.8-27B, ROCmFP4 STRIX imatrix | 4-bit prefill route | 586 → 782 (1K), 577 → 754 (8K) | 30.2 → 31.4 | 4.641 → 4.645 |
| Qwen3.8-Flash-Next Uncensored | tensor overlay, 6 of 10 experts | 1,393 → 1,523 | 52.4 → 58.2 | 5.128 → 5.046 |
| KAT-Coder-V2.5-Dev Abliterated | 6 of 8 experts | 2,101 → 2,315 | 98.5 → 105.4 | 6.402 → 6.512 |
Also supported, with the upstream project's guides (its measurements, not re-measured here): DeepSeek V4 Flash, Qwen3-ASR 1.7B, Qwen3-TTS 1.7B, Qwen-Image-2.1 and MiniMax H3. The upstream usage guides for Qwen3.8 27B and Qwen3.8 Flash-Next are kept next to the Super Roc cards for those models.
Linux x86-64 on AMD Strix Halo (gfx1151) is the supported target.
Every release has a Linux x86-64 archive for ROCm 7.2,
superroc-<version>-linux-x86_64-rocm7.2-gfx1151.tar.gz, with a SHA256SUMS file. A
nightly build of main is published the same way
every night that main has changed. The archive runs where it is unpacked; its INSTALL.md lists the ROCm and
system packages it needs:
sha256sum -c SHA256SUMS
tar -xzf superroc-*-linux-x86_64-rocm7.2-gfx1151.tar.gz
./superroc-*-linux-x86_64-rocm7.2-gfx1151/bin/superroc diagnosenix build
./result/bin/superroc diagnose
./result/bin/superroc serve llm --model /path/to/model.ggufInstall a C++20 compiler, CMake 3.21+, Ninja, pkg-config and the ROCm HIP development libraries (ROCm normally installs
under /opt/rocm), then:
sudo apt install build-essential cmake ninja-build pkg-config \
libicu-dev libcurl4-openssl-dev libssl-dev libpng-dev libjpeg-dev libwebp-dev ffmpeg
# ROCm libraries, named as AMD's repository ships them.
sudo apt install hipblas-dev hipblaslt-dev rocblas-dev \
hipcub-dev rocprim-dev rocwmma-dev
cmake --preset release -DCMAKE_INSTALL_PREFIX="$HOME/.local"
cmake --build --preset release --parallel 4
./build/release/superroc diagnosecmake --install build/release installs Super Roc, its runtime data and the license notices.
Serve a model (here KAT-Coder-V2.5-Dev Abliterated with its embedded MTP drafter, see its card):
./build/release/superroc serve --host 127.0.0.1 --port 8080 llm \
--model /path/to/KAT-Coder-V2.5-Dev-Abliterated-MTPq8-Q4_0_ROCMFP4_STRIX_LEAN.gguf \
--served-model-name kat-coder --context 131072 --think off --speculative mtp -d 3 --min-draft-tokens 1Then ask it something through the OpenAI-compatible API:
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "kat-coder", "messages": [{"role": "user", "content": "Write a Python function that reverses a list."}]}'A tuned setup can travel with the model file as superroc-recipe.json: engine variables, sidecar files (such as an int4
prefill route or a tensor overlay) and tuning flags. Put the recipe and its sidecars next to the model and start with
--recipe auto; flags on the command line still take precedence:
./build/release/superroc serve --host 127.0.0.1 --port 8080 llm \
--model /path/to/Qwen3.8-27B-UD-Q4_K_XL.gguf --dflash-model /path/to/Qwen3.8-27B-DFlash2-Q4_K_M.gguf \
--speculative dflash2 --recipe autoThe recipe for that file is on Hugging Face at kingjones777/Qwen3.8-27B-SuperROC-Recipe. The format and its rules are in docs/recipes.md; measured results are in docs/BENCHMARKS.md.
The same server speaks the Anthropic Messages API:
curl http://localhost:8080/v1/messages \
-H "Content-Type: application/json" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: none" \
-d '{"model": "kat-coder", "max_tokens": 64, "messages": [{"role": "user", "content": "Write a Python function that reverses a list."}]}'It supports streaming SSE, system prompts, tools with tool_result round trips, thinking blocks, count_tokens,
and prompt-cache usage fields. The request and response shapes are in docs/SERVER.md.
Claude Code works against the server with these variables:
export ANTHROPIC_BASE_URL=http://localhost:8080
export ANTHROPIC_AUTH_TOKEN=none
export ANTHROPIC_MODEL=kat-coder
export ANTHROPIC_SMALL_FAST_MODEL=kat-coder
claudeANTHROPIC_MODEL is the name the server was started with (--served-model-name).
For Open WebUI, VS Code, the OpenAI SDK and Responses-API clients, set the API base URL to http://localhost:8080/v1.
Anthropic SDK clients and Claude Code use http://localhost:8080 as the base URL.
Chat Completions and Responses support text, images, function tools, structured output and streaming. The server uses
the model's native context by default; --context N sets the context per session and --max-tokens N a default
response limit that clients can override (reasoning tokens count toward it). The full API contract is in
docs/SERVER.md and the command line in docs/CLI.md.
Super Roc runs inside a stock Lemonade install today: point Lemonade's llama.cpp ROCm slot at the Super Roc launcher and add the Super Roc model list.
tools/lemonade/setup.sh # build, install and configure in one stepor by hand:
tools/lemonade/install.sh --superroc ./build/release/superroc --prefix /opt/superroc
lemonade config set llamacpp.rocm_bin=/opt/superroc/lemonadeModels that Super Roc does not run go to the stock llama-server unchanged. Setup, the model list and troubleshooting: docs/LEMONADE.md.
- Muse Glimmer loads, but its DFlash drafter does not yet, and without it Super Roc generates more slowly than llama.cpp (ROCmFPX build) on that model.
- Several GPU tests and tools read a model file; they take its path from an environment variable and fail without it.
Super Roc began as a fork of an MIT-licensed ROCm inference engine. The code is released under the MIT License in LICENSE. NOTICE names the upstream project; it and THIRD_PARTY_NOTICES.md list the code that came from that project, from llama.cpp / ggml and from other projects, with their licenses. Model weights are not included; each Hugging Face card states the license of its weights.
Thanks to the ROCmFPX team, Carlo Pasquale (@charlie12345) and the ROCmFPX contributors, for the ROCm-FP4 formats and the llama.cpp work they started from, and to Donato Capitella (@kyuz0) for the ROCmFPX builds in his Strix Halo toolboxes.
Open an issue with the hardware (CPU/GPU, memory, ROCm version), the model file, the exact command and the server log. Measurements on other Strix Halo systems, new model families and kernel improvements are welcome as pull requests.
