Super Roc — Roc-Solid AI Performance

Super Roc. Roc-Solid AI Performance. Fast. Efficient. Built to move local inference forward.

Local inference engine

An LLM inference engine for Strix Halo: Ryzen AI Max+ 395 systems with the Radeon 8060S GPU (gfx1151) and up to 128 GB of unified memory. GGUF models, 4-bit ROCmFP4 builds, MTP and DSpark drafting, and a prompt cache that resumes from any earlier conversation state.

  • Strix Halo
  • ROCmFP4
  • MTP / DSpark
  • OpenAI + Anthropic APIs
  • Lemonade backend
6,992.6prompt tok/sLFM2.5-1.2B-Instruct
1,261.2prompt tok/sQwen3.8-Flash-Next · 177B MoE
107.3code tok/sKAT-Coder-V2.5 · 35B-A3B
50.6code tok/sQwen3.8-27B · dense

From the models table: Ryzen AI Max+ 395, 128 GB, one request at a time, temperature 0, cold prompt cache, drafter as in each card.

Same machine, same harness

Top performers

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.

ModelCategoryPrompt, 4KPrompt, 32KGeneration, 4KGeneration, 32K
Qwen3.8-27B ¹27B dense664.9 vs 377.6593.9 vs 329.933.8 vs 26.843.4 vs 29.4 ²
Qwen3.8-Flash-Next ³177B MoE61.9 vs 40.358.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.

Engine

What Super Roc adds

  • 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-quantA 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 ROCmFPX llama-quantize. See docs/superroc-quant.md.
  • More model familiesqwen35 / qwen35moe ROC 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.
  • DraftingEmbedded 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 GGUFsqwen35moe files 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 settingsA 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 callsIn 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.
  • HardeningHTTP 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.

Measured

Models

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.

ModelSizeFile (Hugging Face)DrafterPrompt tok/sGeneration tok/sCode tok/sCard
KAT-Coder-V2.5-Dev Abliterated35B-A3B MoESTRIX_LEAN, MTP block Q8_0embedded MTP1,713.184.7107.3card
Ornith-1.5-35B-A3B35B-A3B MoELEAN v1embedded MTP1,773.774.696.4card
MiniCPM-V-4.7-35B-A3B35B-A3B MoE, visionLEAN, Q6_K trunknone1,876.365.265.7card
Agents-A1 Abliterated35B-A3B MoESTRIX_LEANnone1,767.777.078.0card
BTL-4MoE (qwen35moe)STRIX_LEANnone1,771.080.681.4card
Nex-N2.5-miniMoE (qwen35moe)STRIX_LEANnone1,753.177.178.0card
Qwen3.8-Flash-Next Uncensored177B MoESTRIX_LEAN imatrix, hc tensors Q8_0MTP head Q8_01,261.256.156.8card
Qwen3.8-Flash-Next177B MoEUnsloth UD-Q4_K_XLshared MTP Q8_01,369.147.659.9card
Qwen3.8-27B27B denseSTRIX imatrix, head/embedding Q6_KDFlash2513.627.650.6card
Qwen3.8-27B27B denseUnsloth UD-Q4_K_XLDFlash2545.627.244.3card
Qwen3.8-27B Uncensored27B denseSTRIX_LEANMTP Q4_0509.626.343.9card
Qwen3.8-27B Fable Cold Fusion Heretic27B dense, visionFAST imatrixMTP Q4_0498.829.141.7card
Agnes-3.0-Flash-Preview33B denseSTRIX_LEANMTP sidecar Q8_0423.021.529.2card
OxCoder-9B9B denseSTRIX_LEANMTP (own block)1,437.751.876.4card
Ornith-1.5-9B9B denseSTRIX_LEANnone1,703.142.342.7card
MiMo-V2.6-Distill-Qwen-9B9B denseSTRIX_LEANnone1,625.442.242.5card
Ling-3.0-flash-VL124B-A5.5B MoE, visionSTRIX_LEANnone569.238.437.4card
LFM2.5-24B-A2B24B-A2B MoELEAN (from the QAD 4-bit file)none2,459.297.8101.8card
LFM2.5-8B-A1B8B-A1B MoELEANnone4,037.2153.4158.5card
LFM2.5-2.6B2.6B denseLEANnone3,317.9104.9108.6card
LFM2.5-1.2B-Instruct1.2B denseLEANnone6,992.6210.7223.3card
Flint 40B-A2.5B40B-A2.5B MoECOHERENT-PASnone1,119 ¹58.9 ¹—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):

ModelSettingPrompt tok/sGeneration tok/sPerplexity
Qwen3.8-27B, ROCmFP4 STRIX imatrix4-bit prefill route586 → 782 (1K), 577 → 754 (8K)30.2 → 31.44.641 → 4.645
Qwen3.8-Flash-Next Uncensoredtensor overlay, 6 of 10 experts1,393 → 1,52352.4 → 58.25.128 → 5.046
KAT-Coder-V2.5-Dev Abliterated6 of 8 experts2,101 → 2,31598.5 → 105.46.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.

Quick start

Run it with Lemonade

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-Instruct

tools/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).

Build from source

Linux x86-64 on AMD Strix Halo (gfx1151) is the supported target.

Prebuilt binaries

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 diagnose

With Nix

nix build
./result/bin/superroc diagnose
./result/bin/superroc serve llm --model /path/to/model.gguf

Without Nix

Install 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 diagnose

cmake --install build/release installs Super Roc, its runtime data and the license notices.

Serve

Run

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 1

Then 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."}]}'

Recipes

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 auto

The 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.

Anthropic API and Claude Code

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
claude

ANTHROPIC_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.

Lemonade

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 step

or by hand:

tools/lemonade/install.sh --superroc ./build/release/superroc --prefix /opt/superroc
lemonade config set llamacpp.rocm_bin=/opt/superroc/lemonade

Models that Super Roc does not run go to the stock llama-server unchanged. Setup, the model list and troubleshooting: docs/LEMONADE.md.

Honest notes

Known gaps

  • 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.

Lineage and credits

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.

Feedback

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.