halocline

One engine · two paths · one Ada card

halocline

The engine that hides nothing.

A research record of one inference engine on one card: the numbers it measured, the runs behind them, and the questions still open. Scroll to descend. The gauge reads context depth.

  • One card NVIDIA GeForce RTX 4090 24,564 MiBdoc · 350 Wdoc · compute capability 8.9doc
  • Two models Qwen3.8-Flash-Next
    Qwen3.8-27B
    the sparse page · the dense page
  • Distance to the BF16 base 0.08195eval sparse
    0.00582eval dense
    mean KLD, lower is closer
the halocline mean KLD 0.08195eval to the BF16 base 8-bit cache · 100eval chunks · the run
The descent
8K · Sunlit layer

What it is

One architecture, one toolchain, one model family, one machine. The engine is tuned for the card below and refuses any other compute capability.

The one machine

Card
NVIDIA GeForce RTX 4090 doc
Memory
24,564 MiBdoc
Power limit
350 Wdoc
Link
PCIe 4.0 x16 doc
CPU
Intel Core i9-14900K, 32doc threads
RAM
64 GBdoc
OS
Arch Linux, kernel 7.2.14 doc
Driver
615.78.08 doc
CUDA
13.4 (V13.4.92) doc

Nothing moves at run time

  1. Weights are copied as stored. The one interim cast is named on the model pages.
  2. Experts are placed once from the VRAM budget, and the placement is part of the checked-in profile.
  3. Every choice that affects speed or output is resolved once per model, never keyed on a model's name.
  4. An expert that moves between the card and RAM changes speed, never text.
  5. A regression past the paired interval, or past run-to-run speed, fails the release.

The build refuses any compute capability except 8.9. On another Ada card it builds, and every number has to be measured again.

Sparse

Qwen3.8-Flash-Next

Sparse experts on the card and in page-locked RAM; one interim cast is named below.

  • 512doc experts, 10doc routed plus 1doc shared active per token
  • 48doc layers, 262,144doc native context
  • 93,672,359,738doc bytes of weights, copied as stored
The sparse path
Dense

Qwen3.8-27B

Every layer on the card; one cast at load is named below.

  • 64doc layers, 5,120doc hidden, 248,320doc vocabulary
  • 262,144doc native context; 262,144doc served today
  • Every layer on the card; the token embedding in page-locked RAM
The dense path
32K · Twilight

Speed

The same card, one engine at a time. Every speed names its cache, its drafter and the power limit.

Sparse decode against context depth The line joins measured points; it is not a fitted model. Halocline's drafter raises decode at both depths. Strata's line is its quiet-host rerun.
  • Halocline, no drafter
  • Strata 0.2.10, DFlash2
  • Halocline, MTP drafter
Sparse decode against context depthDecode tokens a second at the two needle depths, for Halocline with and without its draft layer and for Strata with its own drafter. Lower is not better here: higher is faster.

Runs: eval · eval · eval

Table view
EngineCacheDrafterDepthValue
Halocline, no drafterint8none36,46791.3
Halocline, no drafterint8none137,40091.3
Strata 0.2.10, DFlash2q4_0DFlash236,46768.1
Strata 0.2.10, DFlash2q4_0DFlash2137,40086.6
Halocline, MTP drafterint8MTP36,467123.1
Halocline, MTP drafterint8MTP137,400121.0
EngineCacheWarm decode36K decode36K prompt137K decode137K promptRun
Halocline, MTP int8 147.8 to 181.6 123.16,298121.05,664 eval
Halocline, no drafter int8 102.6 to 103.2 91.36,27491.36,523 eval
Strata 0.2.10, DFlash2 q4_0 94.6 to 100.5 68.12,40386.62,864 eval

Halocline rows: UD-IQ4_XS v3.1, int8 cache, MTP drafter, 350 Wdoc limit, one engine on the card. Strata: the same pack, q4_0 cache, its own drafter, the same card and limit. The Strata column is its quiet-host rerun. No KLD gate has been run on Strata here, so this table compares speed only.

