Skip to content

Releases

crit-eval 0.7.3

Choose a tag to compare

@yafitzdev yafitzdev released this 21 Nov 20:38
1edf1cc

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 records energy: joules per prompt token (its prefills) and per output
    token (its decodes), average and peak watts. The result's energy names how it was read and the device's draw at
    rest before the suite (idle_watts), each suite holds the geometric means, and status prints 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, energy is 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 through crit 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-drift leaves it out.

Changed

  • The default VRAM headroom and the arithmetic of the max context's device limit are crit Core's:
    VRAM_HEADROOM_GIB is crit_plugins.memory.HEADROOM in GiB (0.25), and limits.context.max_context computes
    the KV that fits with crit_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_MODES and run.quality_checks' EXACTNESS_LEVELS import them, and keep their own copy only for a
    crit-core from before Core held them. No result changes.
  • crit eval ab keeps 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 optional release() 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 kernels records 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. CHECKED holds 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's as_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

Choose a tag to compare

@yafitzdev yafitzdev released this 18 Nov 23:09
3de37ee

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 probe measures 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 as host_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's crit plugins offload now gives misses: auto). A device file without the
    measurement prices no turn, as before, and crit eval probe's outdated names it.

crit-eval 0.7.1

Choose a tag to compare

@yafitzdev yafitzdev released this 18 Nov 21:42
bca4e4b

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, exact or declared), and crit holds it to them. The check now
    reads them (protocol quality.honesty.levels): prompt rows asked exact or declared beside decode rows asked
    row-exact or higher are the bits of the same token decoded, so the served and the scored log-probabilities must
    agree within tolerance (1e-3 nats) in either quality mode; at any lower level the two paths may round apart and
    are bounded as speed bounds them (2 nats a position, 0.1 nats a reply's mean), in either mode. So a preserve
    engine may trade exact prompt rows for speed and be judged by the drift budget alone, and a speed engine 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_by records which decided, and the quality
    gate's detail names the levels. The protocol is crit-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 status states the goal
    and its gap (follow-up turns' first token at its floor with a prompt cache) and prints the turns on a followup
    line, crit eval compare lists them, and each turn records its new_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_headroom is 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 records drafted_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 status states 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 and missing says 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
    declares chat-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 passes LOWER_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, which crit eval context, crit eval run and crit eval precheck use where
    neither --vram-headroom-gib nor settings.toml's vram_headroom_gib says 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

Choose a tag to compare

@yafitzdev yafitzdev released this 13 Nov 21:47
7d5faf0

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 with top_k_experts, and both layer kinds' RoPE (the full layers' partial rotary factor from
    the converter's rope_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 changed protocol.json under 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.0 compare 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 than prompt_tolerance or, where that is wider, by more than prompt_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's tolerance is 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

Choose a tag to compare

@yafitzdev yafitzdev released this 09 Nov 09:02
3b3a1a7

Changed

  • The machine's settings (settings.toml: the headroom, context_reserve_gib, context_tokens and eval_packages)
    come from the crit project crit names in CRIT_PROJECT when it names one: crit run's --project, and for
    crit eval crit'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 without settings.toml has 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

Choose a tag to compare

@yafitzdev yafitzdev released this 09 Nov 06:18

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 DIR on run, precheck, pin, kernels and ab (--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 --config over the package's
    configuration.json. A crit package carries no adapter of its own.
  • --adapter (and ab's --adapter-b) refuses a file inside a crit run folder: a crit engine is its plugins,
    measured with --package DIR through 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 mode speed at a fork that is not a near-tie, judged on
    the engine as protocol forks judges 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's speedup (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), and fraction_of_expected; status prints them on
    a line of their own and compare beside 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 by host_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): status shows
    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 records repeat_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 probe measures 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): --package measures 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 preserve and speed; speed is the default of crit eval run, crit eval precheck, runner.run
    and precheck.run_precheck. Protocol keys quality.mode_thresholds.speed, quality.honesty.modes.speed,
    forks.modes: ["speed"]. Every result states its mode: fixed.mode_of refuses one that states none or another
    (as_quantized included), and metrics.mode_thresholds a mode the protocol has no budget for.
  • protocol quality.modes and 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 speed would 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, fails track.closed.quality_mode. Results compare within one mode: crit eval compare warns 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_attribution and run_honesty take the quality mode as a
    required keyword (mode=), and metrics.mode_thresholds as 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) judges SET/prompt by 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 /health device_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 report expert_reads/expert_hits (level requests: a served cohort's crit_telemetry, Core's
    in-process cohort rows; this prices the level's ceiling and fraction_of_ceiling), else the run's single-stream
    rate (the decode suite's requests, else the engine's telemetry() counters, else the rate its
    host_bytes_per_pass implies; 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 as host_path, host_ms and
    host_paths_ms; the step's bound may be link or cpu.
  • 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...
Read more

crit-eval 0.5.3

Choose a tag to compare

@yafitzdev yafitzdev released this 02 Nov 08:22
fa2b395

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

Choose a tag to compare

@yafitzdev yafitzdev released this 02 Nov 07:13
b1e539a

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

Choose a tag to compare

@yafitzdev yafitzdev released this 02 Nov 01:46
6233bca

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

Choose a tag to compare

@yafitzdev yafitzdev released this 02 Nov 01:37
e34bb57

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 (protocol forks, measurements):
    an output difference the repeatable, request_history or prompt_cache gate 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. preserve is unchanged.
  • In as_quantized the quality honesty check bounds the served and scored paths instead of asking for the same values
    (protocol quality.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": false in kernel.json (atomics, or a split the
    workload chooses, for as_quantized engines): 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
    records output_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 records fresh_decode_score, the
    geometric mean of every case's first request before its warmups, and status shows 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 no expert_reads/expert_hits or accepted. Any OpenAI-compatible
    server can stream them in a crit_telemetry object, as crit serve does.
  • Several GPUs (protocol context.devices, measurements):
    crit eval probe --devices all|N,M measures every GPU and the copy rate between each pair (the CUDA probe's
    --device, --count and --peer modes). 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's track.closed checks 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_loads unchanged from its first request to its last; served engines answer loads()), 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. status names 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 from crit bench says 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 no host_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 context now 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's expert_hits and expert_reads per 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. status names 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 records jitter (seed, range, every
    drawn length), crit eval run --jitter-seed draws a recorded run's lengths again, a resumed round keeps its
    journal's seed, and status reports 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's max_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 by validate_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; status and compare report 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 records steady_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 past disturbed_spread between repetitions and stopped the round, so
    an engine passed by freezing its adaptation. An engine whose warmup agrees with its first repetition mea...
Read more