Skip to content

bloomery 0.3.18

Latest

Choose a tag to compare

@midagedev midagedev released this 30 Nov 10:47
· 4 commits to main since this release

한 줄 요약: 품질 검사를 통과한 속도 레버를 기본값으로 켰습니다. Inkling 2 Mini는 프롬프트를 베껴 쓰는 구간에서, DeepSeek V4.1은 일반 서빙에서 설정 없이 빨라졌고, RTX 5090 표 전체와 DGX Spark를 붙인 두 머신 구성을 릴리즈 바이너리로 다시 쟀습니다.

bloomery 0.3.18 turns on by default the speed levers that passed their quality checks, and re-measures every row of the
one-card table on the shipped binary. Every number names its machine.

At a glance

One RTX 5090 32 GB (32-core AVX2 host, 256 GB RAM), the sm120a archive's bloomery-serve at the serving defaults,
means of two rounds, against the rows the README carried through 0.3.17 (tok/s):

Model Prompt 512 Prompt 4,096 Decode @ 512 Decode @ 4,096
DeepSeek-V4.1-Flash bq3km + r8 245.87 → 305.23 402.19 → 496.79 30.24 → 71.53 30.06 → 50.30
Hy4-flash Q4_K_M 31.75 → 438.16 31.48 → 462.22 31.71 → 48.94 31.78 → 41.39
Inkling 2 Mini UD-Q4_K_XL 4,962.77 → 7,051.53 4,759.63 → 6,700.75 155.33 → 187.81 150.91 → 180.88
Inkling 2 Mini, checkpoint folder 3,818.15 → 4,949.88 3,703.65 → 4,773.73 153.82 → 186.46 151.38 → 180.81
Qwen3.8-Flash-Next UD-Q4_K_XL 791.62 → 880.95 1,281.84 → 1,467.93 117.34 → 118.70 110.06 → 123.47
Nemotron 3.5 Bolt 74B-A9B 24GB 4,971.72 → 4,965.82 7,166.02 → 7,114.83 182.41 → 195.75 180.44 → 194.88
GLM-5.3-Flash UD-Q4_K_XL 194.44 → 184.08 210.03 → 205.20 30.09 → 29.34 26.17 → 26.15
ERNIE 5.5 Flash Preview F8M4 161.54 → 158.78 141.34 → 140.32 43.46 → 43.03 36.07 → 35.77

The old rows were the 0.3.15 binary's (0.3.16's for Inkling 2, 0.3.17's for ERNIE 5.5). The DeepSeek V4.1 row moves with
the routing default below and with this release's placement changes; the sitting has no arm that separates them.

  • Inkling 2 Mini copies faster. A greedy chat request whose reply repeats text from the prompt (an edit, a quote)
    is served by the recall draft with no setting: +83.11 % ±0.97 decode on an edit prompt against the draft off, and the
    draft now verifies up to 32 rows in one pass, +54.28 % ±0.29 and +58.35 % ±0.22 on two long copies against the 8-row
    window. A prompt with nothing to copy is unchanged (+0.01 % ±0.21). One RTX 5090, fresh server a row.
  • Inkling 2 with thinking off answers in one block: KMMLU 55.0 → 60.5 %, MMLU-Pro 55.5 → 60.0 % (200 items each,
    toktape eval), and tool calls work with thinking off (14 of 14 calls made, from 1 of 14).
  • DeepSeek-V4.1-Flash routes toward the experts already on the card by default.

Inkling 2

  • Recall draft by default. With no DSpark file beside the model, an unset BLOOMERY_DRAFT serves the recall draft
    on a one-slot whole-card load: it proposes the tokens that followed the same context earlier in the request, and the
    model verifies them in one pass. BLOOMERY_DRAFT=off is the old default.
  • A 32-row verify window. BLOOMERY_RECALL_WIDE unset verifies up to 32 proposed rows in one prompt pass where the
    plan holds the window's buffers at the context served; where it does not, the server stays at 8 rows and says so in
    its draft rule record. The wide pass rounds differently from single steps, so a reply can depart from the 8-row
    reply at a close call; task scores did not move (HumanEval, KoGen, MMLU-Pro, KMMLU; on the release's own binary
    HumanEval and KoGen scored every item the same in both arms). off keeps 8 rows.
  • Thinking off. A reply ends where its answer block ends (the model used to write a second block: reasoning leaked
    into 28 of 200 KMMLU replies, now 0). With tools in the request, thinking off renders the template's own effort-0
    prompt so the model can call.
  • Faster steps and prompt pass. Fewer launches a decode step (934 → 838 graph nodes), a visit's projections side by
    side on the prompt pass, the draft's router scores as one multi-row launch.
  • Metal. MXFP8 expert rows stored as quads and the decode's elementwise tails folded into their producers
    (1004 → 772 groups a step).