Sparse prefill against context depth The drafter takes VRAM from the expert cache, which is why its high-context prompt rate sits below the no-drafter serve.
  • Halocline, no drafter
  • Strata 0.2.10, DFlash2
  • Halocline, MTP drafter
Sparse prefill against context depthPrompt tokens a second at the same two needle depths. The vertical scale is thousands of tokens a second.

Runs: eval · eval · eval

Table view
EngineCacheDrafterDepthValue
Halocline, no drafter36,4676,274
Halocline, no drafter137,4006,523
Strata 0.2.10, DFlash236,4672,403
Strata 0.2.10, DFlash2137,4002,864
Halocline, MTP drafter36,4676,298
Halocline, MTP drafter137,4005,664

The dense arm, against NInfer

Different model, different quant, same card. The 36K prefill is the like-for-like reading.

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
ArmPrefill 16KPrefill 36KPrefill 137KDecode 36KRun
Halocline dense, int8 cache3,4243,242not measured98.5eval
NInfer, its own formatnot measured3,2152,155118.0eval

Halocline: UD-Q4_K_XL, 8-bit cache, 350 Wdoc limit. NInfer: its own format, the same card and limit. NInfer's decode at 36K and Halocline's own decode are different fixtures. The site prints both and ranks neither. The like-for-like decode run is open work, and the NInfer prompt is its uncached first run because its later runs hit a prefix cache.

64K · The halocline

The boundary

The one number the engine publishes as its quality claim: the distance between its next-token distribution and the full-precision model's, on the same text.

KLD measures how much one probability distribution differs from another. Zero means identical. The gate scores the target token's log-probability at every scored position of a wikitext chunk against a frozen base, then reports the mean over 25,500eval rows. Lower is closer. The base is the model's BF16 file: the unquantized reference this repository calls full precision.

The engine does not claim the distance is zero. It claims the distance is measured, paired per chunk, and small enough that the gate can separate the cache formats it has to choose between.

One sparse chunk at the boundary Chunk 99, positions 256 to 510, mean KLD 0.07711. The rows file stores the target token's log-probability, not the full vocabulary, so this is the overlap the data supports.
  • Full-precision base
  • Halocline
  • First choice differs
One sparse chunk at the boundaryThe full-precision base's probability of the ground-truth next token, and the 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.992450.98159
2810.001270.00200
3060.069920.05596
3310.131100.10547
3560.000200.00021
3810.958860.96056
4060.582190.78051
4310.941890.90666
4560.404530.17583
4810.604800.60879
5060.021250.03389

The chart is the overlap the repository's rows file can support: the base's probability of the ground-truth next token and the engine's at every scored position of one chunk. It is not a full-vocabulary overlap. The rows file stores the target token's log-probability, not the top-k distribution; a full overlap would need the twelve-gigabyte base file, which is not in the repository.

The cache formats, paired

The same pack and text, 100eval chunks, each format scored against the same base. Paired intervals are per chunk.

CacheMean KLDFirst choicePaired differenceIntervalPrefill 32KPrefill 131KStructured decodeRun
int80.0819590.45% reference—6,0536,019264.6 eval
fp160.0823090.33% +0.00035[-0.00061, +0.00131]4,7732,997259.5 eval
k8v40.0862190.26% +0.00426[+0.00307, +0.00545]5,4215,694258.3 eval
q4_00.0884390.03% +0.00647[+0.00499, +0.00795]5,5625,700238.2 eval
Each cache's distance from the 8-bit reference The 16-bit cache's interval holds zero. The low-bit caches sit measurably further from the full-precision base.
Each cache's distance from the 8-bit referenceThe paired mean KLD difference against the 8-bit cache, with the gate's 95 percent interval. An interval that crosses zero cannot be ranked by this gate.

Runs: eval

