Repository navigation
Releases
crit-eval 0.7.3
Overview
crit-eval 0.7.3 keeps protocol crit-eval-v0.7.1: no score moves. The speed cases record the GPU's energy per prompt
and output token (reported, not judged), and the gate pre-check judges every quality text's drift by the run's
budget. The quality modes, the row exactness levels, the default VRAM headroom and the max context's KV arithmetic
come from crit Core, with a copy only for an older crit-core. crit eval ab keeps the model loaded between rounds
where the adapter keeps it, a kernel trace records memory copies beside kernels, and a speed disturbance names what
the engine's own memory did. A resumed round reads the rates the round it resumes measured, and the reference resumes
transformers 5.23's qwen4_exp in chunks and keeps its exact block-indexer form there. crit 0.22.0 ships with
crit-eval 0.7.3.
Added
-
Energy per token in the speed cases (reported, not judged; crit-labs/crit#59): while a round's speed suites run, a
side thread reads the engine's GPUs through NVML, the energy counter where the driver has it and the power draw
otherwise, and each greedy and sampled case recordsenergy: joules per prompt token (its prefills) and per output
token (its decodes), average and peak watts. The result'senergynames how it was read and the device's draw at
rest before the suite (idle_watts), each suite holds the geometric means, andstatusprints them. Two engines
at the same tok/s could draw very different power, and Eval did not measure it. Without NVML, with every GPU hidden
or on a driver that reports neither figure,energyis unmeasured and says why. No score or gate moves. -
The gate pre-check judges drift (
precheck_quality): every quality text the engine holds, scored and judged
against the reference's stored scores by the run's budget (--quality-budget, crit's run budget throughcrit run serve --check --data), as the quality gate judges it, the honesty check left to the honesty items. A staged round
scores the long texts only from stage 2 on, so an engine whose approximations drift at depth failed quality most of
an hour into a round: a Qwen3.8-Flash-Next candidate that kept 6 of its 10 routed experts passed every pre-check
item and failed quality in its stage 2 Eval on the 32k-token text (mean KLD 0.59 against 0.4). Data without
reference scores leaves the item unverified;--no-driftleaves it out.
Changed
- The default VRAM headroom and the arithmetic of the max context's device limit are crit Core's:
VRAM_HEADROOM_GIBiscrit_plugins.memory.HEADROOMin GiB (0.25), andlimits.context.max_contextcomputes
the KV that fits withcrit_plugins.memory.kv_fit, the arithmetic the engine is sized by; a crit-core from before
Core held them gives the same here. Every result is unchanged: the budget subtracts the same amounts in the same
order. The weight split, the tensor roles, the reserve and the protocol's KV precision stay Eval's. - The quality modes and the row exactness levels are crit Core's (
crit_plugins.exactness):quality.fixed's
QUALITY_MODESandrun.quality_checks'EXACTNESS_LEVELSimport them, and keep their own copy only for a
crit-core from before Core held them. No result changes. crit eval abkeeps the model loaded between rounds where the adapter keeps it (crit-labs/crit#38): an adapter
both engines share is loaded once, so what it keeps in the process between its engines (Core's adapter: the
plugins' host-side stores, such as a large MoE's experts packed in host memory) serves both engines in every round,
and its optionalrelease()frees it after the last round. Each round records each engine's load time
(load_seconds). The two engines had been loaded through two copies of the adapter, each building its own.crit eval kernelsrecords memory copies beside kernels (CUPTI's memcpy activity) and reports each case phase's
copies (count, bytes by direction, time, and the time a copy ran while no kernel did), and before a prefill's first
token the time the device only copied (link_before_first_ms). The first-token breakdown and the prefill terms
now show that time as the link's (link, "copies alone") instead of the host's. A kernel trace alone left every
copy in the gap between kernels: on a Qwen3.8-Flash-Next engine whose experts live in host memory a fresh 87-token
chat prompt read as 617 ms of host work beside 64 ms of kernels, though the placement's own floor (674 ms, bound by
the experts a prompt moves over the link) said where that time goes.- A speed case's disturbance message names what the engine's own memory did over the case, from its telemetry's
memory(crit's Core reports it): each giver's bytes given back and taken again (an expert cache's slots, kept
prompts) and its steps' segments refused, past the arena or past the headroom, or that it held still. On an
engine whose memory has givers, low free device memory reads low by design instead of "nearly full". A
Qwen3.8-Flash-Next build's aborted certified Eval blamed page-cache misses, host threads and WDDM paging, and
called 0.5 GB free nearly full, while the expert cache was giving back 2.4 GB on every prompt.
Fixed
-
The reference's exact form of Qwen4Exp's block indexer binds on transformers 5.23 too. 5.23 changed the indexer's
forward (its selection is a boolean mask whatever the attention mask), so its source no longer matched the one the
form was checked against and the reference fell back to transformers' per-query loop.CHECKEDholds each
checked release's source (5.20.2 and 5.23.0), and the form returns the mask type its release's loop returns. -
The reference resumes a model whose forward keeps state on a cache layer: whatever the forward keeps there
besides what the decoder layer's own run writes (transformers 5.23's qwen4_exp keeps its indexers' position
history on the first indexed layer, and every forward extends it) now stays resident with the cache's own
attributes. It is snapshotted per chunk, restored when a capture waits, and copied to a text that shares a prefix.
PromptState pages out only the attributes a layer's run writes. Before, it paged the whole layer, the forward
read a meta placeholder, and on transformers 5.23 every qwen4_exp reference scored each text whole instead of
in chunks, layer-major (the rows were right, the passes whole). Scores are unchanged. -
A checkpoint's gathered rows of an FP8 tensor (
Checkpoint.rows_many, by which the quality reference gathers a
matrix's stored rows and their scales) failed on a torch whose CPU indexes no FP8 tensor (torch 2.9:"index_cpu" not implemented for 'Float8_e4m3fn'). The rows are gathered as their bytes and then read as the tensor's type, the same rows on any
torch. -
A resumed round reads the rates the round it resumes measured, also after its engine loads partway through the
replay. The engine loads when Eval reads an attribute only the engine has (the honesty check'sas_served), and
from then on the stages' rates read the engine's own request deadline, which had learned the journal's requests
up to the load and none it answered after. An interrupted staged round whose honesty replies gave its only
prefill observations went on to stage 3, its resumed round fitted no rate and stopped after stage 1, and the
journal measured live from there (tests/test_run_eval.py in crit failed now and then on a busy host). Each request
the journal answers after the load is now observed by the engine's deadline too. -
The energy meter dates a reading by the calls of the figure it integrates (the energy counter, else the power) and
no other. A reading's time was the midpoint of every GPU's power and counter calls together, so a stall between
them (the host busy elsewhere) dated the counter by the power's calls: over the 2 s idle window a stall of about
5 ms read a constant 250 W as 248.8 W, and tests/test_eval_energy.py failed now and then on a busy host.
crit-eval 0.7.2
Overview
crit-eval 0.7.2 keeps protocol crit-eval-v0.7.1: no score moves. crit eval probe measures the device-to-host turn
(host_turn_us), and the placement prices that turn once a routed layer in the floors of a plain pass whose expert
misses the CPU computes. It reads the routed layers through crit-core's routed_layers, so it needs crit-core 0.21.0
or later; crit 0.21.0 ships with crit-eval 0.7.2.
Added
crit eval probemeasures the turn from the device to the host and back (host_turn_us: a row written on the
device, copied to pageable host memory, copied back and synchronized, the median of 64), and the placement adds
one turn a routed layer to the floors of a plain pass with misses computed on the CPU (plain_pass_floor_ms.cpu
and.split, with that part ashost_turns_ms). A layer whose misses the CPU computes hands its rows to the host
and waits for the answer whatever the CPU's own rate. On an RTX 5090 under WSL2 the placement priced the CPU at
18.3 ms a pass and the link at 30.7, while the loaded engine measured 464 us a missed expert on the CPU (378 of
it the turn) against 102 over the link and took the link. The probe's turn there is 131 us (an idle device, no
registered memory), which moves the CPU's floor to 26.1 ms: closer, still a floor, so the miss path stays the
engine's to measure (crit'scrit plugins offloadnow givesmisses: auto). A device file without the
measurement prices no turn, as before, andcrit eval probe'soutdatednames it.
crit-eval 0.7.1
Overview
crit-eval 0.7.1 carries protocol crit-eval-v0.7.1, in the 0.7 series: results compare with 0.7.0 ones and the
reference scores carry over. The honesty check judges an engine by the exactness it asks of its rows where it states
one, so a preserve engine may trade exact prompt rows for speed and a speed engine that asks exact rows is held to
them; an engine that states none is judged as before. Two goals with physical limits join the five KPIs in crit eval status without moving a score or a gate: the follow-up turns' first token against its floor with a prompt cache
(followup_ttft), and the most clients' aggregate against its batched ceiling with the drafts counted
(concurrency). An engine with a prompt cache is measured on full prefills while its follow-up turns may be served
from the cache. Steady state no longer measures a staged case's cold first request of stage 2 on an engine that adapts
to what it serves, and the gate pre-check's lower-context item judges as the certified gate does, on three samples, so
one slow request no longer fails it. The default VRAM headroom is 0.25 GiB instead of 1 GiB. crit 0.20.0 ships with
crit-eval 0.7.1.
Added
- The honesty check judges an engine by the exactness it asks of its rows, where it states one. An engine built
from crit's plugins states in its facts the level it asks of its decode rows and of its prompt rows
(exactness.asked:repeatable,row-exact,exactordeclared), and crit holds it to them. The check now
reads them (protocolquality.honesty.levels): prompt rows askedexactordeclaredbeside decode rows asked
row-exactor higher are the bits of the same token decoded, so the served and the scored log-probabilities must
agree withintolerance(1e-3 nats) in either quality mode; at any lower level the two paths may round apart and
are bounded asspeedbounds them (2 nats a position, 0.1 nats a reply's mean), in either mode. So apreserve
engine may trade exact prompt rows for speed and be judged by the drift budget alone, and aspeedengine that
asks exact rows is checked to have them. An engine that states no level is judged by its quality mode as before,
and the levels a mode gives by default (preserve: exact;speed: repeatable) judge as that mode did, so no
verdict moves for an engine that sets none.quality.honesty.judged_byrecords which decided, and the quality
gate's detail names the levels. The protocol iscrit-eval-v0.7.1, in the 0.7 series: the rule is new in
protocol.json; no score moves. - The follow-up turns' time to first token is a goal with a physical limit,
followup_ttft: its floor with a prompt
cache, where a turn prefills only the tokens past the prefix it shares with the turn before it over the whole
conversation's KV, which is one read of the weights for a few dozen new tokens.crit eval statusstates the goal
and its gap (follow-up turns' first token at its floor with a prompt cache) and prints the turns on afollowup
line,crit eval comparelists them, and each turn records itsnew_tokens. Until now the turns' times were in
the result and nowhere in the printed status, so an engine without a prompt cache showed no distance to close:
two Qwen3.8-27B engines on an RTX 5090 stand at 1.3% and 0.4% of this limit (1,099 and 3,496 ms against 13.9 ms).
It moves no score and no gate, and it prices results measured before it from the growth of the turns' prompts. The
run's priority rule and stop record keep their five KPIs (status.stop_record_headroomis unchanged). - Concurrency has a goal with a physical limit,
concurrency: the aggregate of the most clients measured against its
batched ceiling with the drafts counted. Each level recordsdrafted_ceiling(crit_eval.limits.batched.drafted_floor):
W draft steps reading the draft layers once for every row, a verify pass of W + 1 columns per row
(step_floor(columns=)), every row emitting the greedy suite's measured tokens per round. The one-token ceiling,
which a drafting engine beat (204% of it at one client), stays the speedup's.crit eval statusstates the goal and
its gap and prints each level against it; a drafting engine without a stated width, or a result measured before,
has the limit unknown andmissingsays why. The Qwen3.8-27B speed engine's 4 clients stand at 33% of it (250 of
754 tok/s). No score or gate moves; the run's priority rule and stop record leave it out. - A served engine with a prompt cache is measured without turning the cache off for the run: to a server whose card
declareschat-prompt-cache-v1(crit serve, for an engine on Core's prompt cache) every timed, scored and concurrent
request carries"crit": {"prompt_cache": false}and prefills its whole prompt, while the follow-up turns and
retrieval may be served from the cache. A server without the capability gets no such field, and a reply with cached
prompt tokens still fails a timed request.
Changed
- The gate pre-check's lower-context item judges as the certified gate does, on fewer samples. It timed each speed
case once at each context and allowed twice the protocol's tolerance, so one slow request failed it, on a
different case each time a candidate was checked (first token 35 -> 83 ms, 26 -> 31 ms, 823 -> 922 ms on
layer-cut Qwen3.8-Flash-Next engines that pass the certified gate). Each case is now warmed and timed
LOWER_SAMPLES(3) times at both contexts, after the reopen too, and compared by the certified gate's own
compare_lower: medians, the tolerance the protocol's or the case's own run-to-run spread when larger, the
engine's own first-token time where both contexts report it. A case whose spread passesLOWER_SPREAD_MAX(25%)
is unverified rather than failed: three samples cannot tell a slower engine from a noisy one. - The VRAM headroom's default is 0.25 GiB (
crit_eval.VRAM_HEADROOM_GIB), no longer 1 GiB: the device memory an
engine leaves free at its peak, whichcrit eval context,crit eval runandcrit eval precheckuse where
neither--vram-headroom-gibnorsettings.toml'svram_headroom_gibsays otherwise. It is the user's knob:
every GiB of it is a GiB the engine's weights, KV cache or expert cache do not get, and on a model whose experts
do not fit the device the three quarters of a GiB are about 290 more cached experts on Qwen3.8-Flash-Next. A
machine whose desktop takes device memory in bursts sets it higher. The max context of a model that fits its
device grows by what 0.75 GiB of KV cache holds.
Fixed
- Protocol crit-eval-v0.7.1 (the coming release's working id): in a staged run, steady state (
speed.steady_state) no
longer measures a case's cold first request of stage 2 because it agreed with stage 1's request. Stage 1 decodes
each case once, and the other cases run before stage 2 measures it again, so an engine that adapts to what it serves
(a device expert cache, a residency that follows the routed experts) meets stage 2 as cold as stage 1: the two
requests agreed within 10%, the first was measured, and the case's speed rising as the engine adapted (55, 82, 86
tok/s) stopped the round as a disturbed device. Such a first measured repetition is now provisional: when the
request after it spreads from it by more than the tolerance, it stands as one more warmup and that request is judged
against it. An engine whose second stage agrees with its first measures as before; unstaged runs, whose warmups are
their own, are unchanged (Dualshok3, #16).
crit-eval 0.7.0
Overview
crit-eval 0.7.0 starts protocol series crit-eval-v0.7, with protocol crit-eval-v0.7.0. The protocol changes since
0.6.1: the sampled suite runs in stage 1, so every candidate's decode KPI is the sampled one; the generality gate
judges each held-out prompt against its own acceptance noise; and the ceiling and the batched step count the KV cache
as Core does, keys equal to values cached once. The reference reads EXL3 checkpoints and Gemma 4 GGUFs, and
scoring_refusal says from a model's files alone why the reference cannot score it, which crit run create states
before any candidate is built. Results do not compare with 0.6.x ones; the reference scores carry over.
Added
crit_eval.quality.checkpoints.scoring_refusal(model)says why the reference cannot score a model, from its files
alone: a model Core cannot open or whose config its rules refuse, a GGUF architecture without layout rules or one
the gguf package does not know, a scheme no CPU decoder reads, a model type the installed transformers has no
modeling code for. crit run create states it before any candidate is built.- Gemma 4 GGUFs are read for the reference (
gemma4,crit_eval.architectures.gguf_gemma4): the config states
the sliding and full layers' own KV heads and head size, keys equal to values, the shared-KV and per-layer-input
keys, the MoE block withtop_k_experts, and both layer kinds' RoPE (the full layers' partial rotary factor from
the converter'srope_freqs); the reference moves the router's scale vectors back and reads the fused or split
experts, with no rounding. Its block formats (Q8_0, IQ4_NL, IQ4_XS, IQ3_S and the K-quants) decode through gguf-py,
as Core's own decoders decode them. Proven by a round trip through the reference converter. - EXL3 checkpoints are read: the reference decodes their matrices on the CPU (the tiles bit for bit as the format's
decoder gives them, for every codebook and bitrate, the Hadamard rotations and sign vectors in FP32), and the
ceiling counts them at the bf16 rate. EXL2 stays refused.
Changed
- The protocol is
crit-eval-v0.7.0, a new series: the two changes below changedprotocol.jsonunder the released
crit-eval-v0.6.0, which the test that pins every released protocol to its hash refused. Results under
crit-eval-v0.6.0compare with each other, not with these. - The ceiling and the batched step count the KV cache as Core does (
kv_elements_per_token): a full-attention
layer whose keys are its values caches one tensor, and a latent-attention layer its latent and rope key, where
they counted K and V of every KV head. That halves the ceiling's and the concurrency floor's KV bytes per token for
keys-equal-values models such as Gemma 4 and changes them for latent-attention ones; other models are unchanged. - The sampled suite runs in stage 1, so every candidate's Eval scores the sampled decode KPI and the sampling check:
a run capped at stage 1 or 2 used to score greedy decode only, and a plan forecast from those Evals missed the
first certified one on decode by the gap between the two suites. It adds about one greedy suite's decode time to
stage 1 (the warmup that serves the sampling check and one seed per case). Exactness and the follow-up turns' second
pass stay stage 3's. Results measured before are unchanged; a stage 1 or 2 result from crit-eval 0.6.1 has no
sampled suite to compare with. - The generality gate judges each held-out prompt against its own noise: a prompt fails when it decodes slower than in
the baseline by more thanprompt_toleranceor, where that is wider, by more thanprompt_noise_z(2) standard
errors of the change, from the drafts each result's rounds accepted on it. A 64-token reply is about 25 rounds and
each run decodes its own text at its own drawn length, so one prompt moved 10-20% between Evals of the same engine
and failed the gate on noise. The held-out decode score'stoleranceis unchanged, and so is a prompt of an engine
that reports no rounds.
Fixed
- The honesty check reads the scored top-k list the way the served one is read: an alternative no bytes name (a token
that reads as U+FFFD, which the served list leaves out) is left out of the scored list too before the two are
compared, and the scored list's edge stays its own k-th value. Such a token sitting above the scored list's edge
failed an engine whose served and scored replies agreed bit for bit.
crit-eval 0.6.1
Changed
- The machine's settings (
settings.toml: the headroom,context_reserve_gib,context_tokensandeval_packages)
come from the crit project crit names inCRIT_PROJECTwhen it names one: crit run's--project, and for
crit evalcrit's checkout or, for a crit installed without a checkout, the folder it runs in. A crit run's Eval
thereby reads the settings its run reads, also from an installed crit, where crit-eval found no checkout and used
the defaults. A named project withoutsettings.tomlhas none; without a named project crit-eval reads its own
checkout's, else the crit checkout's, as before. The protocol and suite are unchanged.
Fixed
- The reference's PyTorch state-dict checkpoint keeps no file mapped. It kept each file's
torch.load(mmap=True)
state dict for as long as the object lived, and a dropped reference waits for garbage collection, so Windows could
not delete or move the model's files meanwhile. It reads each tensor from the bytes Core located, mapping the file
for that read alone, and a lookup reads only its rows. The GGUF and ONNX checkpoints already kept no file mapped or
open between reads.
crit-eval 0.6.0
Overview
crit-eval 0.6.0 starts protocol series crit-eval-v0.6, with protocol crit-eval-v0.6.0. The protocol changes since
0.5.3: the quality modes are preserve and speed, the default (as_quantized is gone), and the speed mode's prefill
and first-token limits are the fastest prompt arithmetic it admits; the concurrency part becomes a gate (batched
replies equal serial ones, and requests run together); a staged run measures the held-out prompts in stage 1; and no
limit rests on an assumed expert cache hit rate or on KV bytes per token the engine did not report. A crit engine
package is measured through Core's eval-v1 adapter (--package), and crit eval precheck checks in minutes the gates
whole rounds most often fail on. Results do not compare with 0.5.x ones, and data prepared under 0.5.x is prepared
again; the reference scores carry over.
Added
--package DIRonrun,precheck,pin,kernelsandab(--package-b): a crit engine package (its
plugins and the configuration that selects them) is measured through Core's eval-v1 adapter
(crit_core/eval_adapter.py), which opens it through Core's loader, with--configover the package's
configuration.json. A crit package carries no adapter of its own.--adapter(andab's--adapter-b) refuses a file inside a crit run folder: a crit engine is its plugins,
measured with--package DIRthrough Core's loader as crit serve runs it; an engine outside crit keeps
--adapter.- The concurrency gate (protocol
concurrency.gate): the concurrency part, reported until now, fails an engine whose
batched replies differ from its serial ones (in quality modespeedat a fork that is not a near-tie, judged on
the engine as protocolforksjudges one), a level that did not qualify (a failed, missing or duplicated request,
fewer requests in flight at once than clients), or a level of 2 or more clients whose requests did not run
together: one reply streaming at a time (streaming_peak,ran_together; clients see every request they sent in
flight whether the server queues it or not, so only overlapping replies show the server ran them together). A level
whose replies each came in one chunk shows no overlap either way, and leaves the gate unmeasured. How much more a
level serves is a KPI, not the gate: each level'sspeedup(its aggregate over the 1-client level's) beside
expected_speedup, the cost model's for the engine's placement (the batched ceiling at N rows over the ceiling at
one row, both at the run's single-stream expert cache hit rate), andfraction_of_expected;statusprints them on
a line of their own andcomparebeside each level's aggregate. An engine whose expert misses come from host memory
brings them anew with every row, so it serves little more at N rows than at one, and the expectation says so.
Without the ceilings, or for an engine whose experts the device cannot all hold with no hit rate (measured or
declared byhost_bytes_per_pass), the expectation is unmeasured with the reason (expected_missing). Results
measured before this change are no longer read: re-measure them. - First-time and settled decode side by side (protocol
speed.fresh_decode, reported, not judged):statusshows
the greedy suite's decode on each prompt's first request beside its settled decode and the repeat speedup, every
run, not only past a 10% difference, and each suite recordsrepeat_speedup. With a pinned continuation a case's
first request is its first free generation, which runs before the replays; before, the first replay after two
generations stood in for it. crit eval probemeasures the CPU expert lane (host_expert_gbs): integer block rows at 1, 3 and 8 tokens an
expert on one thread per core, and at 3 tokens beside expert-sized link copies. The placement prices misses
computed on the CPU at the lane's rate, and a CPU/link split at the two rates measured together, instead of the
host memory read rate, which FP32 rows never reach. A probe from before reads as outdated.crit eval precheck: in minutes, the gates a candidate most often fails a whole round on, each once: honesty of the
short texts and of one long reply at the curve's first point, the request history around them (forks judged in
speed), the device memory after the load and, with an adapter, the speed cases at the lower context
(crit_eval.run.precheck). One engine spent most of its candidates on rounds that failed one of these at the end.
Changed
- crit-eval needs crit-core 0.17.0 (
crit-core>=0.17.0, still no upper bound):--packagemeasures a crit engine
package through Core's eval-v1 adapter (crit_core/eval_adapter.py), which crit-core 0.17.0 ships. - Protocol crit-eval-v0.6.0: its content changed after the 0.5.x releases, which all ran crit-eval-v0.5.0. Both are
pinned beside the other released protocols, so a change under a released id fails the tests. - Quality modes
preserveandspeed;speedis the default ofcrit eval run,crit eval precheck,runner.run
andprecheck.run_precheck. Protocol keysquality.mode_thresholds.speed,quality.honesty.modes.speed,
forks.modes: ["speed"]. Every result states its mode:fixed.mode_ofrefuses one that states none or another
(as_quantizedincluded), andmetrics.mode_thresholdsa mode the protocol has no budget for. - protocol
quality.modesand docs/MEASUREMENTS.md define a mode as the drift from the selected checkpoint traded for
speed; the speed budget is the same for every checkpoint however stored. - In
speed, the prefill and first-token limits are the fastest prompt arithmetic the mode admits on the quantized
matrices (the stored format's own, FP8 or 16-bit,headroom.MODE_ACTIVATIONS) or a faster one quality shows passing,
so never below preserve's. Unchanged where the stored format is the fastest the device prices. On a device without
4-bit tensor cores the probe widens NVFP4 to the BF16 rate (ceiling.best_rates), so before this change the mode for
speed was priced there at W4A16, below preserve's FP16 accumulation; it is now priced at FP8 prompt activations. - A preserve result's status names what
speedwould price for it (kpis.prefill.speed_trade, from that mode's own
limits, shown when above preserve's) instead of the stored format's ceiling. - The closed track takes either quality mode judged by that mode's protocol budget unchanged; a
--quality-budget
other than it, looser or tighter, failstrack.closed.quality_mode. Results compare within one mode:crit eval comparewarns on results of different modes, and prompt-activation quality evidence counts only from results judged
in the same mode. - The reference's allowance pass is
StreamingReference(declared_activations=True)(its identity
"allowance": "declared_activations","activations": "declared"), not a quality mode. quality_checks.quality_thresholds,run_quality,run_attributionandrun_honestytake the quality mode as a
required keyword (mode=), andmetrics.mode_thresholdsas a required argument: nothing assumes preserve.- A prompt set's perplexity ratio is reported, not judged, on every line that shows it: protocol
quality.prompt_perplexity(since crit-eval-v0.2.1) judgesSET/promptby KLD alone in either quality mode, and
the run's log,crit eval compare's set rows and the status's quality line now say so, the status naming the served
set its worst judged ratio is over. README's perplexity KPI is the worst served set's, as status computes it. - The device memory a run records (protocol
context.device_memory) takes the smaller of nvidia-smi's free memory
and the served engine process's own (crit serve's/healthdevice_free_bytes, cudaMemGetInfo in that process),
keeping both: under the Windows display driver nvidia-smi counts only resident memory, and read a candidate with
0.29 GiB left to allocate as 0.97 GiB free. - The lower-context gate of a certified run gives each speed case one warm-up on the reopened engine, as the
engine at the requirement had been warmed by the parts before it, and judges the first token on the engine's
own first-token time where the engine reports it at both contexts (ttft_judged"engine",engine_ttft_change):
a candidate whose engine was as fast at both contexts failed on 2.5-4 ms of server time on 31 ms first tokens. - The batched ceiling prices a model whose weights the device cannot all hold: the resident weights off the device
(at most those a step reads) and the touched experts the device cannot hold (the capacity bound) come from host
memory every step, and so do those the engine's expert cache misses at its hit rate: a level's own where its
requests reportexpert_reads/expert_hits(level requests: a served cohort'scrit_telemetry, Core's
in-process cohort rows; this prices the level's ceiling andfraction_of_ceiling), else the run's single-stream
rate (the decode suite's requests, else the engine'stelemetry()counters, else the rate its
host_bytes_per_passimplies; this prices every level's expectation). The host bytes take the faster of the host
link (bytes over the probed link rate) and the CPU (the longer of bytes over host memory's read rate and the rows'
arithmetic on their share of them over the probed CPU rate), recorded ashost_path,host_msand
host_paths_ms; the step'sboundmay belinkorcpu. - No limit rests on an assumed expert cache hit rate. The "even routing" fallback (the device's share of the experts)
is gone: a decode pass's, a prompt's and a long-context point's expert misses are priced at the engine's measured
hit rate, and at least at the device capacity bound (the touched experts the device cannot hold: every off-device
expert for a prompt long enough to touch them all). Without a measured rate the misses beyond the bound are
unmeasu...
crit-eval 0.5.3
Fixed
- A served engine's request deadline is replayed as it observed each request: a call line keeps what the deadline
observed (observed), and a resumed round gives exactly that back. Before, replay rebuilt it from the token
arrivals, which the engine times a little otherwise, so the stages' first estimate could read other rates and a
resumed round leave the journal early.
crit-eval 0.5.2
Fixed
- A resumed round replays the round it resumes again: a request that raised (a served engine's load count read from a
server without it) is a journal line, raised again on replay; a served engine the journal answers keeps the
request deadline its requests would have given it, so the stages' first estimate reads the same rates; and the
closed track's last load count is read only by a round that measured to its end. Before, a resumed round left the
journal at its first request and measured everything live.
crit-eval 0.5.1
Fixed
- crit-eval installs beside any crit-core from 0.12.0 on (
crit-core>=0.12.0, no upper bound). crit pins the crit-eval
it ships with, so a crit-core release no longer needs a crit-eval release to widen the bound.
crit-eval 0.5.0
Overview
crit-eval 0.5.0 starts protocol series crit-eval-v0.5. The protocol changes since 0.4.1: a run measures fewer
repetitions (one greedy repetition, one sampled seed per case, held-out prompts at 64 tokens once) at steady state, and
reports stalls, a fixed-denominator decode fraction and tool-call validity; only a certified run opens the lower-context
engine, and an engine that declares no prompt cache is sent no follow-up turns. The held-out prompts and the
long-context curve's points below the requirement are measured at lengths each run draws. Quality mode as_quantized is
the mode for speed: its budget is eight times preserve's, runs no longer need the allowance, and it passes replies that
fork at a near-tie and served and scored paths that differ within a bound. Reported only: the concurrency part, memory
tiers in the floors, the closed track's checks and the pricing of several GPUs as one device. Results do not compare
with 0.4.x ones, and data prepared under 0.4.x is prepared again; the reference scores carry over.
Added
- Forks in quality mode
as_quantized(protocolforks, measurements):
an output difference therepeatable,request_historyorprompt_cachegate records passes when the two
replies part at a near-tie. crit-eval scores the shared prefix once through the engine's scoring path, and the other
reply's token must be among the top 16 within 2 nats of the first. An engine whose arithmetic depends on what it
served before (experts on the CPU or the device, a cache's state) can then run 4-bit formats as it likes, while a
fork one token clearly wins, a stale cache entry or a race, still fails.preserveis unchanged. - In
as_quantizedthe quality honesty check bounds the served and scored paths instead of asking for the same values
(protocolquality.honesty.modes): each log-probability within 2 nats, and each reply's mean difference within 0.1
nats. Paths that round apart where the engine's arithmetic depends on what it served before no longer fail quality. - The kernel workbench's check accepts a kernel declared
"repeatable": falsein kernel.json (atomics, or a split the
workload chooses, foras_quantizedengines): its repeats are judged against the FP64 reference within the
tolerance (repeat_relative_error) instead of bit for bit. - Output that varies (protocol
speed.output_varies): a speed case whose measured repetitions decoded different
greedy replies is measured over them, with the disturbed check comparing repetitions of the same reply only, and
recordsoutput_varies(the distinct replies and their decode spread); the repeatable gate fails on it as before.
Before, such an engine stopped the round as a disturbed device and got no result. - Fresh decode (protocol
speed.fresh_decode, reported, not judged): each suite recordsfresh_decode_score, the
geometric mean of every case's first request before its warmups, andstatusshows it beside the decode score
when they differ by more than 10%. Steady state measures a prompt the engine has just served, which an engine with
an adaptive expert cache, or one that drafts from its earlier replies, decodes faster than a new one. - A decode above its ceiling says why in
status: the ceiling priced the expert cache at even routing, or counted one
token per pass, because the engine reported noexpert_reads/expert_hitsoraccepted. Any OpenAI-compatible
server can stream them in acrit_telemetryobject, as crit serve does. - Several GPUs (protocol
context.devices, measurements):
crit eval probe --devices all|N,Mmeasures every GPU and the copy rate between each pair (the CUDA probe's
--device,--countand--peermodes). A run with that device file counts the members' memory together for the
max context, prices its floors as one device by the faster split of the weights (tensor, with two all-reduces per
layer over the slowest link, or pipeline, with its hand-overs) and the members' summed rates, and samples device
memory on every member; the result records the members and the split (device.device_set). Checked on one GPU (the
probe's device and peer modes, device 0 to itself) and with host tests; nothing ran on two GPUs. Before, Eval
probed and priced GPU 0 alone. - Closed and open tracks (protocol
tracks, measurements):
a result'strack.closedchecks what a run shows of the closed track, which fixes the choices that move scores for
reasons other than engine work: the quality mode (preserve), one load for the run (a served engine's/health
engine_loadsunchanged from its first request to its last; served engines answerloads()), and a drafter that
reads no more per step than the checkpoint's own draft layers (draft_step_bytes). It qualifies when every check
passes; the submitter's card declares the rest.statusnames the checks. Before, nothing told a result that kept
the checkpoint's own choices from one that tuned them. - A result names a checkpoint in crit pull's engine store (
models/<org>--<repository>@<revision>) by its Hugging
Face repository and revision, as it does a hub cache's, so a result fromcrit benchsays which checkpoint it ran. - Memory tiers in the floors (protocol
headroom.tiers,
measurements): the weights the model files' placement leaves off the device
are priced at host memory's tier for an engine that declares nohost_bytes_per_pass, so its floor no longer rests
on its own report: resident weights that do not fit next to the required context's KV cache on every pass
(crit eval contextnow names them,resident_off_device), and routed experts by the share a token activates
(S-MBU) at the device cache's miss rate, from the engine'sexpert_hitsandexpert_readsper case (adapter
generate()results, crit serve telemetry) or even routing without them, on the faster of the link and host
memory. Prompts move each off-device expert they touch once, on the faster of the link and the CPU (its arithmetic
at the probed CPU rate): the prefill floor takes the longer of that and its arithmetic, the first-token floor the
longest of those and the device's bytes, at every speed case and long-context point, whose rounds take their own
hit rates too.statusnames the pass's host bytes and how they were priced. Before, only an engine that declared
its host bytes got a host-priced decode floor, and no prompt or curve first-token floor counted the host at all. - Prompt-length jitter (protocol
jitter, measurements):
every run draws a seed, and from it each held-out prompt and each long-context curve point below the requirement
a length of 80-100% of its nominal one, from the seed and its own name. A held-out prompt keeps the chat template
and cuts its user text in tokens (prepare freezes the frame and each prompt's text tokens; a server is sent the
cut text); a curve point fills its drawn share of the context (filled_context), with its floors priced there.
The requirement's point stays exact for the capacity gate, and the speed suite, quality, retrieval-only points,
follow-up turns and the concurrency part keep their lengths. The result recordsjitter(seed, range, every
drawn length),crit eval run --jitter-seeddraws a recorded run's lengths again, a resumed round keeps its
journal's seed, andstatusreports the held-out prompts' share of their lengths. Before, every prompt had one
fixed length, so an engine could tune CUDA graphs, tiles or prefill chunks to the suite's exact shapes and pass
the generality gate with them. - A served engine that runs several requests at once is measured at it (protocol
concurrency,
measurements): after every other part, closed-loop levels of 1, 2, 4, ... 64
clients, up to the server'smax_concurrent_requests(crit serve's model card) and the KV that N x (prompt +
output) needs, each client sending its next greedy 128-token request when its previous one ended, over the short
speed and the held-out prompts. Per level: completion tokens over the wall interval byvalidate_cohort(until now
unused), the requests in flight at the peak, time to first token p50/p95 and per-request decode p50, the share of
speed-case replies equal to the speed part's serial ones with each first difference, and the aggregate against a
batched ceiling (crit_eval.limits.batched: one decode step of N rows reads the weights once, the experts its rows
touch, E(1 - (1 - k/E)^N), and each row's KV). Staged runs price each level from the one before it; levels journal
and resume;statusandcomparereport them. An adapter's engine and a server that reports no capacity above 1
stay unmeasured. Before, nothing in Eval measured an engine serving more than one request. - Speed cases are measured at steady state (protocol
speed.steady_state,
measurements):
before a case's first measured repetition, a request whose decode speed differs from the request's before it by
more than 10% stands as one more warmup, until two consecutive requests agree or the case has had four warmups;
the extra repetition and the disturbed check apply from there on. The sampled suite does the same on the time per
target pass and asks the first measured seed again. Each case recordssteady_state(its warmups, how many the
drift added, whether it settled and its drift). Before, an engine that adapts to what it serves, a device expert
cache filling with a case's experts, spread pastdisturbed_spreadbetween repetitions and stopped the round, so
an engine passed by freezing its adaptation. An engine whose warmup agrees with its first repetition mea...