DeepSeek-V4.1-Flash and the expert tier

  • Cache-aware routing by default. BLOOMERY_ROUTE_RESIDENT_BONUS unset is 0.1 on a V4.1 load that keeps part of a
    layer's experts on the card: at a near tie the router picks an expert that is already resident. The gate weights
    stay the model's own. As served (thinking on, 16,384-token cap) no suite differs from =0: KMMLU 80.0 against
    81.0 %, MMLU-Pro 92.0 against 93.0 % (100 items each), HumanEval 98.8 against 96.3 %, HumanEval+ 93.9 against 92.7 %
    (164 items); perplexity on English prose −0.15 %. Beside a draft the bonus is 0; =0 turns it off.
    docs/research/route-dials.md.
  • Long contexts. A host room near its cap keeps a larger expert pool: +27.7 % decode at context 262,144 on a pinned
    room.
  • Node lend by default. Where a second machine holds part of the expert tier and the card has a copy of those
    places, BLOOMERY_NODE_LEND unset lends a node-homed expert to the card's pool.

Two machines: an RTX 5090 with a DGX Spark as the expert tier

DeepSeek-V4.1-Flash bq3km, the release binary at the serving defaults, the Spark holding 3,186 experts
(BLOOMERY_CARD_BUDGET=53866M) over a direct 100 GbE link, a fresh server a row (tok/s):

Where it runs Prompt 512 Prompt 4,096 Decode @ 512 Decode @ 4,096
one card + CPU 307.06 489.71 70.09 51.00
+ node, BLOOMERY_TIER_LINK=rdma 325.33 (+5.95 % ±2.34) 529.33 (+8.09 % ±2.43) 71.31 (+1.76 % ±2.85) 53.91 (+5.70 % ±2.41)
  • RDMA against TCP on the same link (6 rounds): decode 71.83 against 51.02 tok/s at depth 512 and 55.00 against
    43.94 at 4,096. Over TCP the node is slower than one card alone; the prompt pass does not move with the link.
  • The node speeds the prompt more than decode. With 5,580 experts on the node (90G) the prompt is +11.28 % ±2.66
    and decode at depth 512 is +1.38 % ±1.64 against one card.
  • Not served with a node on this release: GLM-5.3 (its first prompt is refused by name) and Qwen3.8 (its seat does
    not start on a machine of one card). Set BLOOMERY_CARD_BUDGET beside a node: unset, the plan asks the node for all
    its memory and the node can refuse the load. All rows:
    docs/numbers.md.

Serving fixes

  • A reply cut inside a multi-byte character ends at its last whole character.
  • A template that only names the think tags to strip history is no longer taken as "always thinks"
    (enable_thinking: false was refused on a Qwen3-2507 GGUF).
  • Slot state saves and restores in 1 MiB chunks, with no whole-state host copy.
  • ERNIE 5.5 tool calls: a constrained call's raw value takes any text, and forced parameters go in key order.
  • Hy4-flash's prompt runs as a pass on one RTX 5090 at the unset context (the table's 438 tok/s row).

What was run, and what was not

  • Run: each change's own gates in its round, with a failing run first; the release sitting on the shipped sm120a
    binary (8 models, two warm rounds each, 24 first-request checks, all green).
  • Not run: a gate batch over the whole tree; the sm86 archive on a card older than the RTX 50 series; the GB10
    archive's numbers (the DGX Spark table is the earlier one); two NVIDIA cards in one machine.
  • Inkling 2 Mini's rows in the table are the draft-less path: the sitting sends token ids to /completion, and the
    seat drafts chat requests with thinking on.