Table view
CachePaired differenceInterval
fp16+0.00035-0.00061 to +0.00131
k8v4+0.00426+0.00307 to +0.00545
q4_0+0.00647+0.00499 to +0.00795

The rounding ledger

Every place the engine changes a number, in the order a token meets it. A cost that the runs do not isolate says so.

PathRoundingWhenMeasured costStatusEvidence
sparseWeights copied as storedconversionThe whole sparse build reads 0.08195 mean KLD. The weight file's own share is not isolated from the cache and the gate tensors. not isolated eval
sparseGate tensors cast at conversionconversionThe 195 gate tensors are stored quantized and read in a wider format. The cast is interim and its cost sits inside the same 0.08195. interim doc doc
sparseCache, 8-bitevery requestReference for the paired gate: 0.08195 mean KLD, 90.45% first choice. measured eval
sparseCache, 16-bitevery requestPaired difference +0.00035, interval [-0.00061, +0.00131]. The interval holds zero, so this gate cannot place it ahead of the 8-bit cache. measured eval
sparseCache, K 8-bit, V 4-bitevery requestPaired difference +0.00426, interval [+0.00307, +0.00545], -0.20 first-choice points. measured eval
sparseCache, 4-bitevery requestPaired difference +0.00647, interval [+0.00499, +0.00795], -0.43 first-choice points. measured eval
sparseDraft layerevery requestExact by construction: the verify pass decides every emitted token, so the drafter changes speed, not output. exact doc

The dense path has its own ledger on the dense page, and its cache table is there too. The two paths share the method, not the numbers.

128K · Deep

The ledger

The runs that set the arms this site publishes, assembled from their eval directories. The non-regression reruns and the llama.cpp arms are in the gate and quality tables that use them. There is no release-gate report file yet; the missing fields say so. Every speed below ran at the card's 350 Wdoc limit, one engine on the card.

Sparse runs

The cache sweep and the sparse gate, on the one pack. Commit unknown means the run came from an archive without its Git metadata; the eval README names the tree.

RunCommitWeightsCacheMean KLDp99First choicePrefillStructured decodeEval
KV int8unknownUD-IQ4_XS v3.1int8 0.081950.9289690.45%6,019 at 131K264.6 eval
KV fp16unknownUD-IQ4_XS v3.1fp16 0.082300.9356390.33%2,997 at 131K259.5 eval
KV k8v4unknownUD-IQ4_XS v3.1k8v4 0.086210.9787190.26%5,694 at 131K258.3 eval
KV q4_0unknownUD-IQ4_XS v3.1q4_0 0.088431.0237690.03%5,700 at 131K238.2 eval

Dense runs

The load, the quality gate and the cache sweep. The rotated four-bit arm is marked as a branch in the run name.

RunCommitWeightsCacheMean KLDp99First choicePrefillStructured decodeEval
D4 Q4_K_XLffb25a2153UD-Q4_K_XLint8 0.005820.0600796.67%3,234 at 36K153.8 eval
D4 IQ4_XS MMQcf4995857dUD-IQ4_XSint8 0.016180.1611294.31%3,383 at 36K197.1 eval
D4 IQ4_XS mmvqffb25a2153UD-IQ4_XSint8 0.016330.1636294.30%3,373 at 36K178.0 eval
D8 int8b7053a1570UD-Q4_K_XLint8 0.005820.0600796.67%3,242 at 36K192.7 eval
D8 K8V407f11e6734UD-Q4_K_XLk8v4 0.006760.0619296.39%2,831 at 36K192.3 eval
D8 K8V4, drafter int807f11e6734UD-Q4_K_XLk8v4 0.006760.0619296.39%2,845 at 36K192.5 eval
D8 rotated 4-bit (branch)add8d0efd6UD-Q4_K_XLq4_0 0.007790.0691496.07%2,745 at 36K191.1 eval

Those rows were built at the commit shown plus the uncommitted dense engine change named in their eval README. The rotated four-bit row's commit is the id CMake recorded when it configured; its README names the tree it rebuilt from.

