Skip to content

Releases

bloomery 0.3.17

Choose a tag to compare

@midagedev midagedev released this 25 Nov 09:48

한 줄 요약 (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-preview fetches 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: auto the 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_XSTREAM unset resolves to admit on ERNIE. split is 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 a dspark-*.gguf file beside a GGUF model. BLOOMERY_DSPARK_MODEL names either form. The draft rule line on
    stderr says what was found and where.
  • BLOOMERY_DRAFT=off serves 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, logprobs or ignore_eos is 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
    use ignore_eos, so they are undrafted rows.
  • Experimental, off by default: BLOOMERY_INK2_LOOPCD (loop contrastive decoding) and BLOOMERY_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_server on 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 with BLOOMERY_CARD_BUDGET set: 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 sm120a archive was run. The sm86, 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-fixture and one gate-gpu-lib clause 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.

bloomery 0.3.16

Choose a tag to compare

@midagedev midagedev released this 23 Nov 11:41

bloomery 0.3.16 serves Inkling 2 Mini, on NVIDIA cards and on Apple Silicon. It serves both Unsloth's GGUF file and
the model's official checkpoint folder as downloaded (ModelOpt NVFP4 and MXFP8 experts, BF16 dense weights). Every
number below names its machine.

At a glance

  • Inkling 2 Mini on one RTX 5090 32 GB, the whole model on the card: 155.33 tok/s decode at depth 512 and 4,962.77 tok/s on a 512-token prompt for the GGUF file (the release sitting, below).
  • The official checkpoint folder serves as downloaded:
    bloomery-serve --model inkling2 -m /path/to/Inkling-2-Mini
    
    Its dense weights are written as Q8_0 at load by default. BLOOMERY_INK2_DENSE=bf16 keeps them as stored, at about
    14 % slower decode on the 5090.
  • On a Mac, Inkling 2 Mini runs on Metal from its MLX folder, with the experts in NVFP4 and a batched prompt pass.

Inkling 2 Mini

  • The files. Unsloth's Inkling-2-Mini-UD-Q4_K_XL.gguf, or the official checkpoint folder (model.safetensors
    with hf_quant_config.json). With no --ctx-size, the server takes the largest context that keeps the whole model
    on the card: 428,032 positions for the folder on a 32 GB card.
  • What it does. A looped MoE: 24 layers walked as 48 visits, 128 experts with 8 picked per token, windowed and
    global attention with relative-position bias, a conv residual ring and a message bank. Chat, thinking, and tool
    calls through the model's own template.
  • The draft is not in this release. BLOOMERY_DRAFT other than off is refused by name on Inkling 2 Mini. The
    draft (the folder's mtp.safetensors) comes in the next release.
  • How it is checked. A fixture cut from the real file carries the kernel gates (attention, residual mix, loop
    control, conv ring, router), the card body end to end, the prompt pass and the serve gate. The official folder has its
    own gate on the real folder, in both dense arms, against the model's greedy tables.

One RTX 5090 (the release sitting)

The tagged binary at the serving defaults (--place unset, every lever unset, no --ctx-size), on our workstation
(32-core AVX2 host, 256 GB of RAM, the card at its 600 W limit). Means of two rounds, tok/s. Inkling 2 Mini serves
without a draft in this release.

Inkling 2 Mini Context the unset rule picks Prompt, 512 tokens Prompt, 4,096 tokens Decode at depth 512 Decode at depth 4,096
UD-Q4_K_XL (GGUF) 424,960 4,962.77 4,759.63 155.33 150.91
the official checkpoint folder (dense as Q8_0) 428,032 3,818.15 3,703.65 153.82 151.38

The GGUF row's 512-token request, recorded on tape with toktape 0.7.4 on the same binary and card (one request after the sitting).

Mac

On an M4 Pro 48 GB MacBook Pro, Inkling 2 Mini's MLX folder decodes at 39.90 tok/s, and mlx-lm at 29.03 tok/s, on the
same 64-token greedy request (a development measurement, not a sitting: three interleaved rounds).

Archives

  • linux-x86_64-cuda-sm120a: RTX 50 series (compute capability 12.0).
  • 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.

I used an AI assistant (Claude Code) for parts of this release.

bloomery 0.3.15

Choose a tag to compare

@midagedev midagedev released this 19 Nov 10:08

bloomery 0.3.15 serves Tencent's Hy4-flash (220B total, 11B active) on one RTX 5090 and host RAM, and the
maintainer's workstation is now one RTX 5090 32 GB: this release's numbers are that card's. DeepSeek-V4.1-Flash
now defaults to a Q3_K_M file our own tools wrote with an importance matrix the engine collected, and the dense
Qwen3.8-27B drafts with its own MTP layer. Every number below names its machine.

At a glance

  • Hy4-flash Q4_K_M (168 GB) on one RTX 5090 32 GB + host RAM: prompt 429.41 tok/s at 512 tokens and 451.18 at 4,096,
    decode 48.67 tok/s at depth 512 and 41.38 at depth 4,096 (the release sitting, below). Chat, image input with its mmproj, thinking on and
    off, and tool calls in its own call format.
  • The workstation's cards are one RTX 5090 (sm_120a): use the linux-x86_64-cuda-sm120a archive on a 5090. The
    sm86 archive still runs on any card of compute capability 8.6 or newer.
  • DeepSeek-V4.1-Flash defaults to midagedev/DeepSeek-V4.1-Flash-1017-GGUF:bq3km,
    the Q3_K_M layout quantized by bloomery-quantize with an importance matrix from the engine's own prompt pass
    (ppl_ds41 --imatrix). On the shipped path it holds the old default file's prompt and decode speed.
  • Qwen3.8-27B (dense) drafts with its in-file MTP layer in bloomery-serve: decode +39.4 % at depth 512 and
    +33.0 % at depth 4,096 (RTX A6000, depth-serve under the timing lease, 4 rounds, draft off against on, same binary).
  • Unsloth Dynamic V3.1 files of DeepSeek-V4.1-Flash-1017 and Qwen3.8-Flash-Next load and serve, and Ornith-1.5-122B
    serves on the qwen3 seat.

Hy4-flash

  • The file. Tencent's Hy4-flash-Q4_K_M GGUF, two shards, 168 GB.

    bloomery-serve --model hy4 -m Hy4-flash-Q4_K_M-00001-of-00002.gguf
    
  • Where it runs. At the unset context (1,048,576 positions) the plan on a 32 GB RTX 5090 holds the dense trunk, the
    K/V and 4,416 of the 20,992 routed experts on the card (18.8 GB) and serves the other 16,576 (70.7 GB) from host RAM;
    a load takes 12 s with the file in the page cache (the release sitting's warm rows).

  • What it does. 42 layers (12 with DeepSeek-style sparse attention, 30 with a 512-token sliding window), 512
    experts with 16 picked per token, engram lookups at four layers. reasoning_effort: "none" (or the template's own
    no_think) turns thinking off. Tool calls come back in the OpenAI shape.

  • The prompt pass. A placed load runs its prompt as a batch pass: the card's experts on the grouped GEMM, the host's
    streamed to the card behind the pass, and the experts each prompt uses most kept resident on the card.

  • Images. --mmproj with the Hy4 vision file (a 27-block SigLIP tower, 1,152 wide, merged 2×2 into the trunk)
    takes image input in the OpenAI shape.

  • How it is checked. A fixture cut from the real file (five layers) carries its gates: the tokenizer against
    llama.cpp's tokenizer for the model (112 cases), the attention, indexer, router and engram kernels, the card body
    end to end, the prompt batch and the serve gate.

One RTX 5090 (the release sitting)

The 0.3.15 release sitting (tools/release/sitting.sh --binary portable on the sm120a tarball built at 363103b), one
fresh server per row, every lever unset, --ctx-size unset, 128 tokens generated per request,
temperature 0, two rounds, on our workstation (RTX 5090 32 GB at 600 W, Threadripper PRO 5975WX, 8-channel DDR4-3200,
251 GiB of RAM, the files on a PCIe 4 NVMe).

Model Where it runs Prompt, 512 tokens Prompt, 4,096 tokens Decode at depth 512 Decode at depth 4,096
DeepSeek-V4.1-Flash bq3km + r8 card + CPU 247.95 395.22 30.28 30.00
Qwen3.8-Flash-Next UD-Q4_K_XL card + CPU 774.60 1,318.58 115.33 112.52
Hy4-flash Q4_K_M card + CPU 429.41 451.18 48.67 41.38
GLM-5.3-Flash UD-Q4_K_XL card + CPU 185.99 207.02 29.45 26.72
Nemotron 3.5 Bolt 24GB the whole model on the card 4,924.73 7,133.50 182.55 181.20

Each cell is the mean of its warm rows; a row whose file was read from disk during the run (another model's load had
evicted it from the page cache) is left out. Qwen3.8's decode is with the file's MTP draft, on by default
(BLOOMERY_DRAFT=off serves without it); its prompt at 512 read 668.28 and 880.91 in the two rounds. Every Hy4-flash
row of the five-cell sitting read cold, so its cell was re-run alone on the same binary with its file in the page cache;
its row is that run's warm round. The first-request checks passed on every cell: a short and a 5,850-token prompt, and
a replay of the first request gave the same reply.

DGX Spark (GB10)

The linux-aarch64-cuda-sm121a archive's bloomery-serve, on an NVIDIA DGX Spark (GB10, 128 GB unified memory, driver
580.178.04), the release sitting with every lever unset, --ctx-size unset, 128 tokens generated, temperature 0. GB10's
card and host share one memory, so the plan holds every routed expert in it and no host tier runs.

Model Prompt, 512 tokens Prompt, 4,096 tokens Decode at depth 512 Decode at depth 4,096
Qwen3.8-Flash-Next FP4-Local 1,171.94 2,616.36 45.34 46.33
Qwen3.8-Flash-Next UD-Q4_K_XL 861.95 1,761.89 29.62 28.78
Hy4-flash Q4_K_M 272.33 245.78 17.70 17.63

Qwen3.8 decodes with its MTP draft. Its rows are the sitting's quieter round; the other read the FP4 file's prompt at
839.91 and 1,404.15 while the machine reclaimed page cache, and its decode within 4 %. Hy4-flash's rows are its warm
round (the first read cold: 68.20 and 96.03). Hy4-flash decodes below what GB10's memory bandwidth allows; that gap is
open.

Serving

  • With --ctx-size unset, a Qwen3.8 or Kimi K3.1 server whose default context's K/V pages do not fit the host
    room steps the context down instead of refusing; a set context that does not fit is refused as "does not fit" (exit 80)
    with the bytes it needs.
  • The host's K/V cache past its floor grows by giving back host experts in the plan's paging order (Qwen3.8,
    Kimi K3.1), so a default start pages only for the context it holds; a room that cannot hold the floor is refused by
    name.
  • The tokenizer's end-of-sequence token is always a stop token, so a folder with no generation_config.json no longer
    writes <|im_end|> as text. A 501 names only flags the running server takes (@yulmucoffee, #865).
  • A DeepSeek-V4.1 server picks its expert residency and checks it at the load against one reading of the host's
    free memory, so a default start near the host's room no longer refuses a pick the planner admitted.
  • An expert stream's ring takes only the bytes its plan counts (none when the plan holds no ring), so an image
    request on a tight card no longer passes the plan at its first prompt (Hy4-flash, Mistral Large 4, MiniMax M3).
  • A card another process holds is refused with each holder's process name and whether it is still alive.
  • The CUDA driver's launch queue is set to 2× when unset, so a prompt batch's host thread does not wait on a full
    queue.

Mac

  • bloomery-serve-metal drafts with a model's MTP layer (--draft mtp --mtp SIDECAR) and keeps the draft across a
    context cut.
  • A hidden size that is not a multiple of 256 (Qwen2.5-0.5B's 896) now writes its last embedding values in every 32- or
    64-value block format, so such a model no longer turns to noise after its first token (@yulmucoffee, #869).
  • An mlx-community folder that bundles an MTP head (Qwen3.5-0.8B-OptiQ-4bit's mtp_file and its six sibling keys)
    opens; the keys are read as ignored, each with its reason (#869).

Quantize

  • bloomery-quantize writes Q3_K (step for step with ggml's reference), has a DeepSeek-V4.1 Q3_K_M rule set, and
    --fit picks a per-unit type mix for a byte budget from a measured sensitivity table.

Verification

  • Every model family is checked on a fixture cut from its file (a few layers, real tensors) instead of the whole
    file, and the kernels on unit tests; only the five headline files above stay on the workstation. The V4.1
    comparison with ik_llama.cpp runs on its fixture sets (ik cannot read the bq3km file's engram keys).

Known limits

  • Hy4-flash takes reasoning_effort: "none" to turn thinking off; chat_template_kwargs: {"enable_thinking": false}
    is not read for it in 0.3.15 (its template has no such switch).
  • With --ctx-size unset, Hy4-flash and DeepSeek-V4.1-Flash plan 1,048,576 positions, and the K/V they reserve on the
    card leaves fewer routed experts there; a smaller --ctx-size keeps more.
  • The README's "Known limits (0.3.15)" hold.

Thank you. @yulmucoffee ran small mlx-community folders and OpenAI-compatible clients against
bloomery-serve-metal on an M5 Pro and reported each result with its commands (#865, #869). The stop-token, 501, embedding
and OptiQ fixes above come from those reports.

AI help: this release's code, gates and notes were written with Claude (Claude Code) under the maintainer's review.

Known issue (added after release)

On an RTX 50 series card or a DGX Spark (GB10) with a driver older than CUDA 13.1, such as the R580 branch, some kernels can end with "an illegal memory access was encountered". The cause is a bug in the driver's PTX compiler. Use a driver of CUDA 13.1 or later; the next release fixes it on any driver. Details: #1203.

bloomery 0.3.14

Choose a tag to compare

@midagedev midagedev released this 13 Nov 15:09

Re-cut 2026-11-14. The archives below replace the first 0.3.14 upload. They add K-EXAONE-2.0's MTP draft (BLOOMERY_DRAFT=mtp, opt-in), and every number in these notes comes from a new release sitting on the re-cut binary. If you installed 0.3.14 before the re-cut, reinstall to get the draft.

bloomery 0.3.14 serves LG AI Research's K-EXAONE-2.0-750B-A37B on one workstation, from a quantization our own tools
wrote with an importance matrix the engine collected itself. It also carries @yulmucoffee's prompt speed-up for Macs
with matrix units, and a K/V cache that starts small and grows. Numbers below are each PR author's own measurement on
the machine named; the EXAONE and V4.1 rows are ours, measured as stated under their table.

At a glance

  • K-EXAONE-2.0-750B-A37B (750B, 37B active) served from one RTX A6000 48 GB and 256 GB of host RAM:
    IQ2_XXS, 280 GB, written by bloomery-quantize
    straight from LG's FP8 checkpoint; decode 9.1–9.3 tok/s, prompt 44–55 tok/s (the release sitting, below). With the
    model's own MTP layer drafting (BLOOMERY_DRAFT=mtp, opt-in) decode is 13.6–13.7 tok/s at a 4,096-token prompt, +39 %.
  • Macs whose GPU has matrix units (M5): prompt +39.8 % ± 3.5 on Qwen3.8-27B 4-bit at P = 512, M5 Pro (@yulmucoffee, #1187).
  • Qwen3.8 serving starts its K/V cache at 8,192 positions and grows it on demand; the card bytes past the floor hold
    experts until the cache needs them.
  • A server's later requests keep their own prompt's expert pick: +10.4 % decode and +18 % prompt on Qwen3.8 at depth
    4,096 (RTX A6000, one lease, 4 rounds; #1190).

K-EXAONE-2.0-750B-A37B

  • The file. midagedev/K-EXAONE-2.0-750B-A37B-GGUF,
    29 shards, 280.15 GB: the routed experts' gate and up at IQ2_XXS (with the importance matrix), their down at Q4_K,
    attention, the dense FFN, the shared experts, the embeddings, the head and the MTP layer at Q8_0. The card on the
    Hub carries the weight errors per type and our benchmark runs against DeepSeek V4.1-Flash.

  • Made by bloomery. bloomery-quantize --hf read the FP8 safetensors folder and wrote the shards in one pass
    (8,296 s, the checkpoint on a hard disk); the IQ2_XXS tensors were quantized on the card. The importance matrix came
    from the engine's own collector (generate_exaone --imatrix) over a bootstrap Q4_K quant: 32 chunks of 2,048 tokens
    of Wikipedia text (Korean, then English).

  • Serving.

    bloomery-serve --model flint -m K-EXAONE-2.0-750B-A37B-IQ2XXS-00001-of-00029.gguf --ctx-size 8192
    

    At --ctx-size 8192 the plan puts the dense trunk and 2,319 of the 19,456 routed experts on a 48 GB card (771 at
    the default context, 262,144, whose K/V takes the rest of the card; decode 9.8 tok/s at ctx 8,192 against 9.1 at the default) and serves the rest from host
    RAM; the load reads about 263 GB through the page cache, so 256 GB of RAM is the floor. One slot. The model thinks
    unless the request sets "chat_template_kwargs": {"enable_thinking": false}.

Card --place Prompt length Prompt tok/s (two rounds) Decode tok/s (two rounds)
RTX A6000 a (unset) 512 44.39 / 50.60 9.13 / 9.06
RTX A6000 a (unset) 4,096 54.67 / 54.85 9.10 / 9.25

The release sitting (tools/release/sitting.sh) on this release's bloomery-serve from the sm86 tarball, under
the timing lease: one fresh server per row with every lever unset and --ctx-size unset (the plan picks 262,144),
128 tokens generated per request, temperature 0, on our workstation (RTX A6000 48 GB, Threadripper PRO 5975WX,
8-channel DDR4-3200, 251 GiB of RAM, the shards on a PCIe 4 NVMe). Three of the four rows are marked [cold] (3,845 to
127,863 major faults a request): the load reads the whole 280 GB through the page cache of a 251 GiB host, so part of
the host's experts is paged in again. The one warm row (50 faults) decodes at the cold rows' rate: the decode is
bound by the host's memory reads, not by the page cache. The first-request checks passed: a short
and a 4,950-token prompt, and a replay of the first request gave the same ids.

  • The MTP draft (opt-in). The file's next-token layer drafts one token a step and the trunk verifies it in a
    two-row pass: BLOOMERY_DRAFT=mtp bloomery-serve --model flint -m … --ctx-size 8192. One slot. Its card bytes come
    from the plan, so the card holds 51 fewer experts (2,268 against 2,319 at ctx 8,192). Same binary, same lease, three
    rounds, ctx 8,192, 128 tokens at temperature 0, the off and mtp arms interleaved:

    Prompt length Decode tok/s, draft off Decode tok/s, BLOOMERY_DRAFT=mtp Paired difference
    512 9.89 / 9.85 / 9.67 11.13 / 12.54 / 10.47 +12.5 / +27.3 / +8.3 %
    4,096 9.83 / 9.84 / 9.78 13.66 / 13.64 / 13.67 +39.0 / +38.6 / +39.8 %

    The draft is kept 78 to 84 % of the time at 4,096. At 512 it is kept more often and the gain still scatters; we have not
    read why yet, so the draft stays off by default in this release. A drafted run on the same card plan as a plain run gives the
    plain run's tokens, bit for bit; at the defaults the draft's reserve moves 51 experts to the host, which can move a
    float sum and so, rarely, a token.

  • Not in this release. A 24 GB card and two cards were not tried.
    With thinking off and a one-letter answer the model leans to the last option on multiple-choice questions it is
    unsure of; llama.cpp on the same file leans the same way.

DeepSeek V4.1-Flash, the release sitting

The same sitting, Q3_K_M at --place bp on RTX A6000 + RTX 3090, ctx unset (the plan picks 1,048,576):

Prompt length Prompt tok/s (two rounds) Decode tok/s (two rounds)
512 168.69 / 227.80 44.05 / 45.66
4,096 428.43 / 427.61 39.82 / 38.85

The first round's 512 row was [cold] (75,841 page faults; its prompt rate is the low one); the others paid 12 to
19,847. 0.3.13's sitting rows on the same file and cards paid 27,000 to 87,000 (all [cold]), so the two releases'
rows were not read under one condition, and we do not claim a speed-up from them. The plan holds 2,599 card experts where 0.3.13's held 2,465.

Faster prompts on M5 Macs (@yulmucoffee, #1187)

The tensor-op GEMMs, the path a GPU with matrix units takes, now read the f16 operand's rows as half rows cast once a
pass, as the simdgroup GEMMs do. The output bits are unchanged. On an Apple M5 Pro (16-core GPU, macOS 26.5.1), their
measurement, five alternating rounds:

Model, P main before (004a23b) tok/s with #1187 tok/s Difference
Qwen3.8-27B 4-bit prompt, 512 274.6 383.9 +39.8 % ± 3.5
Qwen3-4B 4-bit prompt, 512 1,738.9 2,462.9 +41.6 % ± 3.7
Qwen3-4B 4-bit prompt, 4,096 1,357.4 1,751.3 +29.0 % ± 2.2
decode (both models) −0.3 % ± 0.9 to −0.0 % ± 0.4

@yulmucoffee also fixed the Metal gate's shader-validation reader for macOS 26.5's report form (#1180). Thank you.

A K/V cache that grows

  • Qwen3.8 serving starts its K/V at a floor of 8,192 positions and grows it as a sequence gets longer; the plan gives
    the card bytes past the floor to experts (#1190). Past the floor, a sequence takes card bytes back from the coldest
    experts (#1186), and BLOOMERY_KV_HOST=spill|all puts K/V pages in host memory behind the same pointer (#1188,
    opt-in). BLOOMERY_KV_FLOOR=off reserves the whole context up front, as before. The floor, the growth and the host
    pages have one common owner (runtime::stores, gpu::room::kv); V4.1 and K3.1 follow.
  • A fit past the card's memory is a named error (NoRoom: the store, the positions, the bytes asked, the free bytes),
    not a raw driver OOM (#1185).
  • Every load now holds what it allocates to what it planned on its card: the pass heads, the captured graphs, the ring
    floor and the prompt batch parts are planned terms (#1191). A two-slot or drafted load no longer fails its first
    prompt past the card plan.

Fixes and other changes

  • bloomery-serve-ds41 steps the context down when the host, not the card, is short (the K/V spill or the NVMe tier's
    floor), as it does for a card short, and names why it reads the source file when the r8 sidecar cannot be used (#1195
    and the commits after it).
  • A server's later requests keep their own prompt's expert pick (#1190, above).
  • Under BLOOMERY_EXPERT_RANK the NVMe expert tier pages each layer's coldest host experts, not the highest ids
    (#1176). An expert-tier node is skipped on every layer that routes none of its experts (#1177).
  • Kimi K3.1 Pro past 2,048 positions (#1183, #1184) was already in 0.3.13's re-cut archives.
  • Nemotron-H-MoE runs the hybrid trunk's walk in crates/chain (#1192, #1193; no behaviour change).
  • Verification: a build lane, narrower keys, a release blocking set and a nightly real-tier run (#1196).

Archives

All four built at 6fd668e0d3b2. The sitting's binary is the sm86 tarball's bloomery-serve (sha256 5877b7ff…).

Archive For sha256
bloomery-0.3.14-linux-x86_64-cuda-sm86.tar.gz Linux x86-64, NVIDIA (Ampere and later; the default) 367d5987…
bloomery-0.3.14-linux-x86_64-cuda-sm120a.tar.gz Linux x86-64, RTX 50 series and RTX PRO Blackwell (compute capability 12.0) a15450f7…
bloomery-0.3.14-linux-aarch64-cuda-sm121a.tar.gz DGX Spark and other GB10 machines e6885ddd…
bloomery-0.3.14-macos-arm64-metal.tar.gz Apple Silicon, macOS 26.2 or newer (Developer ID signed and notarized) 4e71aca6…

Install: curl -fsSL https://raw.githubusercontent.com/midagedev/bloomery/main/tools/release/install.sh | sh, or
brew install midagedev/tap/bloomery. The full sums are in each archive's .sha256.

bloomery 0.3.13

Choose a tag to compare

@midagedev midagedev released this 08 Nov 03:37

Re-cut on 2026-11-08 under the same version. The Linux archives (sm86, sm120a, GB10) were rebuilt at
79893871104b (v0.3.13's first commit plus K3.1's sparse attention and prompt passes; the tag, 66b6a64b8, adds
docs only). Kimi K3.1 Pro now runs past
2,048 positions: past the lightning indexer's top-k the latent layers attend the rows the indexer picks, in the decode
step and in the prompt passes, and the seat runs a prompt as placed passes. The macOS archive is the first build's
(no Metal change). If you downloaded 0.3.13 before this, the sha256 of the Linux archives changed; re-download.

bloomery 0.3.13 serves Kimi K3.1 Pro (1T parameters) from a quantization our own tools wrote, runs DeepSeek V4.1-Flash
faster with a DGX Spark as the expert tier over plain TCP, and carries @juliankang4's tensor-parallel work on the
original V4.1 folder. Numbers below are each PR author's own measurement on the card named; the Kimi rows are ours,
measured as stated under their table.

At a glance

  • Kimi K3.1 Pro (1T) served from Kimi-K3.1-Pro-IQ1_S, 580 GB written by bloomery-quantize, past 2,048 positions
    (its sparse attention); prompt 12.5 tok/s as passes, decode 2.94 (4.99 / 3.80 under --prefill steps) on RTX A6000
    • RTX 3090 with the set paged from two NVMe drives.
  • Two NVMe drives, one sidecar file: decode +32 % (V4.1-Flash), +40 % (Mistral Large 4), +49 % (GLM-5.3-Flash) on the
    same binary.
  • DeepSeek V4.1-Flash with a DGX Spark as the expert tier over plain TCP: decode 19.4–19.6 → 48.9 tok/s, prompt 29 → 210.5.
  • Tensor-parallel V4.1 on the original folder, the Qwen3.8 MXFP8 autotune and the GDN precision fix (@juliankang4);
    Metal: the Qwen3.8 MTP sidecar and lookup decoding.

Kimi K3.1 Pro, quantized by bloomery

  • Kimi-K3.1-Pro-IQ1_S (580 GB, 31 shards) was written by bloomery-quantize (crates/quantize): the routed
    experts at IQ1_S on the card, byte-identical to ggml's quantizer on the same input; the dense trunk at Q4_K to Q8_0
    on the host, byte-identical to llama-quantize's plan and writer. The checkpoint was read by our prepare
    (crates/model-hf) from Moonshot's MXFP4 safetensors. The importance matrix still comes from llama-imatrix, over
    a chat corpus K3.1 wrote (27 chunks of 8,192 tokens); the engine's own collector is the next release's.
  • The set's chat template is the one from unsloth's Kimi-K3 GGUF (the K3.1 checkpoint ships none in its files; its
    encoder is Python). The reply's sections are split as the template spells them: the think span goes to
    reasoning_content and the response section's text to content, its markup in neither (reasoning_format
    and thinking behave as for the other seats).
  • Quality against the released model (OpenRouter's Kimi K3.1 Pro, top-20 logprobs), 150 prompts over English, Korean
    and code, 35,226 positions, teacher forcing through generate_kimi_k3 --score at --place bp:
Set Top-1 agreement ΔNLL, nats KL to the teacher's top-20
English 0.840 ± 0.018 0.289 ± 0.037 0.105 ± 0.017
Korean 0.877 ± 0.009 0.218 ± 0.022 0.082 ± 0.009
Code 0.913 ± 0.011 0.133 ± 0.018 0.052 ± 0.006
All 0.877 ± 0.009 0.213 ± 0.018 0.080 ± 0.007
  • Serving: bloomery-serve --model kimik3 --place bp --ctx-size 2048 (and --ctx-size 8192 for the 4,096-id row) on RTX A6000 + RTX 3090 (the dense trunk and the
    hottest experts on the cards, the host's share of the experts in RAM, the rest paged from NVMe), one cold request of
    512 ids after a prompt of 512 ids (temperature 0, the rest of the sampling at its defaults), the release tarball's own
    bloomery-serve. Two things are set beside the defaults: BLOOMERY_HOST_ROOM=232G (the plan reads the live host
    room, and without the pin two loads of the same set are not one plan), and the set sits on the box's two NVMe drives,
    a byte-identical copy of the shards on the second drive named by a Kimi-K3.1-Pro-IQ1_S.shard-dirs sidecar beside the
    first (serving.md 5.4): the NVMe tier's reader then reads each expert's parts from the drive its id picks, so one
    layer's misses land on both drives at once. The set is larger than the host, so every request pages experts from the
    drives. The seat runs a prompt as placed passes by default; under --prefill steps it steps each id, as the first
    build of this tag did. The pass's plan keeps fewer experts in the NVMe arena (22.6 GB against 228.8 GB), so a step
    decodes slower: steps is the faster pick when the reply is longer than about 1.3 times the prompt.
Cards --place Drives D Decode tok/s Prompt tok/s
RTX A6000 + RTX 3090 bp, passes (default) two (sidecar) 512 2.94 12.48
RTX A6000 + RTX 3090 bp, --prefill steps two (sidecar) 512 4.99 3.80
RTX A6000 + RTX 3090 bp, passes, --ctx-size 8192, 128 generated two (sidecar) 4,096 2.33 12.12
RTX A6000 + RTX 3090 bp (the first build, stepped) two (sidecar) 512 4.94 3.85

Against this release's own tree before the two host levers landed (the same request with 1,024 generated ids, one
drive, no sidecar) the decode rate was 3.80 and the prompt rate 2.57: the step load now prepares its union slabs once (the hits are computed
while the misses fill) and the reads split over two drives. With one drive and no sidecar the release binary reads the
shards where they are. Earlier in this release's tree (its pre-release binary, BLOOMERY_HOST_ROOM=252G, one drive,
two rounds, 128 generated ids) the same cards read 3.04 / 3.05 at D = 512 and 2.27 / 2.34 at D = 1,536, and with a
DGX Spark as the expert tier node over 10 GbE TCP in place of the RTX 3090 (BLOOMERY_TIER_NODES=<spark>:9000,
BLOOMERY_TIER_LINK=tcp, tier_server from the same tree on the Spark, BLOOMERY_CARD_BUDGET=100G) 4.00 / 4.05 at
D = 512 and 3.17 / 3.23 at D = 1,536; those rows are the tree's, not the tarball's, and are not re-measured here.

The two-drive pick is not K3.1's alone. The same binary, the same set with and without its sidecar, one cold request
of 512 ids then 128 generated, three rounds each with the order rotated, the host room pinned so the plan pages
through the tier's arena (docs/cards/mirror-ab-v41.card, -ml4, -glm), RTX A6000 + RTX 3090:

Model Room --place Decode tok/s, one drive → two Prompt tok/s, one drive → two
DeepSeek V4.1-Flash Q3_K_M 80G bp 16.9 → 22.4 (+32 %) 26.1 → 40.5 (+55 %)
Mistral Large 4 UD-IQ1_S 80G a 3.02 → 4.23 (+40 %) 13.5 → 21.5 (+59 %)
GLM-5.3-Flash UD-Q4_K_XL 48G bp 5.51 → 8.22 (+49 %) 30.3 → 54.0 (+78 %)

One drive read at 4.2–4.7 GB/s over these requests, two at 5.9–7.2 GB/s: the second drive adds its rate, and the
first's queue is no longer the wall. The sidecar does nothing when the plan pages through the file mapping instead of
the arena (a room that moves under half the host leg's bytes prints arena=0: V4.1 at 128G, GLM at 80G), so these
rooms are the ones where the plan builds its default arena; a plan that pages little reads near 0 by construction.

  • The K3.1 context runs past 2,048 positions a slot: past the lightning indexer's top-k (2,048) each latent layer
    attends the rows the indexer picks, in the step and in each pass row (every pass row the step's bits,
    gate-gpu-kimik3-dsa and gate-gpu-kimik3-place). --place bp plans up to 262,144 positions on these cards; contexts
    past 8,192 were planned, not timed. Kimi K3's UD-IQ1_S (unsloth, 594 GB) does not load at this tag: its dense trunk is 51.4 GB, past
    one 48 GB card; the seat and its gates hold the architecture on a fixture cut from that file.
  • Tooling: bloomery-quantize --hf DIR reads an HF checkpoint folder directly, with no intermediate GGUF
    (gate-quantize-hf: header and sha256 per shard equal to the two-step path on a cut of the real folder);
    tools/ref/k31-quant.sh is the whole pipeline (prepare, imatrix, quantize, splice, upload);
    tools/ref/k31-eval.py the quality check above.

DeepSeek V4.1-Flash with a DGX Spark as the expert tier

A DGX Spark over a 10 GbE TCP link (BLOOMERY_TIER_NODES) holds part of the routed experts beside the box's cards and
host; ours, on the box (RTX A6000 stage card, 256 GB host) with one Spark, generate_ds41, prose prompt of 512 ids,
depth 512, n = 96 (#1173, #1175):

Host room Tier Decode tok/s Prompt tok/s
128 GB none 19.4–19.6 29
128 GB one Spark, id order 34.7–35.0 104–108
128 GB one Spark, BLOOMERY_EXPERT_RANK 48.9 210.5
  • The node computes its own share of a prompt batch (#1173), so prefill with a node is 2× what it was.
  • BLOOMERY_EXPERT_RANK=<router-rank file> (#1175, tools/ref/router-rank.py rank): the hottest experts of each
    layer on the card, the coldest on the node, the middle on the host. The rank above was learned on router sets that
    include the measured corpus; the cross-corpus number is still owed. Opt-in: BLOOMERY_PREFILL_CUT (#1173).
  • Engram: V4.1-Flash GGUFs in upstream llama.cpp's concatenated table layout (unsloth, bartowski, …) open beside the
    per-site one; gguf-inventory --engram names a file's (#1174).

Tensor-parallel V4.1 on the original folder (@juliankang4)

  • generate_ds41 --place tp runs one rank of a tensor-parallel greedy generation of the original-format DeepSeek
    V4.1 checkpoint folder, one process per rank over the fabric (#1160, #1170), checked at one, two and four ranks.
  • The Qwen3.8 load picks the fastest way to run the MXFP8 gemv at four to eight columns on the card in use and keeps
    the pick in the cost store; --autotune off keeps the fixed rule (#1161, #1164).
  • A routed MXFP4 down off the 256-value super-block reads...
Read more

bloomery 0.3.12

Choose a tag to compare

@midagedev midagedev released this 03 Nov 04:53

bloomery 0.3.12 makes long prompts much faster on the cards our contributors run, and serves Mistral Large 4
(1T parameters, 52B active) on one 24 GB card. Numbers below are each PR author's own measurement on the card named;
the Mistral Large 4 rows are ours, measured as stated under its table.

Faster prompts and steadier serving (@juliankang4)

Change Card Before → after
Qwen3.6-35B-A3B + MTP, prompt of 4,096 ids, prefill (#1073) RTX 5090 2,071.6 → 8,747.2 tok/s; first token 1,979 → 470 ms
Qwen3.6-35B-A3B Q4_K_M, prompt of 4,096 ids, prefill (#1127) RTX 5090 14,441.9 → 18,712.5 tok/s
Qwen3.8 FP4-Local + MTP, second request on a shared 9,000-id prefix, prompt time (#1012) DGX Spark 4,642 → 1,003 ms
Qwen3.8, --parallel 2: the longest stall of a decoding stream while a 16,385-id prompt arrives (#1069) DGX Spark 6,308.9 → 1,719.7 ms
--hf download of a 4.48 GB GGUF (#1037: 16 resumable, verified connections) RTX 5090 host 36.1 → 20.3 s

Qwen3.8 also gained --parallel auto with --slot-ctx (#1011, #1123), slot save and restore (#1027), KV memory that grows with the sequence
(#993), and FP4-Local and NVFP4 loads split across card, host and drive (#1034, #1036, #1103).

Mistral Large 4

  • Both files: unsloth's UD-IQ1_S and Mix-256G. --place a runs UD-IQ1_S on one RTX 3090: the dense and attention
    weights on the card, the routed experts streamed from host memory.
  • Batched prefill, the expert stream beside a tier card, and vision (Pixtral).
  • The DSpark draft (BLOOMERY_DRAFT=dspark, opt-in): its first draft is accepted 74.7 % of the time on our
    reference prompts, measured against upstream's draft on the same file.

UD-IQ1_S, the release's own bloomery-serve at the serving defaults (no levers, --ctx-size unset), one request
after a prompt of D ids, from the release sitting (on the binary of 2cd109a, whose source the tag's binary
shares; the tag adds the README status only):

Cards --place D Decode tok/s Prompt tok/s
RTX 3090 a 4,096 10.85 36.01
RTX A6000 + RTX 3090 bp 512 11.03 34.82
RTX A6000 + RTX 3090 bp 4,096 11.48 40.11

The 3090's D = 512 row read the experts cold from the drive (11,205 major faults) and is left out.

Known issues

  • GLM-5.3 at --place bp: the same short request sent a second time, after a long one, can answer different text
    (the release check that replays it was red in 0.3.11 too). Decode and prompt speed are unaffected.
  • DeepSeek V4.1 on one 24 GB card, from a file that has an r8 sidecar beside it: the server refuses at load by name
    (the NVMe tier does not fill from the sidecar yet). BLOOMERY_R8=off reads the source file with the same bits. A
    plain GGUF and two cards (--place bp) are not affected.
  • The GB10 archive (linux-aarch64-cuda-sm121a) follows this release. Until it is attached, install.sh on a DGX
    Spark stops at the download by name; install.sh --version v0.3.11 installs the last one.

Also in this release

  • Server: per-key scopes and rate limits (#1003), Ollama-style /api/tags, /api/show and /v1/models/{m} (#994),
    gzip and deflate request bodies (#1049), reasoning_loop (#1009), more decode and draft detail on /metrics (#1007).
  • Apple Silicon: Qwen3.8-27B decodes 20 % faster on an M1 Pro (#1047) and long contexts decode faster (#1060); MLX
    8-bit, DWQ and F16-scale folders (#1057), Qwen2, Qwen2.5-Coder and tied-head folders (#1131), Llama 3 tokenizers (#1052).
  • @wsj040303's first contribution makes the q3pp profiling plans read their batch limits from the model header (#1072). Thank you!

Thanks

To @juliankang4 for the prompt speed work on the RTX 5090 and DGX Spark, Qwen3.8's serving slots, and the FP4 loads,
and to @wsj040303 for a first contribution.

Written with Claude Code (Claude Opus 5.5); reviewed by the maintainer.

bloomery 0.3.11

Choose a tag to compare

@midagedev midagedev released this 29 Oct 21:30

bloomery 0.3.11 serves Qwen3.8-27B from NVIDIA's NVFP4 checkpoint folder on one 24 GB card, and lets an agent start
the server by model name with machine-readable output and named exit codes. The card upload now reads ahead of the
copy, so a DeepSeek-V4.1-Flash cold start uploads its weights 30.6 % faster. On a Mac, Metal decodes LFM3-1.7B about
1.5× faster than 0.3.10. All CUDA numbers: the RTX 3090 alone (at its 250 W cap), or RTX A6000 + RTX 3090,
bloomery-serve from this release's first sm86 tarball (f1c391e; the re-tag below changed only how a headless
qwen35 file starts) at the serving defaults (--place unset, every lever unset,
--ctx-size unset), tools/ref/depth-serve.sh, one round (round 2 did not run, below), a fresh server a row. pp is the prompt rate at P
ids; decode is tg tok/s over 128 generated tokens after that prompt.

RTX 3090 alone (250 W cap) ctx pp512 pp4096 decode @ 512 decode @ 4096
Qwen3.6-35B-A3B (qwen35moe) 262,144 2476.43 3024.23 157.70 152.53
Qwen3.8-Flash-Next 262,144 575.75 (1378.01) 77.74 (60.97)
GLM-5.3-Flash 16,384 161.73 195.41 28.29 24.40
RTX A6000 + RTX 3090, bp ctx pp512 pp4096 decode @ 512 decode @ 4096
MiniMax-M3.1-Flash NVFP4 folder 261,120 109.08 112.16 14.63 14.26
DeepSeek-V4.1-Flash 1,048,576 (104.40) (308.97) (41.20) (35.86)

tok/s, one row each, at the context the unset rule picked (the ctx column). A value in parentheses is out of a mean:
the V4.1-Flash rows read the file cold (27,147 and 56,701 major faults), and the Qwen3.8-Flash-Next 4096 row ran while
the previous server was still exiting. These rows are not comparable with 0.3.10's, which ran at --ctx-size 4300:
MiniMax-M3.1-Flash at bp decodes 14.6 tok/s at its unset context of 261,120 against 21.1 at 4300 in 0.3.10, because
the larger cache leaves one routed expert on the cards (below).

Qwen3.8-27B, RTX 3090 alone, no flags: bloomery-serve -m <NVFP4 folder> loads in 5.2 s at a context of 36,864,
and -m Qwen3.8-27B-Q4_K_M.gguf in 6.2 s at 103,424. Both pass the release checks (a short prompt, a 5,850-token
prompt, and the short one replayed with the same text). They have no timed row in this release.

Highlights from our contributors

  • @juliankang4 (37 PRs since 0.3.10):
    • Serving: /v1/responses keeps its responses (store, previous_response_id, background) in a bounded store
      (#968); structured output takes json_object, arrays, anyOf, $ref, integers and numbers, and samples inside
      the mask (#973); n choices on /v1/chat/completions and /v1/completions (#959); logit_bias read on plain
      steps and MTP passes alike (#966); a sampled request drafts beside other busy slots (#964); d opens a live view
      of the slots, placement and requests (#939); one settings page for every seat's flags (#949).
    • --hf reads a repo's architecture before the fetch and picks the seats that check the arguments (#958), and takes
      a revision, <repo>@<rev>[:<quant>] (#963). A seat's flags and levers are checked before the model is fetched
      (#912).
    • Qwen3.8: a q8_0 KV cache, the default on a checkpoint folder (#956); a selecting layer keeps its raw indexer keys
      in a ring of eleven rows, 768 MiB less card memory per slot at a 262,144 context with identical output (#969); the
      hostless card sum fused with the shared add (#974); parts loads that keep the drive reading (#913, #919);
      -ub/--ubatch-size (#881); the verify path's E4M3 and MXFP8 staging (#877, #884, #920).
    • An unset context takes the largest step the model's room holds (#906).
    • DGX Spark: a GB10 installs a linux-aarch64-cuda-sm121a archive or the arm64 image (#878, #882, #883, #892). @juliankang4
      built this release's GB10 archive on a Spark.

Install

Linux x86-64 with AVX2 (glibc 2.34+), an NVIDIA GPU of compute capability 8.6+ and driver R580 or newer (CUDA 13).
On Windows, run inside WSL2. Docker and Homebrew as in the README. An agent asks what fits with bloomery-serve --recommend --json
(docs/agents.md).

curl -fsSL https://raw.githubusercontent.com/midagedev/bloomery/main/tools/release/install.sh | sh
~/.local/bin/bloomery-serve --hf unsloth/Qwen3-30B-A3B-Instruct-2507-GGUF:Q4_K_M

RTX 50 series: this is the first release with bloomery-0.3.11-linux-x86_64-cuda-sm120a.tar.gz. It carries
sm_120a PTX (native FP4 and MXFP8 kernels); the driver compiles it on the card's first start (#931). Our cards are
sm_86, so this archive is checked by its build and its gates' scans, not by a run on an RTX 50 card.

Apple Silicon: bloomery-0.3.11-macos-arm64-metal.tar.gz, signed with a Developer ID and notarized. Metal opens
MLX folders as downloaded (#880).

New

  • Qwen3.8-27B from its NVFP4 checkpoint folder (#960, #941): bloomery-serve -m <folder> serves ModelOpt's dense
    NVFP4 folder with no conversion, on one 24 GB card.
  • Agents start the server (#961): --model NAME picks a catalogue model, --recommend and --dry-run print the
    pick, --json and NDJSON events report the start, and every refusal ends with a named exit code
    (docs/agents.md).
  • Nemotron-3.5 NVFP4 checkpoint folders (#921, #928, #933, #940): ModelOpt's Lightning-30B-A3B folder opens
    placed. Its gates ran; this release's sitting did not serve it.
  • Metal: LFM3-1.7B from its MLX folder, verified against mlx-vlm, text only (#943, #932); dense Qwen3.8-27B MLX,
    verified on its 4-layer cut against mlx-lm within 0.01 (#918); Qwen3-Coder-30B-A3B MLX with XML tool calls,
    verified on the 30B-A3B fixture split only (#886, #887).
  • An x86-64 sm_120a archive for RTX 50 cards (#931), above.

Changed

  • Faster model load (#971): the card upload reads the next segments ahead of the copy, and block formats split
    into their planes straight into the upload slot. DeepSeek-V4.1-Flash, plan (a), RTX A6000, cold page cache, 3
    rounds: upload 13.42 → 9.31 s (−30.6 % ± 1.4), whole load 48.90 → 43.07 s (−11.9 % ± 8.7); a warm restart's upload
    10.88 → 8.09 s (−25.7 % ± 6.8).
  • Metal is faster in the common owners (#972). LFM3-1.7B MLX 4-bit, M1 Pro 32 GB, interleaved sittings: decode
    92.6 → ~140 tok/s; pp512 1059 → 1225 and pp4096 957 → 1138 tok/s. Model open 0.46 → 0.17 s.
  • Code quality: placement.rs split into seven modules (#896); Google's Rust style guide as R30–R42 (#910).

Fixed

  • The qwen3 seat holds its stage card before it reads the room, so its plan is the CLI's split (#952).
  • A unified card's refusal names the host room, and a host-room refusal names the reading that gave it (#944, #885).
  • An NVFP4 matrix read whole bounds its read by what the read holds (#923).
  • The qwen4exp MTP load refuses a self-contained draft by its own matrices before reading its layer (#962).
  • Metal: a stream with a residency set drains its queue before the set is torn down (#916).
  • Every seat binary answers --records-schema again (it refused the flag after #961).
  • A dense qwen35 file or checkpoint folder with no head (Qwen3.8-27B) started with no --model was refused as a
    Clef backbone; the generative seat now serves it and says on stderr what a decision model needs (--head, or the
    --hf repo that names its head). A qwen35 file no seat serves is still refused by name.

Off on this release

  • MiniMax-M3.1-Flash NVFP4 at bp with --ctx-size unset: the context takes 261,120 positions and leaves one routed
    expert on the cards (residency off, no room), so decode is 14.6 tok/s.
  • A greedy short request replayed after a long one answered with a few words changed on DeepSeek-V4.1-Flash at bp
    ("gentle" became "light") and on GLM-5.3-Flash at a. Not yet diagnosed; the other models replayed the same text.
  • No timed rows this release for DeepSeek-V4.1-Flash on the RTX 3090 alone, GLM-5.3-Flash at bp, and
    Nanbeige4.3-33B: the sitting's runner started those cells while the previous server still held the port or the
    card, or could not read the seat's plan record. The servers themselves loaded; 0.3.10's rows stand for them.
  • Metal: GGUF on Metal runs unverified; LFM3 is text only.
  • Older models stay supported, but this release was verified on each family's newest model only.

Checked before the tag

  • 0.3.11 was first tagged at f1c391e and re-tagged the same morning at 580de63. The difference: a dense qwen35
    file or folder with no head now starts with no --model (Fixed, above). Before the re-tag, this archive's binary
    passed the release checks with no flags on the Qwen3.8-27B folder, the Qwen3.8-27B Q4_K_M GGUF and Clef's backbone
    GGUF. Five serve gates the change touches ran green on the fixture tier; the rest of the checks below ran on
    f1c391e.
  • The release gate batch: fixture tier 260 gates green. Real tier 96 items; its reds were stale gates or runs that
    needed a variable: a schema, a scanner, a stage-graph structure clause, a fixture budget, a spill pin, the q8_0
    cache clause of gate-gpu-qwen3-serve and a refusal clause of the MiMo serve gate (each re-derived and fixed), two
    Flint gates re-run with the complete Flint file named, and gate-gpu-p2, which lost its ssh connection after a
    pass. All green on re-run; the last five ran just after the tag on its tree plus the gate fixes, which move no
    shipped binary.
  • The release sitting on this tarball's binary (sha256 3bb2f660…): cells 1 and 8 green, the rest red on the runner
    issues named above; the rows it gave are in the tables.
  • The Qwen3.8-27B NVFP4 folder on the RTX 3090 alone with this binary: the release checks above, all PASS.
  • The macOS archive: signed binaries, build-mac.sh --check, and the e2e ids on the qwen35moe MLX split.

Thanks

To @juliankang4 for the serving API work, Qwen3.8's memory and load work, the DGX Spark install, and the MLX-first
direction on the Mac. No is...

Read more

bloomery 0.3.10

Choose a tag to compare

@midagedev midagedev released this 27 Oct 13:04

bloomery 0.3.10 opens the hard-quantized GGUFs people actually download. MiniMax-M3.1-Flash now serves from Unsloth's
2-bit GGUF as well as from its NVFP4 folder; GLM-5.3-Flash, Qwen3.8-Flash-Next and DeepSeek-V4.1-Flash open their
low-bit sets with no re-encode; Nanbeige4.3-33B runs whole on one 24 GB card. All numbers: RTX A6000 + RTX 3090, or the RTX 3090 alone (the
3090 at its 250 W cap), bloomery-serve at the serving defaults (--place unset, every lever unset,
--ctx-size 4300), tools/ref/depth-serve.sh, 2 rounds, a fresh server each round. pp is the prompt rate at P
ids; decode is tg tok/s over 128 generated tokens after that prompt.

RTX A6000 + RTX 3090 pp512 pp4096 decode @ 512 decode @ 4096
MiniMax-M3.1-Flash UD-Q2_K_XL (GGUF) 160.16 165.92 28.63 29.41
MiniMax-M3.1-Flash NVFP4 folder 129.08 131.56 21.12 19.53
RTX 3090 alone (250 W cap) pp512 pp4096 decode @ 512 decode @ 4096
MiniMax-M3.1-Flash UD-Q2_K_XL (GGUF), a 89.16 96.75 21.36 21.01
Nanbeige4.3-33B Q4_K_M 745.46 693.76 24.22 23.23

tok/s, means of 2 rounds (every row's sd at most 5.6 %, but the 3090-alone M3.1-Flash pp512 at 16.9 %: its first
round read the file cold, 34,323 major faults); the depth is the prompt length the decode follows. On the 3090 alone
the M3.1-Flash GGUF plans a with no flag: most routed experts run on the host.

Recorded run at these defaults: MiniMax-M3.1-Flash UD-Q2_K_XL.

Highlights from our contributors

  • Qwen3.8 on a DGX Spark (@juliankang4, 21 PRs):
    • FP4-Local folders start in 78.0 s instead of 225.3 s (#787).
    • NVFP4 prompts are 14.1 % faster on tensor cores (#812).
    • Code decode with the MTP draft is 4.2 % faster (#808).
    • Smaller prefill and TTFT gains come from #817, #822, #831 and #847.
    • His Spark comparison of the two checkpoints (#565): FP4-Local decodes at 30.18 tok/s, NVFP4 at 22.56. The gap is
      the NVFP4 checkpoint's BF16 dense matrices, about 2.9 GB more read per token. Spark work now centres on FP4-Local.
  • Threads on any CPU (@juliankang4, #824, #826): the default pool takes every allowed physical core before an SMT
    sibling, and a mask that splits the L3 groups unevenly still pins each allowed CPU once.
  • Flint and the common tier legs (@Burntgogi, #781, #782, #783, #799): Flint's head-128 ring attention
    and hosted runtime, ordinary IQ4_XS shared sites, mixed-form expert scratch and the six-slot F32 tier handoff.

The DGX Spark numbers are the pull requests' own, measured on the contributor's machine.

Install

Linux x86-64 with AVX2 (glibc 2.34+), an NVIDIA GPU of compute capability 8.6+ and driver R580 or newer (CUDA 13).
On Windows, run inside WSL2. Docker and Homebrew as in the README.

curl -fsSL https://raw.githubusercontent.com/midagedev/bloomery/main/tools/release/install.sh | sh
bloomery-serve -m PATH/MiniMax-M3.1-Flash-UD-Q2_K_XL-00001-of-00004.gguf --port 8080

Apple Silicon: bloomery-0.3.10-macos-arm64-metal.tar.gz, signed and notarized. Qwen3.6-35B-A3B runs end to end
(Q4_K_M GGUF, or an MLX 4-bit folder through prepare). New on Metal:

  • Qwen3-30B-A3B (Q4_K_M) runs, held to the reference sets by its e2e gate (#856).
  • Qwen3.6 UD-Q4_K_XL runs (Q8_0, Q5_K and f32 sites, a shared expert of another type than its stacks) (#872).
  • A file whose shapes the kernels take opens with no registered instance: the open renders the kernels' geometry and
    compiles them, and says no gate checked that shape (#874).

New

  • MiniMax-M3.1-Flash from GGUF (#854).
    • Unsloth's UD-Q2_K_XL (143.9 GB) serves on two cards at the default placement (bp), the routed experts split
      between the cards and the host.
    • UD-IQ2_XXS and UD-IQ1_M plan the same way; this release's pass served UD-Q2_K_XL only.
    • A file without attention.sparse_layers attends sparsely on exactly the layers that carry their indexer tensors,
      the rule of the producer's open llama.cpp PR (ggml-org/llama.cpp#31192).
    • A shared expert with K-quant gate/up over a Q8_0 down (layer 59 in these files) runs on the card.
  • Flint 40B-A2.5B (@Burntgogi, #781, #782, #783, #799): unsloth's UD-Q4_K_XL serves whole on one RTX A6000 at the
    serving defaults: chat, streaming, tool calls and --parallel. Head-128 ring attention and the hosted runtime are
    Burntgogi's. Its greedy text has no CPU or llama.cpp referee yet: the card path's gates and the serving checks hold it.
    Recorded run: Flint UD-Q4_K_XL.
  • Nanbeige4.3-33B (#838): Q4_K_M loads whole on one 24 GB card. bloomery-serve starts it with no flags. A dense
    model's prompt ubatch is sized to the card, and -ub wins.
  • Weight types publishers ship:
    • DeepSeek-V4.1-Flash: ISTA-DASLab's GSQ-RCO 2.00 bpw set opens with no re-encode (#818). IQ1_S, IQ1_M and IQ2_S
      run on the host and the card; IQ2_XS becomes a routed card type.
    • GLM-5.3-Flash: the mixer sites (attention, ssm, indexer, NextN) read K-quant, BF16 and F32 weights (#841). This
      opens Unsloth's low-bit GLM files.
    • GLM-5.3-Flash (#853): the prompt batch projects each mixer site through the GEMM of its weight type.
    • Qwen3.8 (#853): K-quant token embedding, a Q5_K head, and the dense sites by name. This opens the dense
      side of Unsloth's UD-IQ1_S, IQ1_M, Q2_K_XL and IQ3_XXS sets.
    • Nemotron-3.5-Lightning (#857): Q5_0 routed stacks run on the card, so UD-Q4_K_XL holds all 2,944
      experts on the card where the room allows.
  • Saved prompt cache and shared prefix on the MiniMax-M3 and Muse Spark seats (#810, #813).
  • Metal (#805–#850): build-time model instances, picked at open (#836). generate_metal --plan prints every open
    refusal from the header (#806). Qwen3-30B-A3B decode is a second instance (#849).

Changed

  • Toolchain: cuda-oxide is NVIDIA/cuda-rust 9df9e7ce directly, on stable Rust 1.99.1, with no fork (#823). The PTX
    of 20 entries moved and is re-pinned on both card classes (#839, #845).

Fixed

  • Nemotron-3.5-Lightning's two-card placement counted the next-token block as a layer (53 vs 52) (#843).
  • The feature-combination check refused a valid multi-package call; the reference-set check demanded sets that only a
    GB10 machine holds (#835).
  • MiniMax-M3.1-Flash GGUF under --place a: a request after the first failed once host experts streamed into the
    card's ring, whose pass ran the 32-value GEMM only. The ring pass now runs the grouped GEMM the file's i-quant stacks
    read (#876). On the RTX A6000, a short request then a 4K-token one: prompt 126.5 tok/s with the stream, 97.2 with
    BLOOMERY_XSTREAM=off; decode 25.6 and 25.2.

Off on this release

  • Flint has no CPU or llama.cpp referee for its greedy text yet; the card path's gates and the serving checks hold it.
  • Older models stay supported, but this release was verified on each family's newest model only: DeepSeek-V4-Flash's
    gates did not run (V4.1-Flash's did).

Checked before the tag

  • The release gate batch: fixture tier 231 gates green; real tier 96, every red resolved (two stale gemma gates fixed,
    two Flint gates re-run with the model named, one rerun under load, one DeepSeek-V4 gate deferred as above).
  • The fix after it (#876): its owning gates at the fixture tier, and the pass below on the rebuilt binary.
  • The user-facing pass, this tarball's bloomery-serve at the serving defaults, --ctx-size 16384, a short and a
    4K-token prompt:
model, placement decode, short prompt, 4K decode, 4K
MiniMax-M3.1-Flash UD-Q2_K_XL, bp 22.46 163.2 26.66
MiniMax-M3.1-Flash UD-Q2_K_XL, a 21.72 125.1 26.25
MiniMax-M3.1-Flash NVFP4 folder, bp 15.88 118.8 18.88
Flint UD-Q4_K_XL, a 85.68 801.8 75.99
Nanbeige4.3-33B Q4_K_M, a 29.58 1085.4 25.31

Thanks

To @Burntgogi for Flint and the common tier legs, and to @juliankang4 for the DGX Spark work and the GB10 scans. No issue was filed by a person since 0.3.9.

Written with Claude Code (Claude Opus 5.5); reviewed by the maintainer.

bloomery 0.3.9

Choose a tag to compare

@midagedev midagedev released this 24 Oct 23:24

bloomery 0.3.9 adds two large mixture-of-experts models: Muse Spark Open 816B-A42B (GGUF) and MiniMax-M3.1-Flash,
the latter read straight from its native NVFP4 safetensors folder. Placement is redesigned around llama-server's own
flags. All numbers: RTX A6000 + RTX 3090 (the 3090 at its 250 W cap), bloomery-serve at the serving defaults
(--place unset picks bp, every lever unset, --ctx-size 4300), tools/ref/depth-serve.sh, 2 rounds, a
fresh server each round. MiniMax-M3.1's row is 581a66e's, the 0.3.9 tree before it merged with main; Muse's is the
candidate 64a58296c's (the commits after it change Muse's load-time refusals only, no kernel or path Muse runs). The
tag is that tree merged with main's later commits; the user-facing pass below ran on the merged binary. pp is the prompt rate at P ids;
decode is tg tok/s over 128 generated tokens after that prompt.

RTX A6000 + RTX 3090, bp pp512 pp4096 decode @ 512 decode @ 4096
Muse Spark Open UD-IQ2_XXS 90.40 94.90 16.65 15.74
MiniMax-M3.1-Flash NVFP4 folder 122.57 123.62 21.03 19.48

tok/s, means of 2 rounds (each row's sd at most 1.9 %); the depth is the prompt length the decode follows.

Recorded runs at these defaults (one 5.5K-token prompt each, on the 0.3.9 candidate before its decode work):
Muse Spark Open ·
MiniMax-M3.1-Flash.

Highlights from our contributors

  • Qwen3.8 from its FP4-Local checkpoint folder (@juliankang4, #660, #682): bloomery-serve -m <folder> serves it
    with no conversion, its PLE table and MTP draft read as the checkpoint stores them.
  • DGX Spark (GB10) prompts up to about twice as fast (@juliankang4, 20 PRs): tensor-core and pipelined GEMMs, the
    native FP4 build, fused HC kernels. His measurements on one DGX Spark: 4,096-token prefill +98.2 % on the NVFP4
    checkpoint, +54.0 % on FP4-Local (#668).
  • Several requests at once on Qwen3.8 (@juliankang4): with MTP, four sampled requests under --parallel 4 decode
    at 55.80 tok/s together, where 0.3.8 decoded 28.29 (#703 and four more); ready tokens go out before another prompt
    starts, so four concurrent 4,096-token requests reach their first token in 20.4 s at the median, not 43.9 (#671).
  • MiniMax-M3.1-Flash's card experts run his NVFP4 kernels: on the RTX cards (sm_86) the routed NVFP4 GEMMs he sped
    up for long prompts (#760); on a DGX Spark, the FP4 tensor cores (#687) with gate, up and SwiGLU in one launch (#766).
  • Common owners every model shares (@Burntgogi, #774, #775): Held positions with their read checks, and slot row
    admission with its operand views, so the next model attaches without its own copy. He also laid Flint's groundwork:
    its header reader, tokenizer and template support (#676, #677, #678, #680).
  • A new start screen (@juliankang4, #644, #743): the wordmark and a furnace in half-block pixels, with placement
    and serving panels.

The DGX Spark and Qwen3.8 numbers are the pull requests' own, measured on the contributor's machine; details under
From our contributors.

Install

Linux x86-64 with AVX2 (glibc 2.34+), an NVIDIA GPU of compute capability 8.6+ and driver R580 or newer (CUDA 13).
On Windows, run inside WSL2. Docker and Homebrew as in the README.

curl -fsSL https://raw.githubusercontent.com/midagedev/bloomery/main/tools/release/install.sh | sh
bloomery-serve -m PATH/MiniMax-M3.1-Flash --port 8080

Apple Silicon (added after the tag, built from the same commit): macOS 26.2 or newer, signed with a Developer ID
and notarized. bloomery-0.3.9-macos-arm64-metal.tar.gz holds bloomery-serve-metal, generate_metal and prepare;
Homebrew and the installer install the converter as bloomery-prepare. Qwen3.6-35B-A3B, from a Q4_K_M GGUF or an MLX
4-bit folder; one slot, text only (docs/mac.md).

brew install midagedev/tap/bloomery     # or the same install.sh as above
bloomery-serve-metal -m PATH/Qwen3.6-35B-A3B-Q4_K_M.gguf --port 8080

New

  • Muse Spark Open 816B-A42B.
    • Text serving from the GGUF release (UD-IQ2_XXS measured). The chat template's recipient protocol is parsed into
      reasoning_content, content and tool_calls.
    • On two cards the unset placement picks bp: the stage on the larger card and the other card as an expert tier.
    • The prompt pass streams host experts through the common expert stream (xstream).
    • Each layer's attention chain and router run on a side stream beside the gate and latent-down projections.
    • The tokenizer reads UTF-8 strictly, as Muse's reference tree does: an invalid byte becomes U+FFFD.
  • MiniMax-M3.1-Flash from its checkpoint folder.
    • -m takes the vendor's safetensors folder. The NVFP4 experts run in their own format on the card and on the host
      (no GGUF conversion, no requant).
    • A folder's load runs the same expert residency as a GGUF file's: the card keeps the experts decode routes to most.
      Measured against the folder without it (2 rounds, same lease): decode 16.52 → 21.97 tok/s at 512 (+33 %), 16.24 →
      19.48 at 4096 (+20 %); pp512 101.8 → 88.4, pp4096 101.7 → 97.9 (the prompt pass now shares the host with the
      residency's admissions; it pays back after about 94 generated tokens at 512 and 347 at 4096).
    • The host's NVFP4 prompt products run a new tile: the expert's offset codes dot each column's codes as stored,
      with every column's sums and scales prepared once a call, bit-identical to the one-column kernel. M3.1's prompt
      walks 256-row units with it. Measured against the candidate without it (2 rounds, same lease): pp512 88.35 →
      124.19 tok/s (+40.6 %), pp4096 96.95 → 123.69 (+27.6 %); decode 21.87 → 21.29 at 512 (−2.7 %), 19.45 → 19.48 at
      4096.
    • Host experts stream into ring slots the card route runs.
    • On two cards the unset placement picks bp, as for Muse; the top four layers' card sum runs over the stage card
      and the expert tier.
  • Placement with llama-server's flags. bloomery-serve reads -dev, -sm, -mg, -ts, -ngl, --cpu-moe,
    -ncmoe, -ot, --fit, -fitc, -fitt, -devd and their LLAMA_ARG_* variables with llama's meaning; every
    launcher reads them. BLOOMERY_CARD_BUDGET takes one budget per card (CUDA0=38G,CUDA1=20G). LLAMA_API_KEY is
    read as --api-key. Every tiered seat takes --slot-save-path.
  • Host expert speed. IQ2_XXS experts run a wide tile on the host (a block unpacked once per row for up to 32
    columns), with the signs taken on the weight side as ik's IQ_N form does. The NVFP4 planes dot takes a column tile of
    up to 8, bit-identical per column.
  • Two-card timing. tools/ref/depth-serve.sh runs a model planned on both cards (BLOOMERY_TIMING_CARDS=a6000+3090),
    checking the server's need record names both.
  • Apple Silicon (Metal).
    • Qwen3.6-35B-A3B (qwen35moe) decodes on Mac GPUs: generate_metal and bloomery-serve-metal, with KV checkpoints
      and prefix reuse across requests (#726).
    • MLX 4-bit checkpoints: prepare <mlx folder> <out> converts an mlx-community affine 4-bit folder to a GGUF split the
      Metal backend runs. Greedy output matches mlx-lm for 40 tokens (#757).
    • Prompts: known ids run ahead and inner rows skip the head (#762), and a prompt longer than 8 ids runs as batched
      passes, one per ubatch, with a flash prefill attention and MoE over rows (#773). One Metal residency set per stream
      keeps the weights wired through a long pass.
    • Prompt speed: the routed experts' grouped GEMM runs a 64-row tile (prompt +16–19 %, #777); a prompt call commits
      one command buffer a layer and copies a checkpoint once, not twice (#779); one prompt call per request keeps the
      message starts as marks inside it (#792), so chat turn 2's prompt takes 113 ms where it took 305 on an M4 Pro;
      the open makes the rows arena, so the first prompt call costs what a later one does (pp512 +7.8 % on an M4, #797).
    • M5 (Apple GPU family 17 and later, Metal 4): the prompt pass's GEMMs run on the neural accelerators through Metal 4
      tensor ops, picked by the device with no flag (#796); generate_metal prints gemm_path=. Their sum order is the
      hardware's, so the gates hold them to an any-order band against the f64 oracle. The kernels are checked on an M1 and
      an M4, which have no matrix units. On an M5 Ultra, measured by @avlp12 after the tag at main bd0c613 (its
      crates/metal is this release's), a 2,048-row prompt pass's GEMM class took 92.73 ms where the SIMD-group kernels
      took 203.51, and a 4,096-id prompt ran at 5,971.8 tok/s where #777's head ran 3,830.9 (#593).
    • Development-loop numbers, M4 Pro 48 GB, Qwen3.6-35B-A3B (a Mac has no timing runner): MLX 4-bit decode 101.6 ± 0.64
      tok/s, Q4_K_M decode 86.4 ± 0.66 tok/s.

From our contributors

  • Qwen3.8 FP4-Local checkpoint folder (#660, #682, by @juliankang4). bloomery-serve -m <folder> loads it directly,
    with its NVFP4 PLE table and its MTP draft read from the folder in the formats the checkpoint stores.
  • GB10 / DGX Spark prefill (#668, #687, #693, #696, #700, #701, #711, #724, #740, #753, #754, #756, #758, #759,
    #760, #761, #763, #765, #766, #769, by @juliankang4). Tensor-core and pipelined GEMMs, fused HC kernels, fewer prompt
    launches, the native FP4 build (sm_121a by default on GB10), MXFP8 prompt sites W8A8 on activations quantized once,
    and the routed NVFP4 gate, up and SwiGLU as one launch. The PRs' own measurements on one DGX Spark: 4,096-token
    prefill +98.2 % on the NVFP4 checkpoint and +54.0 % on FP4-Local (#668); median 752.8 → 888.5 tok/s (#693); +11.8 to
    +18.7 % on FP4-Local (#740); about +3 % (#766).
  • GB10 / DGX Spark decode (#643, #652, #665, #686, #697, #707, #732, by @juliankang4). Fewer bytes pe...
Read more

bloomery 0.3.8

Choose a tag to compare

@midagedev midagedev released this 22 Oct 10:11

bloomery 0.3.8 is a speed release. On one RTX 3090 at its 250 W cap, bloomery-serve at the serving defaults,
four rounds. Decode is tg tok/s at a 6-token prompt with 128 generated tokens. Each row's interval is in New.

before after
Qwen3.6-35B-A3B UD-IQ4_XS decode 91.94 135.62 tok/s
Qwen3.6-35B-A3B Q8_0 decode 68.73 89.60 tok/s
Qwen3.6-35B-A3B UD-Q6_K decode 81.59 104.96 tok/s
Qwen3-30B-A3B Q8_0 decode 49.62 59.08 tok/s
Qwen3-30B-A3B Q6_K decode 59.89 67.47 tok/s
Raon-1-mini pp512 312.4 2,507.5 tok/s
Raon-1-mini pp4096 298.8 1,880.4 tok/s

The Qwen rows are expert stacks that used to stay on the host and now run on the card. Raon's prompt runs in wide
units of up to 256 rows, which closes 0.3.7's known limit. Raon decode is unchanged within ± 0.5 %.

Install

Linux x86-64 with AVX2 (glibc 2.34+), an NVIDIA GPU of compute capability 8.6+ and driver R580 or newer (CUDA 13).
On Windows, run inside WSL2. Docker and Homebrew as in the README.

curl -fsSL https://raw.githubusercontent.com/midagedev/bloomery/main/tools/release/install.sh | sh
bloomery-serve -m PATH/Qwen3.6-35B-A3B-UD-IQ4_XS.gguf --port 8080

New

All numbers below: one RTX 3090 at its 250 W cap, bloomery-serve at the serving defaults (--place and ctx unset),
tools/ref/depth-serve.sh, four rounds, base = the parent commit on main. Decode is tg tok/s at a 6-token prompt with
128 generated tokens.

  • Qwen3.6-35B-A3B on the card leg (#629, #645).
    • Before, the card leg refused Q8_0, Q6_K, IQ4_XS and IQ3_S expert stacks, so every layer of such a file stayed on
      the host.

    • #629 adds the Q8_0, Q6_K and IQ4_XS arms (a new Q6_K gate·up kernel). #645 adds an IQ3_S prompt GEMM
      (gemm_iq3s).

    • Measured, ctx 262,144:

      file before after
      Q8_0 68.73 89.60 (+30 %)
      UD-Q6_K 81.59 104.96 (+29 %)
      UD-IQ4_XS 91.94 135.62 (+47.5 % ± 7.6 %)
    • UD-IQ4_XS: the plan now puts all 10,240 experts on the card (0 before).

    • Fine-tunes on the same architecture (Sage-A1.5, Ornith) take the same path.

  • Qwen3-30B-A3B on the card leg (#640).
    • Qwen3-30B-A3B and its fine-tunes now read the same card-leg arms as Qwen3.6, from one place.

    • Measured, ctx 131,072:

      file card experts before after
      Q8_0 1,746 of 6,144 49.62 59.08 (+19.1 % ± 1.3 %)
      Q6_K 2,306 of 6,144 59.89 67.47 (+12.7 % ± 6.6 %)
    • Prefill at the same prompt also rose: Q8_0 81.4 → 108.2 tok/s, Q6_K 92.6 → 130.9 tok/s.

  • Raon-1-mini prompt processing (#627). It closes 0.3.7's known limit.
    • The prompt ran in chunks of 8 rows. It now runs in wide units of up to 256 rows, on the common GEMM, KDA and route
      owners.
    • Measured: pp512 312.4 → 2,507.5 tok/s, pp4096 298.8 → 1,880.4 tok/s. Decode is unchanged within ± 0.5 %.
    • A Q5_0 down stack now has a prompt route (gemm_q5_0p).
  • MiMo-V2.6 tool calls parse (#634): the compact Qwen3-Coder framing, streamed and not. A framing the server
    cannot read answers 501 by name; it does not guess.
  • Nemotron-3.5-Lightning (#646) on the existing nemotron seat, beside Nano and Bolt. No latent: the experts
    act on the hidden (2,688). The router keeps the top 6 of 128. The shared expert is Q8_0. No decode number in
    this note.
  • DSpark draft (#638) on the qwen3 seat. BLOOMERY_DRAFT=dspark serves Qwen3.6 with Red Hat's speculator and
    MiniCPM-V 4.7 with its own draft. Sage-A1.5 and Ornith-1.5 take that draft by the file's facts. A lookup that
    proposes nothing is refused. No decode number in this note.
  • macOS host chain (#611). The host page, memory, performance levels and peak RSS run on macOS. Free and inactive
    pages count as available, and a negative RSS peak is refused. This is on main after the v0.3.7 tag.

From our contributors

New in this release:

  • Qwen3.8 straight from a checkpoint folder (#635, by @juliankang4).
    • bloomery-serve -m <folder> and --hf <repo> serve NVIDIA's NVFP4 Qwen3.8 checkpoint as downloaded, with no
      prepare step. --hf also takes a repo that holds safetensors and no GGUF.
    • On one DGX Spark (GB10), with all 24,576 routed experts on the card: decode 30.26 tok/s after a 4,096-token prompt.
      The UD-Q4_K_XL GGUF of the same model reads 28.32 tok/s (#561; one request each, a record, not a verdict).
  • Tensor-parallel ranks read their parts from a GGUF file or a checkpoint folder (#618, by @juliankang4).
  • The start screen: the serve screen draws the wordmark and furnace over the placement panel (by @juliankang4).
  • Fixes by @juliankang4:
    • A draft window that no verify takes no longer leaves stale draft state (#631).
    • Recurrent stores are zeroed on the device at reset.
    • A split pick is a function of the prompt alone.
  • Fixes and design by @Burntgogi:
    • compressed-tensors targets resolve by the checkpoint's module class (#605);
    • the partial head-256 cache append is marked unsafe, with its contract (#612);
    • the census and lift design for layer composition (#621).

Shipped in earlier releases, with their numbers (each measured on the contributor's machine):

  • Two DGX Sparks for one model (#358, #411, by @juliankang4). A tier node on a second Spark binds its own RDMA end
    and pages its experts from its own NVMe. Qwen3.8 decode on GB10: one Spark 20.3–20.5 tok/s, two Sparks 22.2–22.3
    tok/s (64 tokens, one direct RoCE link).
  • --place tp for GLM-5.3-Flash's Hugging Face checkpoint (#519, by @juliankang4). With 2 ranks, each rank holds
    91.6 GB of weights, 50.5 % of what one rank holds alone (two DGX Sparks, a 200 Gb/s link).
  • The n-gram lookup draft on Qwen3.8 (#546, by @juliankang4). On one DGX Spark, code prompts: 29.78 → 35.83 tok/s
    (+20.3 %).
  • EmbeddingGemma 2 beside the chat model (#323, #324, #383, #397, #405, #414, by @juliankang4). /v1/embeddings
    takes text, images, video sampled at 1 FPS, and PCM audio; prompt_name picks the prefix.
    On one RTX 3090 with 0.3.8, beside Qwen3.6-35B-A3B Q8_0 at the serving defaults (--embd-model; client-timed,
    median of 7): one 14-token input in 6.1 ms; 32 short inputs (566 tokens) in 159 ms; 16 inputs of ~550 tokens
    (8,822 tokens) in 211 ms, 41,800 tokens/s.
  • MXFP8, FP8 and BF16 weights (#521, #562, #579, #592, #607, by @juliankang4). On GB10 the Q8_0 path's baseline in
    the same sitting: Qwen3.8 decode 178.74 / prefill 5,970.53 tok/s, GLM-5.3-Flash decode 86.40 / prefill 403.38 tok/s.
  • AMD: a native HIP forward of dense Qwen3.5 (#476, by @Burntgogi). All 24 layers and the output head run on HIP and
    match the reference.
  • Serve request guards (#590, by @Burntgogi): request heads are authorized and network image decoding is bounded.

Fixed

  • crates/placement: gemm_reads_blocks32 takes Q5_0 (main did not build after #627 and #629 met).
  • Clippy warnings on main back under the ratchet (25 → 3).
  • Developer tooling: see the merged pull requests since v0.3.7.

Known limits

  • Off cells of the user-facing pass. Each is a named refusal at load, not a crash:
    • Qwen3.6-35B-A3B and Qwen3-30B-A3B at --place bp: "1 expert tier cards, and the qwen3moe body serves 0 at most". These bodies serve one card with the host tier (--place a, the default).
    • Nemotron-3.5-Lightning at --place bp: a placed load runs one card with the host tier beside it.
    • Bolt at --place bp (from 0.3.4).
  • Nemotron-3.5-Lightning's UD-Q4_K_XL file is a placed load. The whole-card expert body is IQ2_XXS, which is Bolt's. On the A6000 the whole plan at 4,096 positions leaves 2,944 experts on the host, and the server opens placed. On the RTX A6000 at the serving defaults (--ctx-size 16384, 2,944 experts on the host): decode 89.2 tok/s after a 25-token prompt, 79.9 tok/s after a 5,866-token prompt (prefill 451 tok/s).
  • Real tier still open, carried from the release batch: gate-refset and gate-gpu-qwen4exp-nvfp4. Both read the Qwen3.8 NVFP4 checkpoint and its reference sets, which the maintainer's box does not hold (they are checked on the contributor's DGX Spark).
  • From 0.3.7: Raon's draft rarely pays at these prompts (#617). The prompt-processing limit from 0.3.7 is closed above.
  • From 0.3.6: gate-qdot's IQ4_XS clause is red by 5 ULP.
  • From 0.3.5: V4.1 on two cards (--place bp) is not faster than one card.
  • From 0.3.4: Bolt needs a 24 GB card and refuses --place bp.

Checked before the tag

  • Release batch on f02460d16, real tier, 3,674 s: 91 items, 5 red, 2 deferred. The reds were gate-gpu-clef-serve, gate-gpu-qwen3-serve, gate-refset, gate-gpu-qwen4exp-nvfp4, gate-gpu-nvtier. Deferred (needs-env): gate-prepare-corpus, gate-gpu-qwen38-nodes-remote.
  • The Qwen3.6 card-leg fixture variants (gate-gpu-qwen35moe-leg, including IQ4_XS, IQ3_S, Q8_0, Q6_K and the mixed down) were green at 6b0a82f91. Files touched after that commit do not include those leg kernels.
  • Closed after that batch, on later commits: clef serve (e0226df06); qwen3 serve on the 3090 at 578b62d09 (192 checks, 0 FAIL, 409 s) and its contrib-check t0. nvtier was not re-pinned: a warm quiet A6000 run on 578b62d09 was late 0, worst margin 1.60, 258 s; one idle plan was late 19.
  • DSpark on the A6000: gate-gpu-qwen3-dspark 77 s, exit 0, on the tree replayed as bf54f5912.
  • Lightning: fixture gate_nemotron_serve on the 3090, 7 s, exit 0. The real UD-Q4_K_XL file on the A6000, 15 s, exit 0: the server's 16 prose tokens and 16 chat tokens matched the placed session, and the held-split extension matched. That binary was built before 4b884ea3d. That commit changes bf16_gemv and the BF16 arm of site::gemv_planes only.
  • BF16 on the 3090 at 8a471012a: gate_bf16 16 s, exit 0, no FAIL. @juliankang4's run of the same gate on a DGX Spark: 13 s, exit 0. Spark tok/s are not in the tables above.
  • contrib-check t0 on `8a471012a...
Read more