Repository navigation
Releases
Super Roc 0.20.4
Added
- Releases include a prebuilt Linux x86-64 archive for ROCm 7.2 on gfx1151,
superroc-<version>-linux-x86_64-rocm7.2-gfx1151.tar.gz, with a
SHA256SUMSfile. A nightly build ofmainis published as thenightly
pre-release on every night thatmainhas changed. Both are built by
.github/workflows/binaries.ymlwithtools/release/build-linux.shand
tools/release/package-linux.sh. tools/lemonade/setup.shsets up Super Roc as a Lemonade backend in one
step: it checks the machine, builds and installs Super Roc, points Lemonade
at it and adds the Super Roc model list.--dry-runshows the steps and
--undoswitches Lemonade back to its own llama.cpp.- The Lemonade model list adds Qwen3.5-4B-Post-Reasoning,
XLL-Acts-Qwen3.5-9B, Qwen3.5-4B-Flexible-Chat-Template (MTP),
Qwen3.5-4B-Kazakh-OptimizedTokenizer, Player-1-35B-A3B, Apodex 1.1 mini
ROCmFPX Q8_0 (plain and AGENT) and Ornith-1.5-35B-A3B ROCmFPX Q8_0 AGENT. - A project website, published from the README with GitHub Pages.
Changed
- An installed or unpacked binary finds its data files (the evaluation suite
and the MiniMax H3 source manifest) beside itself, under../share, so a
release archive works wherever it is unpacked. - Release builds carry no file paths of the machine that built them.
Nightly 2026-11-27 (e86f6c6ce9d9)
Development build of main at e86f6c6, built 2026-11-27 by the Binaries workflow.
The binary reports Super Roc development (e86f6c6ce9d9).
Nightly builds pass the hosted CPU checks. Tagged releases are also tested on
Strix Halo hardware before they are published; use the
latest release for a tested build.
Super Roc 0.20.3
Added
qwen35moemodels with stock K-quant or Q8_0 routed experts now load and
serve: Q4_K, Q5_K, Q6_K and Q8_0 routed experts (gate and up of one type)
with Q8_0 shared experts, as in common Q4_K_XL MoE GGUFs, and ROCmFPX Q8 MoE
files, whose experts convert to Q8_0 at load. Routed experts run on the mmq
MoE kernels with expert ids kept on the GPU; the shared expert runs as one
batched Q8_0 GEMM per prefill chunk. ROCmFP4 MoE files keep their existing
path, and any other type mix is refused at load with every tensor's type
named. Qwen3.6-35B-A3B UD-Q4_K_XL on a Ryzen AI Max+ 395: perplexity 7.58
on an 11K-token technical document (context 4096; llama.cpp on the CPU:
7.60), prompt 1,401 tok/s at 512 tokens, decode 60.5 tok/s.- The Lemonade model list adds Rewrite3-27B, Qwen3.6-27B-Curiosity,
Qwen3.5-9B-Post-Reasoning, Zenotron-Mini-0.5-Multilingual, Ornith-1.5-9B
ROCmFPX AGENT, Muse-Glimmer-30B ROCmFPX Q8_0 (and AGENT), Qwen3.8-27B ROCmFPX
Q8_0 (and AGENT) and the Qwen3.8-Flash-Next ROCmFP4-FAST builds (base,
Uncensored and Uncensored imatrix).
Super Roc 0.20.2
Added
- Q8_0_ROCMFPX (GGUF type 103) files load: each block (32 int8 values and one
UE4M3 scale byte) is converted to Q8_0 once at load, without loss, and the
converted weights are registered with the GPU in place. A repacked model's
artifact identity is hashed from its source file, so restarts reuse the
cached digest. - Qwen3.8-Flash-Next: ROCmFP4 and ROCmFP4-FAST builds whose embedding table
and per-layer embedding table are also ROCmFP4 now load. - Muse Glimmer accepts the pretty-printed copy of its chat template, which
renders byte-identical to the pinned one. - The Lemonade model list adds Qwen3.5-27B-Post-Reasoning and Summerwise-27B.
Fixed
- The serve architecture probe reads metadata only, so a model file is no
longer fully processed twice during load.
Super Roc 0.20.1
Fixed
- LFM2 family: the prompt cache now keeps the conversation up to the
generation framing, so a follow-up turn reuses the whole previous prompt
(a 4,818-token turn now reuses 4,815 tokens; it reused 4,096).
Added
- LFM2-24B-A2B and LFM2-8B-A1B chat templates (the first LFM2 template's tool
list and tool-result markers) are recognised and rendered.
Gates on this commit (Ryzen AI Max+ 395, ROCm 7.2.4): CPU suite 162/162, GPU suite 122/122, format, docs, dependencies and kernel resources pass.
Super Roc 0.20.0
Super Roc 0.20.0 for Strix Halo (Ryzen AI Max+ 395, gfx1151).
- Build from source: see docs/DEVELOPMENT.md.
- Run it inside a stock Lemonade: docs/LEMONADE.md.
- Models tested on Super Roc: the Super Roc library on Hugging Face.
- Security reports: SECURITY.md.
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.
Added
-
serve llm --accept-any-model-name: requests may name any model, as with
llama-server. Launchers that forward their own model name (Lemonade's
llama.cpp slot) need it. -
serve --cors-origin ORIGIN: send CORS headers for ORIGIN (*for any). -
SUPERROC_REASONING_LOOP_GUARD=<min>:<max>:<repeats>(for example
16:512:3): an opt-in stop for temperature-0 reasoning loops. While a
request is still reasoning, the guard fires when the lastrepeatscopies
of oneP-token block repeat exactly for somePin the range, then emits
the same forced reasoning end a token budget would so the model answers
instead of looping into the token cap. Unset keeps the fast argmax path
byte-for-byte; a malformed value fails server startup, each firing logs one
server line, and the request's completed line carriesloop_guard_fired=0|1. -
SUPERROC_REASONING_CLOSE_MESSAGE=<text>(or--reasoning-close-message TEXT, which wins): when the reasoning budget or the loop guard forces the
end of reasoning, the message tokens emit first, then the forced end, then
the answer. Tokenized once per process with the normal tokenizer; unset
keeps today's forced end byte for byte. -
SUPERROC_REASONING_BAN=<word>,<word>,...(for example
Wait,wait,Hmm,hmm,Alternatively,alternatively): while a request is still
reasoning, a banned raw argmax falls back to a masked host selection
(greedy takes the next best, sampled requests renormalise without the
banned tokens); answers are never affected. Unset, or a ban no token ever
hits, keeps today's text and decode speed. -
SUPERROC_CANONICAL_CACHE=1: a conversation gets the same reply whether the
server saw it turn by turn or reads the whole history in one request (after
a restart, an evicted checkpoint, or on another server). A finished request
leaves only its prompt checkpoints and the next request reads the previous
reply as prompt; dense Qwen prompt passes take one kernel route at every
size; Flash-Next prompts are cut and checkpointed only on multiples of 64
rows with at least 16 rows on both sides, where a cut does not change the
state, its half-precision projections keep one summation order, and the
checkpoint before the prompt end is frozen inside the last pass, so the
switch costs no extra pass there; llama-family models send a one-row
prompt pass through the batch kernels and read attention keys in one
sweep; Qwen MoE models needed the cache rule only.
Measured on 36 agent turns at temperature 0, live against a freshly
started server, with 3,650 to 4,700 tokens of context: Qwen3.8-27B-UD-Q4_K_XL
36 of 36 identical replies (34 without the switch), Qwen3.8-27B ROCmFP4 36
of 36 (31 without), Qwen3.8-Flash-Next ROCmFP4 36 of 36 (29 without),
Qwen3.8-Flash-Next-UD-Q4_K_XL 36 of 36 (28 without), KAT-Coder-V2.5-Dev
ROCmFP4 36 of 36 (29 without); with short contexts Nanbeige4.3-33B-Base 36
of 36 (33 without). See "The same reply for the same
history" in the cache guide. -
tools/repro/live_vs_cold.pyandtools/repro/growing_prompt.pyrun the
same-reply checks against Super Roc or any OpenAI-compatible server and
exit 0 only when every reply matches.GET /propsreports
canonical_cache, and the request log carriescanonical=1under the
switch. See docs/REPRODUCIBILITY.md. -
Flash-Next ROCmFP4 files whose attention query/key/value tensors use the
17-byte block layout (recipe overlays do) take the fused projection and
convolution kernel again: prompt processing 2.6 % faster at 32,000 tokens
and 3.0 % at 4,000 on a Radeon 8060S, with the same logits bit for bit.
LFN_SSM_FUSED_FAST=0restores the separate kernels. -
The server keeps GPU-registered host memory where the kernel does not move
it. On an integrated Radeon every move of such a page (memory compaction,
swap) stops the process's GPU queues until the range is mapped again; with
the page cache full that cost up to 0.9 s per load and up to 0.5 s on a
first request. The runtime now starts withHSA_USERPTR_FOR_PAGED_MEM=0and
GPU_PINNED_MIN_XFER_SIZE=1048576unless those are already set, and the
server pins what the runtime registers by itself while a model loads
(event=runtime_memory_pinned). See "Host memory the driver tracks"
in the server guide. -
The server warms up at load: one short greedy generation runs through the
normal request path before the server listens, so the first request does not
pay for kernel code, decode graphs, draft buffers and fresh scratch pages.
It is a raw-text prompt that reuses nothing, leaves no state behind and is
not counted in the request metrics.--no-warmupskips it. -
A dense Qwen model file that carries its own MTP block (Qwen3.8-27B GGUFs
with anextnblock) is its own draft file:--speculative mtpno longer
needs--mtp-model, and with no speculative option the server drafts with
the block (speculative=mtp-autoin the load line).--speculative off
serves without a drafter./healthreports the mode and the p-min in force. -
The request log carries
prefill_tail_ms: the draft catch-up and prompt
snapshot that run after the first token. -
Model recipes: a
superroc-recipe.jsonbeside the model file carries a tuned
setup (engine variables, sidecar files such as an int4 route or a tensor
overlay, and tuning flags).--recipe autoloads it from the model's folder,
--recipe FILEnames one,--recipe off(the default) ignores it. Flags on the
command line take precedence over the recipe. A recipe is limited to tuning: its
flags are the speculative-decoding, prompt-lookup, prefill-chunk, thinking and
sampling options only, so it cannot set the listen address, port, sessions, API
keys, model, served name, a limit, a timeout, a cache budget, the log level, or
the trace and disk-cache paths. It cannot set a variable that names a program
or an output file, a diagnostic switch, or a path through a setting; its files
must be regular files next to it, for the engine's input-file variables only,
and the recipe itself at most 1 MiB. A variable the build does not read is
skipped and reported./propsreports what the recipe
changed. See docs/recipes.md. -
Responses carry llama.cpp-style
timings(prompt and predicted token counts,
milliseconds and tokens per second), so clients and benchmark tools written for
llama-server read them unchanged. -
OpenAI
logprobs: chat completions withtop_logprobs0–20, streamed beside
deltaas OpenAI does; legacy completions withlogprobs0–5. A token that is
part of a multi-byte character is reported as U+FFFD with its exactbytes
(chat) or asbytes:\xNN(completions). Requests that do not ask for log
probabilities do no extra work per token. -
OpenAI
stopaccepts up to 16 strings. -
/propsreports the serving environment: GPU architecture, ROCm version, kernel
and whether compute-wave save/restore is available. -
Image input on the Qwen3.5/3.6 MoE family (35B-A3B and 122B-A10B projectors) and
on the dense 9B and 2048-wide sizes, in addition to Qwen3.8-27B and Flash-Next. -
SUPERROC_TAIL_CAPTURE=Ntakes a second prompt checkpoint N tokens before the
end of the prompt inside the same prefill pass, so a follow-up that changes only
the last turn restores from it instead of re-reading the whole prompt. With
SUPERROC_CANONICAL_CACHE=1there is one restore point and N moves it that
many rows further from the prompt end. -
Streaming responses send a data-chunk heartbeat while a long prefill runs, so
proxies with idle timeouts keep the connection open.
Security
- Message text on the Llama, Ling 3 and DeepSeek V4 Flash chat paths can no
longer become a control token: client text that spells one is read as
characters, so a message cannot forge a turn or role boundary. Prompts
without such text tokenize exactly as before. - Streaming errors, image errors and voice websocket errors send fixed texts
to the client; the cause is written to the server log only. - JSON-schema intersection charges a work budget for every node it walks
and every member it compares, so a$refwith wide sibling objects is
rejected in milliseconds instead of costing close to a second each time. - No CORS headers are sent unless
--cors-originis given. Before, every
response allowed any origin, so any web page could use a local server that
had no API key. - A request that fails with an internal error gets the fixed message
"internal server error"; the cause stays in the server log. /propsreports file names, not absolute paths, for the model and recipe
files.- JSON-schema
response_format: the work spent intersecting$ref/anyOf
branches is capped, so a small schema can no longer expand into billions of
nodes.
Speed
- MTP on a dense Qwen file. The draft block's K-quant, BF16 or F32 matrices
are re-encoded as Q4_0 at load, a quarter of the bytes ...