The non-regression gate

What the dense work had to prove about the sparse path. The stored summary still reads fail on the first high-context prefill; the README records the quiet-host rerun that passed.

GateVerdictWhat it measuredRun
Greedy identityPASS900 of 900 tokens identicaleval
KLD and speedFAIL, then PASS on the quiet-host rerunKLD 0.08195, first choice 90.45%; high-context prefill -0.28% on ABBA meanseval
Sampling distributionPASSfirst choice, first ten, log-probability and first-token TV inside the reference spreadeval
Tool callsPASS24 of 24 cases agree with the referenceeval

The findings ledger

Each entry is a claim, the number behind it, the run that made it, and what it does not prove. The status is the site's own: measured, open, or on a branch.

The sparse build's distance from the full-precision base

measured

The UD-IQ4_XS v3.1 sparse build agrees with the full-precision model on 90.45% of next tokens at mean KLD 0.08195, over 100 chunks of wikitext scored against the frozen base. The gate runs through the decode path in verify windows of 3 tokens.

The score is the whole build. The weight quant's own share is not isolated, and 195 hc_* tensors are cast to the full-precision format at conversion, so that rounding is inside the score too.

2026-11-17 · eval · sources: eval, doc, eval

The 8-bit cache is the sparse setting

measured

At 0.08195 mean KLD and 90.45% first-choice agreement, the 8-bit cache is closest to the full-precision base within the gate's noise, and it has the fastest prefill at both scored depths. The 16-bit cache's paired interval holds zero, so this gate cannot rank it ahead; it also cuts the deepest prefill from 6,019 to 2,997 tokens a second.

The gate scores short chunks, so it cannot see cache rounding that builds up deep in a long context; needle retrieval at the deep contexts is the guard. The fp16 interval is [-0.00061, +0.00131].

2026-11-17 · eval · sources: eval, eval, eval

Draft window 8

measured

Window 8 is the engine default and the measured choice: structured decode runs at 266.0 tokens a second, against 238.1 at window 5; window 12 reaches 267.9 and drafts no further than 7.81 tokens a pass, the same as window 8 (7.81).

Window 12 drafts no further than window 8 and costs another draft step. The fixtures are sampled, so the token counts differ between windows; structured output is the cleanest decode comparison.

2026-11-17 · eval · sources: eval, eval, eval

Above the Strata floor at both needle depths

measured

On the same card and the same pack, at the card's 350 W limit, sparse decode reads 123.1 tokens a second at the 36K needle against Strata 0.2.10's 68.1, and 121.0 against 86.6 at the 137K needle. Prompt reads 6,298 against 2,403, and 5,664 against 2,864. Warm decode runs from 147.8 to 181.6 against 94.6 to 100.5.

Halocline runs its drafter with the int8 cache; Strata 0.2.10 runs DFlash2 with the q4_0 cache. The Strata column is its quiet-host rerun, and no KLD gate has been run on Strata here, so this is a speed comparison only.

2026-11-17 · eval · eval · sources: eval, eval, eval, eval, eval, eval, doc

The scope removals changed no greedy token

measured

900 of 900 greedy tokens are identical from the build before the multi-GPU removals to the published build, with placement pinned: the same 7,961 expert slots, 18.20 GiB in the card's cache and 41.30 GiB page-locked in RAM, none on the SSD.

Greedy output only; it says nothing about the sampler under temperature.

2026-11-17 · eval · sources: eval, eval, eval

The dense work did not move the sparse path

measured

The sparse non-regression gate on release b22ecbb2 scores the same mean KLD, 0.08195, and the same first-choice agreement, 90.45%, as the served release d314a21a; its scored rows are byte-identical. On the valid pair, at the 350 W limit, decode moves by at most 0.63% across the three fixtures, and high-context prefill moves by -0.28% on the quiet-host ABBA rerun.

