The dive · Dense path
Qwen3.8-27B
Every layer on the card, every tensor as stored.
The stand-in for Qwen4-27B until its weights exist. The dense path is the quality path: less machinery between the weights and the logits. It runs; full context is the open job.
The load
Two Unsloth quants, repacked losslessly, loaded and generating. The embedding stays in its stored type; the one rounding at load is named below.
| Pack | On the card | Embedding | Tensors | Prefill | Decode | Run |
|---|---|---|---|---|---|---|
| UD-Q4_K_XL | 15.79 GiBeval | 0.67 GiBeval | 817eval | 27eval tokens in 41.0 mseval | 96eval tokens in 2,459 mseval | eval |
| UD-IQ4_XS | 12.87 GiBeval | 0.51 GiBeval | 817eval | 27eval tokens in 41.0 mseval | 96eval tokens in 1,853 mseval | eval |
One prompt, greedy, a short run. This is a load and coherence check, not a speed benchmark. Both packs verify 866eval of 866eval tensors lossless against their GGUF.
Quality
The same frozen base (the model's BF16 file), the same chunk count, Halocline against llama.cpp on the same GGUF. The whiskers are llama.cpp's own error bar.
- Halocline
- llama.cpp
Runs: eval
Table view
| Arm | Value |
|---|---|
| Halocline, UD-Q4_K_XL, 8-bit | 0.00582 |
| llama.cpp, UD-Q4_K_XL, fp16 | 0.00573 |
| Halocline, UD-IQ4_XS, MMQ | 0.01618 |
| Halocline, UD-IQ4_XS, mmvq | 0.01633 |
| llama.cpp, UD-IQ4_XS, fp16 | 0.01614 |
| llama.cpp, UD-IQ4_XS, q8_0 | 0.01638 |
| Arm | Mean KLD | Error bar | First choice | PPL | Run |
|---|---|---|---|---|---|
| Halocline, UD-Q4_K_XL, mmvq | 0.00582 | not reported | 96.67% | 6.7336 | eval |
| llama.cpp, UD-Q4_K_XL, f16 | 0.00573 | ± 0.00023 | 96.54% | 6.7299 | eval |
| Halocline, UD-IQ4_XS, MMQ | 0.01618 | not reported | 94.31% | 6.8004 | eval |
| Halocline, UD-IQ4_XS, mmvq | 0.01633 | not reported | 94.30% | 6.8013 | eval |
| llama.cpp, UD-IQ4_XS, f16 | 0.01614 | ± 0.00038 | 94.34% | 6.7990 | eval |
| llama.cpp, UD-IQ4_XS, q8_0 | 0.01638 | ± 0.00040 | 94.35% | 6.8013 | eval |
- Full-precision base
- Halocline
- First choice differs
Runs: eval
Table view
| Position | Base probability | Engine probability |
|---|---|---|
| 256 | 0.01322 | 0.01346 |
| 281 | 0.99863 | 0.99880 |
| 306 | 0.20531 | 0.18496 |
| 331 | 0.70063 | 0.72495 |
| 356 | 0.71809 | 0.72614 |
| 381 | 0.55681 | 0.56712 |
| 406 | 0.00380 | 0.00412 |
| 431 | 0.17379 | 0.17803 |
| 456 | 0.10681 | 0.11442 |
| 481 | 0.99748 | 0.99574 |
| 506 | 0.01263 | 0.01198 |
llama.cpp is pinned at commit 2cbe0ec. The UD-Q4_K_XL arm at 8-bit scores 0.00582eval against llama.cpp's 0.00573eval: the difference sits inside llama.cpp's error bar. The decode kernel's narrower activation scales cost +0.00015eval, paired [+0.00005, +0.00025]eval.
The cache and the context ceiling
Cache format buys or costs context. The KLD is the 36K gate; the ceilings come from the planner test, not a loaded session.
| Cache | Bytes a cell | Mean KLD | First choice | Paired difference | Interval | Run |
|---|---|---|---|---|---|---|
| 8-bit | 2,112 | 0.00582 | 96.67% | reference | — | eval |
| K 8-bit, V 4-bit | 1,632 | 0.00676 | 96.39% | +0.00093 | [+0.00074, +0.00113] | eval |
| K 8-bit, V 4-bit, drafter 8-bit | 1,632 | 0.00676 | 96.39% | +0.00093 | [+0.00074, +0.00113] | eval |
| 4-bit K and V | 1,152 | 0.00779 | 96.07% | +0.00197 | [+0.00167, +0.00228] | eval |
| Cache | Bytes a cell | Max cells, drafter at full context | With the drafter cache in int8 | Adding the drafter ring | Source |
|---|---|---|---|---|---|
| fp16 | 4,096 | 71,188 | not recorded | not recorded | doc |
| int8 | 2,112 | 130,832 | 138,061 | not recorded | doc |
| k8v4 | 1,632 | 164,094 | 175,629 | 187,183 | doc |
| q4_0 | 1,152 | 220,035 | 241,285 | 265,176 | doc |
Full context is on a branch
With the int8 cache, 262,144eval cells need 11,830 MiBeval and find 7,597 MiBeval free on UD-Q4_K_XL; the fp16 cache needs 19,766 MiBdoc, so neither fits. The 4-bit K and V cache reaches 265,176doc cells with the drafter cache in the int8 format and the drafter ring, at +0.00197eval mean KLD over the 8-bit cache. That code is on a branch; the served profile is 262,144doc tokens.
The planner numbers are tests, not a loaded session. That arm's cost is the 36K gate, and a full-context load with depth KLD is open work.
Speed
Prefill, ABBA in one session, one engine on the card at its 350 Wdoc limit. Decode is printed with its fixture and not ranked against NInfer.
| Cache | First 16K arm | Second 16K arm | Mean 16K | First 36K arm | Second 36K arm | Mean 36K | Delta | Run |
|---|---|---|---|---|---|---|---|---|
| 8-bit | 3,421 | 3,417 | 3,419 | 3,241 | 3,234 | 3,238 | reference / reference | eval |
| K 8-bit, V 4-bit | 3,347 | 3,345 | 3,346 | 3,090 | 3,089 | 3,090 | -2.15% / -4.57% | eval |
Halocline's decode at the 36K context is 98.5eval on conversation, 192.7eval on structured output and 86.8eval on prose. NInfer's floor is a different fixture, so the two are not ranked here. The prefill clears the NInfer floor at the shared depth.
- NInfer
- Halocline dense
Table view
| Engine | Cache | Drafter | Depth | Value |
|---|---|---|---|---|
| NInfer | 36,467 | 3,215 | ||
| NInfer | 137,400 | 2,155 | ||
| Halocline dense | 16,384 | 3,424 | ||
| Halocline dense | 36,864 | 3,242 |
The dense rounding ledger
The places the dense path changes a number. A cost the runs do not isolate says so.
| Path | Rounding | When | Measured cost | Status | Evidence |
|---|---|---|---|---|---|
| dense | Weights copied as stored | conversion | The whole dense build reads 0.00582 mean KLD on the same base. The weight file's own share is not isolated. | not isolated | eval |
| dense | Gate tensors read wider at load | load | Stored quantized in the GGUF (Q8_0) and read in the full format at load. The cost is not isolated; an exact gate product is open work. | open | doc doc |
| dense | Decode activation scales | every decode window | The decode kernel keeps activation scales narrower than the prompt path: +0.00015 mean KLD, interval [+0.00005, +0.00025], for the measured decode gain. | measured | eval |
| dense | Cache, 8-bit | every request | Reference: 0.00582 mean KLD, 96.67% first choice. | measured | eval |
| dense | Cache, K 8-bit, V 4-bit | every request | Paired difference +0.00093, interval [+0.00074, +0.00113], -0.28 first-choice points. | measured | eval |
| dense | Cache, 4-bit K and V | every request | Paired difference +0.00197 over the 8-bit cache, +0.00104 over the K 8-bit, V 4-bit cache, on a branch. | on a branch | eval |
| dense | Value rotation for the low-bit cache | cache write and attention output | Exact: a Hadamard transform commutes with attention over values, and the output rotates back once per head. | exact | doc doc |
| dense | Residual stream | every layer | The residual runs in a narrow format. Its cost is not measured; the roadmap makes it the first dense quality lever. | open | doc |
Limits
What the dense numbers do not cover.
- Full context is not shipped. The int8 and fp16 caches do not fit; the low-bit arm is on a branch and its cost is a short-chunk gate.
- Depth KLD has not run. The gate scores short chunks, so cache rounding at depth is unmeasured.
- NInfer's KLD and a like-for-like decode run are open. The prefill comparison is the only same-depth speed reading.
- The weight quant and the cache are not separated. The whole build reads 0.00582eval.
- One prompt on the load check, one machine for every number.