halocline

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.

  • Layers64doc
  • Hidden5,120doc
  • Vocabulary248,320doc
  • Native context262,144doc
  • Mean KLD0.00582eval

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.

PackOn the cardEmbeddingTensorsPrefillDecodeRun
UD-Q4_K_XL15.79 GiBeval0.67 GiBeval817eval27eval tokens in 41.0 mseval96eval tokens in 2,459 msevaleval
UD-IQ4_XS12.87 GiBeval0.51 GiBeval817eval27eval tokens in 41.0 mseval96eval tokens in 1,853 msevaleval

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.

Dense mean KLD against the full-precision base UD-Q4_K_XL sits 2.8× closer to the base than UD-IQ4_XS. Halocline's UD-Q4_K_XL arm sits inside llama.cpp's error bar on the same weights.
  • Halocline
  • llama.cpp
Dense mean KLD against the full-precision baseMean KLD over the 100-chunk gate; lower is closer to the base. Halocline and llama.cpp are on the same GGUF for each quant; the whiskers are llama.cpp's own error bar.

Runs: eval

Table view
ArmValue
Halocline, UD-Q4_K_XL, 8-bit0.00582
llama.cpp, UD-Q4_K_XL, fp160.00573
Halocline, UD-IQ4_XS, MMQ0.01618
Halocline, UD-IQ4_XS, mmvq0.01633
llama.cpp, UD-IQ4_XS, fp160.01614
llama.cpp, UD-IQ4_XS, q8_00.01638
ArmMean KLDError barFirst choicePPLRun
Halocline, UD-Q4_K_XL, mmvq0.00582not reported96.67%6.7336eval
llama.cpp, UD-Q4_K_XL, f160.00573± 0.0002396.54%6.7299eval
Halocline, UD-IQ4_XS, MMQ0.01618not reported94.31%6.8004eval
Halocline, UD-IQ4_XS, mmvq0.01633not reported94.30%6.8013eval
llama.cpp, UD-IQ4_XS, f160.01614± 0.0003894.34%6.7990eval
llama.cpp, UD-IQ4_XS, q8_00.01638± 0.0004094.35%6.8013eval
One dense chunk at the boundary Chunk 1, positions 256 to 510, mean KLD 0.00485. The rows file stores the target token's log-probability, not the full vocabulary.
  • Full-precision base
  • Halocline
  • First choice differs
One dense chunk at the boundaryThe base's probability of the ground-truth next token, and the dense engine's, at every scored position of one chunk. Ticks below the axis mark positions where the first choice differs.

Runs: eval

Table view
PositionBase probabilityEngine probability
2560.013220.01346
2810.998630.99880
3060.205310.18496
3310.700630.72495
3560.718090.72614
3810.556810.56712
4060.003800.00412
4310.173790.17803
4560.106810.11442
4810.997480.99574
5060.012630.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.

CacheBytes a cellMean KLDFirst choicePaired differenceIntervalRun
8-bit2,1120.0058296.67%reference—eval
K 8-bit, V 4-bit1,6320.0067696.39%+0.00093[+0.00074, +0.00113]eval
K 8-bit, V 4-bit, drafter 8-bit1,6320.0067696.39%+0.00093[+0.00074, +0.00113]eval
4-bit K and V1,1520.0077996.07%+0.00197[+0.00167, +0.00228]eval
CacheBytes a cellMax cells, drafter at full contextWith the drafter cache in int8Adding the drafter ringSource
fp164,09671,188not recordednot recordeddoc
int82,112130,832138,061not recordeddoc
k8v41,632164,094175,629187,183doc
q4_01,152220,035241,285265,176doc

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.

CacheFirst 16K armSecond 16K armMean 16KFirst 36K armSecond 36K armMean 36KDeltaRun
8-bit3,4213,4173,4193,2413,2343,238reference / referenceeval
K 8-bit, V 4-bit3,3473,3453,3463,0903,0893,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.

Dense prefill against context depth Halocline's dense arm is the 8-bit cache gate at the first two depths; NInfer's smoke is at the two needle depths. The shared depth is the like-for-like reading.
  • NInfer
  • Halocline dense
Dense prefill against context depthPrompt tokens a second for the dense model on the same card, against the NInfer floor. The arms do not share a protocol at every depth, so the caption names what is comparable.

Runs: eval · eval

Table view
EngineCacheDrafterDepthValue
NInfer36,4673,215
NInfer137,4002,155
Halocline dense16,3843,424
Halocline dense36,8643,242

The dense rounding ledger

The places the dense path changes a number. A cost the runs do not isolate says so.

PathRoundingWhenMeasured costStatusEvidence
denseWeights copied as storedconversionThe whole dense build reads 0.00582 mean KLD on the same base. The weight file's own share is not isolated.not isolatedeval
denseGate tensors read wider at loadloadStored 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.opendoc doc
denseDecode activation scalesevery decode windowThe decode kernel keeps activation scales narrower than the prompt path: +0.00015 mean KLD, interval [+0.00005, +0.00025], for the measured decode gain.measuredeval
denseCache, 8-bitevery requestReference: 0.00582 mean KLD, 96.67% first choice.measuredeval
denseCache, K 8-bit, V 4-bitevery requestPaired difference +0.00093, interval [+0.00074, +0.00113], -0.28 first-choice points.measuredeval
denseCache, 4-bit K and Vevery requestPaired difference +0.00197 over the 8-bit cache, +0.00104 over the K 8-bit, V 4-bit cache, on a branch.on a brancheval
denseValue rotation for the low-bit cachecache write and attention outputExact: a Hadamard transform commutes with attention over values, and the output rotates back once per head.exactdoc doc
denseResidual streamevery layerThe residual runs in a narrow format. Its cost is not measured; the roadmap makes it the first dense quality lever.opendoc

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.

Back to the ledger · Open water