The gate's stored summary still reads FAIL: its first high-context prefill arms were invalid on both builds, stopped by the engine's stall guard while the host was short of memory. The README records the rerun as PASS, inside the gate's 3.00% band; summary.md was not regenerated.

2026-11-17 · eval · sources: eval, eval, eval, eval, doc, eval

Both dense quants load and generate

measured

Qwen3.8-27B UD-Q4_K_XL loads 15.79 GiB on the card with 0.67 GiB of embedding in page-locked RAM; it prefills 27 tokens in 41.0 ms and decodes 96 tokens in 2,459 ms. UD-IQ4_XS loads 12.87 GiB on the card and decodes the same 96 tokens in 1,853 ms.

One prompt, greedy, a short run: a load and coherence check, not a speed benchmark.

2026-11-17 · eval · sources: doc, eval, eval, eval, eval, eval, eval

Dense parity with llama.cpp on the same weights

measured

Halocline scores 0.00582 mean KLD and 96.67% first-choice agreement on UD-Q4_K_XL with the 8-bit cache; llama.cpp scores 0.00573 with the f16 cache on the same GGUF. The difference sits inside llama.cpp's own error bar of ± 0.00023.

The base is the same frozen file for both arms, but the cache formats differ. The comparison is distributional, not a task result; KLD near the baseline does not rank models, which is why the task suite is open work.

2026-11-17 · eval · sources: eval, eval, eval, eval

The K8V4 cache: a small measured cost for more context

measured

The K8V4 cache costs +0.00093 mean KLD over the 8-bit cache at the first dense context, paired [+0.00074, +0.00113], and -0.28 first-choice points. The planner reaches 175,629 context cells with this cache and the drafter in the 8-bit format, against 138,061 for the 8-bit main cache with the same drafter.

The gate scores short chunks; the depth finding below measures the gap at depth. The drafter's cache format changes no scored row.

2026-11-17 · eval · sources: eval, eval, eval, eval, doc, doc

At depth the K8V4 cache costs what it cost at the start

measured

With a prefix of 65,536 tokens the K8V4 cache costs +0.00072 mean KLD over the 8-bit cache, paired [+0.00050, +0.00095]; with 140,288 tokens it costs +0.00066, paired [+0.00050, +0.00082]. The gap does not grow with depth. The 4-bit K and V cache costs +0.00185 at 65,536, paired [+0.00135, +0.00234]. Since the maintainer's decision the q4_0 cache is the served dense profile, at 262,144 tokens.

Each depth scores different text, so formats compare within a depth only. The 4-bit K and V cache's full-context arm has not run: that protocol needs more cells than the model's native context.

2026-11-18 · eval · sources: eval, eval, eval, eval, eval, eval, eval, eval, doc

Full context is on a branch, not shipped

on a branch

With the int8 cache, 262,144 cells need 11,830 MiB and find 7,597 MiB free on UD-Q4_K_XL; the fp16 cache needs 19,766 MiB, so neither fits. The 4-bit K and V cache reaches 265,176 cells with the drafter ring, at +0.00197 mean KLD over the int8 cache at the first dense context. That code is on a branch; the served profile is 262,144 tokens.

The context ceilings come from the planner test, not a loaded session; that arm's cost is the 36K gate, and a full-context load with depth KLD is open work.

2026-11-17 · eval · eval · sources: doc, doc, eval, doc, eval, eval, doc, eval, doc, eval

Dense prefill clears the floor; decode is not yet like for like

measured

At the 36K context, Halocline prefills at 3,242 tokens a second at the card's 350 W limit, against NInfer's 3,215 on the same card. Halocline's arm is UD-Q4_K_XL; NInfer uses its own format. Halocline's own decode is 98.5 on the conversation fixture and 86.8 on prose; NInfer's smoke decodes at 118.0 at the same context on a different fixture, so the site does not rank decode.

The like-for-like decode run is the roadmap's NInfer item and has not run. The NInfer prompt at this depth is its uncached first run; the later runs hit its prefix cache and are not comparable.

