Repository navigation
한 줄 요약 (2026-11-25 재배포): 첫 빌드는 ERNIE 5.5, Hy4-flash, Kimi K3, Raon 1이 요청 사이에 프롬프트 앞부분을 다시 읽었습니다. 이번 빌드에서 고쳤습니다.
처음 요약: ERNIE 5.5 Flash Preview를 RTX 5090 한 장에서 서빙하고, Inkling 2 Mini가 greedy 요청에서 draft 모델로 빨라졌으며, 두 번째 기기를 RDMA 메모리 tier로 붙일 수 있습니다.
Re-published on 2026-11-25. The first 0.3.17 build kept no prompt prefix between requests for ERNIE 5.5, Hy4-flash,
Kimi K3 and Raon 1: an agent re-read its whole prompt on every turn. This build fixes it (below). If you downloaded
0.3.17 before this note, download it again.
bloomery 0.3.17 serves ERNIE 5.5 Flash Preview on one RTX 5090, serves Inkling 2 Mini with its draft model by default,
and takes a second machine as a memory tier over RDMA. Every number below names its machine.
At a glance
- ERNIE 5.5 Flash Preview on one RTX 5090 32 GB, with most of its experts on the host CPU: 43.46 tok/s decode at
depth 512 and 161.54 tok/s on a 512-token prompt (the release sitting, below). - Inkling 2 Mini with its draft: 218 tok/s against 167 tok/s without, on one greedy chat request each (an untimed
look, not a sitting row). Requests that sample do not gain; see below. - A workstation and a DGX Spark on a 100 GbE link: the Spark holds expert rows over RDMA, and loads them with no
model file of its own.
ERNIE 5.5 Flash Preview
- The file. Our GGUF,
midagedev/ERNIE-5.5-Flash-Preview-GGUF
(F8M4, four shards, 155 GB). It is a lossless repack of the official checkpoint: FP8 dense weights with 128-wide
block scales and MXFP4 experts, as shipped.bloomery-serve --model ernie-5.5-flash-previewfetches and starts it. The
official folder loads only where the card holds every expert, so one 32 GB card needs the GGUF. (The first version of
these notes said "MXFP8 dense weights". That was wrong.) - What it serves. Chat, thinking on and off, and tool calls through the model's own template. The plan takes the
trained context, 1,048,576 tokens. - Placement. With no
--place, the card takes the dense weights, the KV stores and the experts that fit: on a
32 GB card 1,369 of 21,504 experts (9.2 GB). The other 20,135 (134.6 GB) run on the host CPU, so the host needs
about 150 GB of memory for the file. - Prompt reuse between requests (fixed in the re-published build). The body now keeps a checkpoint of its HCA
window and compressor rings at the end of each prompt (24.2 MB a point, two points a sequence), and a new request
goes back to it. Untimed look on one RTX 5090: a 5,066-token prompt, then a turn that extends it. The second request
reused 5,075 tokens and took 0.65 s, against 28.7 s with the cache off. The reply was the same. A second fix
(re-published 2026-11-26) keeps the prompt's end point when a reply makes tool calls: a 30-request coding-agent
session on one RTX 5090 fed 573,004 prompt tokens, 540,512 of them reused. - Tool calls that carry code (fixed, re-published 2026-11-26). Under
tool_choice: autothe server holds a
tool call to its schema. A string argument could not contain<, so a call could not carry HTML or a shell
heredoc, and an agent that writes files through a tool looped on a placeholder. A string argument now takes any
text and ends only at its closing tag; the tag before a value joins the value's first token, and ERNIE's
parameters are written in the order its template renders them. With the fix the same agent session finished
its task (a 30 KB single-page game). The request's log line now says when a call was constrained. - xstream.
BLOOMERY_XSTREAMunset resolves toadmiton ERNIE.splitis refused by name: the route GEMM has no
MXFP4 entry. - Not in this release. A draft: the official folder ships a DSpark head (11 GB) that our GGUF does not carry. With
most experts on the host, a verify costs about as many host reads as the rows it checks, so it would not pay on one
32 GB card [derived]. The node tier (a second machine's memory) is not attached for ERNIE. - How it is checked. Fixture gates carry the kernels, the card body end to end and the serve gate. The real file
has gates for its plan and trunk. Real-file serving is checked by the release sitting's first-request checks (a short
and a 5,850-token prompt), not by a gate.
Inkling 2 Mini: the draft
- On by default when a draft is found. The server looks for the official checkpoint folder's
mtp.safetensors,
or adspark-*.gguffile beside a GGUF model.BLOOMERY_DSPARK_MODELnames either form. Thedraft ruleline on
stderr says what was found and where. BLOOMERY_DRAFT=offserves without the draft. With no draft found, the server serves without one and says why.- Greedy requests only. A request at temperature 0 with no
logit_bias,logprobsorignore_eosis drafted,
and its text is the same with and without the draft. Every other request takes one step a token: we measured no gain
and about 3 % lower speed with the draft loaded (156.7 against 161.2 tok/s, untimed looks). The sitting rows below
useignore_eos, so they are undrafted rows. - Experimental, off by default:
BLOOMERY_INK2_LOOPCD(loop contrastive decoding) andBLOOMERY_INK2_PASSES
(2 to 5 loop passes instead of the trained 3; output quality is not guaranteed, and it is refused together with a
draft). - CUDA only. On a Mac, Inkling 2 Mini serves without a draft in this release.
Prompt reuse for Hy4-flash, Kimi K3 and Raon 1 (fixed in the re-published build)
The same fix, through the same checkpoint owner: Hy4-flash keeps its window and index rings and its engram history,
Kimi K3 each KDA layer's state and conv ring, Raon 1 its committed lane and conv ring. Kimi K3's two checkpoint slots
take about 1 GiB of pinned host memory that the plan does not reserve yet. Raon 1 has no serve gate; an untimed look
with its draft reused 5,145 of 5,170 prompt tokens and gave the same reply as with the cache off.
A second machine as a memory tier, over RDMA
tier_serveron the second machine now speaks RDMA (RoCE) beside TCP, and can start with no model file: the first
machine streams the rows to it at load and both sides check them by SHA-256.- Our pair is the workstation and a DGX Spark (ConnectX-5 Ex to ConnectX-7, 100 GbE). On DeepSeek V4.1 Flash, untimed
looks at 512 prompt tokens withBLOOMERY_CARD_BUDGETset: 18.29 and 15.52 ms a token (first and second request)
with the Spark, 20.53 and 15.89 ms on the workstation alone. V4.1 fits the workstation's memory, so this shows only
that the tier costs nothing there. We have no timed A/B yet. - Muse Spark and Mistral Large 4 can use a node tier too. Those two are verified on fixtures only; we publish no speed
number for them. - Both machines must run the same release.
One RTX 5090 (the release sitting)
The shipped sm120a binary at the serving defaults (--place unset, every lever unset), on our workstation (32-core
AVX2 host, 256 GB of RAM). Means of two rounds, tok/s; prompt at P = 512 and 4096, decode at depth 512 and 4096.
| Model | pp 512 | pp 4096 | decode 512 | decode 4096 |
|---|---|---|---|---|
ERNIE 5.5 Flash Preview F8M4 |
161.54 | 141.34 | 43.46 | 36.07 |
| DeepSeek V4.1 Flash | 240.09 | 405.32 | 30.61 | 30.48 |
Inkling 2 Mini UD-Q4_K_XL (undrafted, see above) |
5491.52 | 5264.91 | 158.84 | 154.34 |
One V4.1 round's first row was marked [cold]. ERNIE's row is from the re-published binary (commit 5d2853c); the
V4.1 and Inkling rows are from the first 0.3.17 binary, whose code for them did not change.
Archives
linux-x86_64-cuda-sm120a: RTX 50 series.linux-x86_64-cuda-sm86: any card of compute capability 8.6 or newer.linux-aarch64-cuda-sm121a: DGX Spark (GB10).macos-arm64-metal: Apple Silicon. No change in behaviour from 0.3.16.
Not verified in this release
- The re-published build ran the fixed families' own gates and their mutants on the fixture tier, the real-file
looks above, and the release sitting again. No union gate batch ran. The second re-publish ran the serve crate's
tests (538), one real coding-agent session on ERNIE 5.5 and ERNIE's sitting; the tool-call fix also changes the
GLM, Solar, Hy4, DeepSeek, Qwen and Muse Spark call formats, which were not run on a card. - No union gate batch ran before the first tag. Each change ran its own gates during development, the static tier is
green on the tagged tree, and the release sitting ran on the shipped binary. Please file an issue if something
that worked in 0.3.16 does not. - Only the
sm120aarchive was run. Thesm86, GB10 and Mac archives were built and not run. - The gates that need two cards did not run (our workstation has one card now).
gate-fixtureand onegate-gpu-libclause were red on our workstation in the last partial batch. Neither names a
file this release changed; both are open.
I used an AI assistant (Claude Code) for parts of this release.