Commit Graph
6 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Fable 5.2 b79492502a v1.48.0: what the lane's code review found: prompts counted on llama.cpp, the start guard, the effort "none"
A code review of the branch found seven things. Six hold and are fixed,
each with a test that fails on the code before.

The proxy asked llama-server's /tokenize for a count it does not give
(it reads "content" alone and answers the tokens): no body was counted
on this lane, its size decided at one token a byte, and every chat body
past 241,172 bytes was refused. A chat is now counted by llama-server's
own count route, a prompt by /tokenize's content.

The pool the proxy read was one slot's window where the unit holds two:
it is the windows of all the slots (/props), so the flash ceiling of
250,000 holds again, and it is lifted past a window of 262,144, as on
the FP4-Local lane (the 1M option was cut at 250,000).

engine-preflight.sh, which every lane runs before it starts, counted any
llama-server on the GPU as what is left of an engine: one of the user's
own would have held every lane's start back. Only a llama-server in this
lane's container counts.

A reasoning effort of "none" in chat_template_kwargs reached the patched
template, which refuses it: it becomes enable_thinking false, as on the
other Qwen lanes. gguf-fetch.py keeps the Hugging Face token on a
redirect that stays on the same host. The installer refuses a leading
zero in its numbers (0262144 was read in octal and rendered -c 182472).

bench.sh keeps the first pass of each probe on this lane: the second
finds the first's answer in the n-gram pool (36.0 then 273.4 tok/s).

The quality measured on 2026-11-12 is written (GSM8K 0.984 on 250,
HumanEval 0.994 on 164, 20 tool calls of 20), and the 1M option (YaRN at
four times, the KV cache in q8_0, one request): three codes of three
found in 985,296 tokens.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 12:10:09 +01:00
Hasan BasbunarandClaude Opus 5.5 67cdd08fb2 vllm-lane.sh, install-nemotron-super.sh: one base for the vLLM lanes, and Super VL as one of them
The three vLLM lanes' installers (Kolibri, Nemotron, Nemotron Super) share vllm-lane.sh: the
engine's cache and port, the preflight and the room, the fetch, the service, the uninstall with
its opencode and pi cleanup, the proof. Each carried a copy of its own, a fix in one missing from
the next. lanes.sh's lane_prune_images removes a build of a lane's image once no installed unit
names it: the two Nemotron lanes run one image, and Bolt's update took away the build Super VL's
unit named; and unit_hf_cache and existing, one reading each where a dozen copies were.

The seventh lane: Super VL in NVFP4 with its LiLiCorr drafter, four requests at a time over
the 1,048,576-token window, 16 images and 2 videos per conversation, served in the Nemotron
lane's vLLM image (the card's own build does not hold the window at the card's share once
the media limits are set). Its unit, its installer in two halves (--units-only, --prepare,
the second building the shared image through install-nemotron.sh), its uninstall, which
keeps the image while the Bolt lane runs it, as the Bolt lane's keeps it while this one
does; every other unit names it in its Conflicts= and After=, the proxy holds requests for
it while it boots; its opencode provider (nemotron-super, 990,000 + 32,000 of its window),
pi's levels and check-pins.sh's two checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:25:42 +02:00
Hasan BasbunarandClaude Opus 5.5 fd4c8ba913 Kolibri lane: the key on every route; installer, switch and uninstall hardened
vLLM 0.29 asks --api-key only under /v1, /v2, /inference and /cohere: /invocations
(SageMaker's route, which runs chat), /tokenize and /detokenize answered without it on
the engine's port (read in the image's source). vllm_engine_auth.RequireKey, loaded
with --middleware from a read-only mount, asks it everywhere but /health and /metrics,
as the SGLang lanes do.

