You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
A looped generation and a request timeout were recorded as load_refused.classify_linux_error sent every error it did not recognise to load_refused (and still did, until this change), so Ollama's "prediction aborted, token repeat limit reached" and a Go-style "HTTP 500 after 2m0s" became rows saying the card refused to load the model (T4 rung r1: 10 phi3.5 cells and 3 ctx-32768 cells). A looped generation is now generation_aborted and a request timeout is timeout (the existing kind; not a new timed_out). load_refused is left for real load and VRAM refusals.
The generate ladder's prompt made some models loop, and it timed a shorter prompt than it recorded. Version 1 sent "token " repeated; phi3.5 repeated it until Ollama aborted, so those cells timed a loop, not decode. Version 2 sends varied, deterministic text that ends in an instruction (ladder_prompt). num_ctx is now prompt + num_predict + 64 (it was the prompt length, so Ollama truncated the prompt to about half: prompt_eval_count 1,026 for a "2048" cell), and the word count is calibrated per cell: two small prompts that cannot overflow the window give the tokens-per-word ratio and the instruction's tokens (real Ollama truncates an overflowing prompt to about num_ctx / 2 and reports that, so a reading from an overflowing prompt is never scaled up), then the real prompt is verified against the target within 2%, and a reading well under what the ratio predicts is reported as truncation. The row records the evaluated length (settings.prompt_tokens, prompt_token_method: ollama_prompt_eval_count); a prompt that cannot be brought to the target, or a reply with no prompt_eval_count, is unmeasured, never a row with a length it did not time. Ollama's "the prompt is longer than the context length" refusal (context shift off) is ctx_exceeded. Version 2 has not run on Colab, so this is its definition.
load_refused is only for a recognised load or VRAM refusal ("unable to load", "error loading model", "failed to load model", "insufficient memory", "too large for system memory"; checked against Ollama 0.40.9 and 0.40.11). The runner-crash message ("... may be due to resource limitations") and "failed to load manifest" are unmeasured. Any other unrecognised error is unmeasured. The oom match is a word ("room" and "bloom" no longer match).
Added
generation_aborted, a failure kind for a cell that was not measured. It sits beside sampler_error: it says nothing about what the card can load, so a spec cannot pre-register it, the receipt reads it as untimed and never as a speed or a capability, and the router lists it under excluded and never ranks it. It is in the routing-row and route-decision schemas.
The table copy of every unmeasured row (sampler_error, generation_aborted, unmeasured) no longer says "this device can't do this setting".
unmeasured, a second kind for a cell that was not measured, with the same rules as generation_aborted (schemas, receipt, router excluded). It is what an unrecognised error and an un-calibratable prompt become.
settings.ladder_version on every generate-ladder row, success or failure (GENERATE_LADDER_VERSION, now 2). A row without the field is version 1 (a Colab generate row; the rig's own harness rows have no version). interlock route considers only the newest version present for a device and model, ranks only within the newest version across devices, and says so in notes ("N older-ladder row(s) not compared", "ranked on ladder version 2 only; version(s) 1 not compared"); a device that has only version 1 still routes when asked for with --device. interlock table groups ladder rows by device, model and version and shows ladder vN. Only ladder cells (rows with a concurrency) carry a version: a fill-card row has none and keeps routing beside v2 rows. The newest-version filter runs right after the task, model and device steps, before any floor (within a device and model, and across devices), so a v1 row cannot win or be listed because a v2 row failed a floor. settings.num_ctx on a ladder row is the nominal prompt length; the request sent prompt + num_predict + 64. settings.prompt_tokens_target is the requested length; a failure row that has only a request says prompt_token_method: requested_not_verified. The legacy envelope importer keeps ladder_version, prompt_tokens_target and prompt_token_method.
Docs
README and handbook describe the unmeasured kinds (generation_aborted, unmeasured), generate ladder version 2 and its calibrated prompt length, and ranking within the newest ladder_version.
test_a_floored_v1_row_on_another_device_is_not_a_runner_up_beside_a_v2_winner: the L4 v1 row is at 90 tok/s, under the 100 floor, so it is actually floored.