2026-11-17 · eval · eval · sources: eval, eval, eval, doc, eval

Sampling and tool calls hold on the sparse path

measured

At the sampling gate's temperature, the first choice, the first ten choices, the log-probability and the first-token TV all sit inside the reference build's own seed-to-seed spread, and the tool-call set agrees on 24 of 24 cases with the reference.

One labelled set, one sparse release. A broader tool-call set and dense sampling are open work.

2026-11-17 · eval · sources: eval

What this site does not claim

open

None of these exist in the repository: a KLD score for Strata, a KLD score for NInfer, KLD at long context, and a task-level eval. This site therefore makes no quality comparison against either engine and no claim that the caches hold at depth. The runs ledger is assembled from eval directories because no release-gate report file exists; profile and manifest hashes are not recorded by these runs.

Each gap is a row in docs/testing.md with its accept criteria, not a hidden assumption.

2026-11-17 · doc · doc

One community row, not a crowd

open

The community preset has one row, from the maintainer's own machine. It demonstrates the preset; it is not evidence from a stranger's card, and no comparison on this site uses it.

The row is in docs/community/benchmarks.json and has no eval directory of its own, so it is not used for any number here.

2026-11-17 · doc · doc

Open water

The work the repository names but has not done. These are the reasons a claim is missing, not footnotes to hide.

  • open Full context with the drafter and vision A full-context load with the drafter and vision, the depth-KLD table at the deep windows, and decode at those windows above the NInfer floors. the roadmap
  • open NInfer quality and a like-for-like speed run One table with every arm on the same base and the same fixtures; KLD only if NInfer exposes the gate; speed ABBA with the power limit recorded. the roadmap
  • dense measured, sparse open KLD at long context Scored windows placed at the deep contexts, per cache format, against the same frozen base. The dense path has its table (the depth finding); the sparse path's has not run. the gates · the roadmap · evals/2026-11-17/halocline-d8-depth/
  • open Strata KLD The same gate on Strata with its own pack and reference, so the speed table gains a quality column. the gates · the roadmap
  • open Task-level eval A Lite run with a recorded resolve rate, no engine failures, and one scaffold for every arm. the roadmap
  • open Tool calls beyond one set A broader labelled set with whether-to-call accuracy against the reference path. the gates · the roadmap
  • open Dense sampling distribution Seeded runs per prompt, with the first choice and the first ten inside the reference build's own spread. the gates
  • open A release-gate report file One file per release with the commit, the profile and manifest hashes, KLD and speeds, so the ledger names a release instead of an eval directory. the gates · the roadmap
  • open Concurrency and cancellation Scripted concurrent clients and aborts mid-stream, with no stuck leases. the gates
  • open The container image Build, serve and one smoke inside the image. the gates · the roadmap
262K · Floor

Lineage and build

The engine starts from a one-time snapshot and has no upstream after it. Credit where the code came from.

Lineage

  • Strata by Niko1221 and contributors: the expert-offload engine the rest descends from.
  • Basalt by Jesús Gulfo: the multi-model engine forked from Strata.
  • basalt_ada: the Ada port this snapshot merges.
  • Infernix by Wallawalla47: tile layouts in several kernels.
  • Unsloth for the GGUFs, and Qwen for the models, each under its own licence.

The original notices are in LICENSE and THIRD_PARTY_LICENSES; LIFTS.md records the snapshot.

Build and run

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=89 -DBUILD_TESTING=ON
ninja -C build
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt

halocline serve Qwen3.8-27B-UD-Q4_K_XL-vision.halo --host 127.0.0.1 --port 8093 --spec 8 --long-context --vision dynamic

The commands are from the README's build step and its serve step. The test, convert and validate steps are there too. The repository holds every eval, every gate hash and every log behind the numbers on this page.

The repository README's hero plate: a water column split by one bright boundary.
The repository's README hero, unchanged. Its labels are the README's; every number in the research above is read from the data files. The social preview stands in when the reader asks for reduced motion.