Also found in review, each with a test that fails before: the installer reads the
journal whole before it looks for the key (piped into grep -q under pipefail, a long
journal read "not found"), follows a symlinked model cache to its disk, removes older
images once the unit names the new one, and proves the tool call at effort none (the
reasoning parser misses 1.9 to 3.5 % of such calls at high). --uninstall takes the
kolibri provider out of opencode (oc-merge-limits.py --remove-provider) and points a
default that named it at the text lane before. A switch takes a cached checkpoint only
when every shard its index names is there, and sizes opencode's compaction from
Kolibri's window, as install.sh now does when Kolibri boots the box. The engine
preflight no longer takes any command line holding "vllm/" for an engine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 06:16:59 +02:00
Hasan BasbunarandClaude Opus 5.5 e080626b2c Kolibri lane: Aleph Alpha's Kolibri-1 on vLLM, installed with every lane
install-kolibri.sh builds Aleph Alpha's own image for ARM64 (their Dockerfile, on the vLLM
v0.29.0 arm64 manifest by digest, plus the aleph-alpha-inference 1.0.0 wheel by sha256),
fetches the official FP8 at its pinned revision, renders qwen38-kolibri.service (the model
card's serving command, the 262,144 window, the key by --config) and proves a reply and a
tool call before giving the box back to the lane it served. ./switch-model.sh kolibri and
kolibri-nvfp4 switch to it like the image lane; install.sh installs it by default
(--no-kolibri leaves it out) and keeps it as the boot lane when it is one; every other
engine unit conflicts with it; uninstall.sh and the preflight know it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 03:10:07 +02:00
Hasan BasbunarandClaude Opus 5.5 f68393a010 test_engine_preflight: the contract test gives the guard 3 s, not 1
TheCockpitReadsWhatItWrites failed once in a full local CI run. It ran
the guard with QWEN38_PREFLIGHT_WAIT_S=1 and read its first line as the
waiting one, but the guard counts whole seconds ($SECONDS): a first
look that ended past the shell's first second met the deadline at once
and refused with no line saying it waited. Reproduced with a fake
nvidia-smi that answers in 1.2 s (first line "NOT starting" at 1 s, the
waiting line at 3 s). The guard is unchanged: the units wait 60 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 21:27:28 +02:00
Hasan BasbunarandClaude Opus 5.5 dbf649932b v1.21.0: an engine restart no longer ends a session, and no engine starts on memory still held
Issue #26 reported a 27B engine dying about once a day with "CUDA error:
operation not permitted", systemd starting it again 17 s later, and the
fear that the restart lands in the window sglang#40948 blames for a DGX
Spark frozen 9.5 h. Measured on the reference box: a crashed engine's
memory is back 2 to 5 s after it dies, about 15 s before the restart.

engine-preflight.sh runs before every engine (27B, flash, image, video)
and refuses a start while what is left of an engine holds GPU memory,
while the driver holds more than 16 GiB that no process accounts for,
or while nvidia-smi does not answer; systemd tries again every 15 s.

The proxy (v6.28) holds a request while its engine comes back, through
a restart's stop half too, up to 1200 s: a streamed one gets its 200
and the keepalives at once. On a 503, opencode gave up after 151 s and
Claude Code after 325 s; both wait on a held stream (900 s measured).
An engine's mid-stream cut is passed on as a cut: the error event sent
in its place made Claude Code retry without a stream, give up on it
after about 330 s, and end with no answer.

The cockpit restarts an SGLang server left without its scheduler, once
it has been so for 2 min (COCKPIT_ZOMBIE_RESTART), tells one crash of a
serving lane from a boot that keeps dying, and says why a start waits
or was refused.

Tested end to end on the reference box: the flash lane's server sent
SIGQUIT under the real opencode and Claude Code, twice. The runs found
four faults the unit tests could not (a zombie probe docker refused, a
watched boot read as a boot again, a restart that ended the waits, the
cut's error event), each fixed with a test that fails without the fix.
After 632 to 1,068 s held, both clients got their whole answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 23:20:35 +02:00