Commit Graph
8 Commits
Author SHA1 Message Date
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 afaf647c06 switch-model.sh, prepare-lane.sh: switching to the Nemotron lane
switch-model.sh nemotron verifies the model and its drafter in the cache (the
first switch fetches them, --fetch stops once both are there), points the unit
at the pinned revision and memory share from install-nemotron.sh, the one place
they are declared, notes the text lane it leaves, and makes the Nemotron lane
the one enabled at boot; prepare-lane.sh nemotron builds its image with no sudo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 08:46:57 +02:00
Hasan BasbunarandClaude Opus 5.5 e0c0a3762a every installer and switch fetches through ckpt-fetch.py
install.sh and switch-model.sh fetch the text lanes in their serving image, install-kolibri.sh
and switch-model.sh fetch Kolibri in its image, install-image.sh, install-video.sh and
switch-model.sh fetch the image and video lanes in their venv: all through ckpt-fetch.py now,
each with the options its own copy had (the image and video switches and Kolibri's two callers
ask the cache first; the image switch and Kolibri's check the room; the image and video
installers and the image switch pin refs/main, the text lanes and the video switch fill it).
What changes for a user: a cockpit Load of the image or video lane resumes after a network error
instead of failing, and the video one no longer takes a partition it does not serve for missing;
the text, image and video installers show the byte count; a Kolibri fetch that stopped is
charged what it lacks in bytes; a text lane's refs/main that holds no commit is repaired.
kolibri-fetch.py went into it.

The docker callers check that the script is there before mounting it (docker -v of a missing
file makes a root-owned directory in its place), as they did for hf-progress.py. The CI step
that holds install.sh to downloading the model and the served drafter reads its two dl_fetch
calls, and the test harnesses that copy a script into a fake repository copy ckpt-fetch.py
beside it. The tests that ran each copy now run the script with the arguments each caller passes
(the image pin, the Xet retry), the image switch's fixture holds weights in its cached snapshots
as a real one does, and tests/test_one_fetch.py holds who runs it with which options, the Xet
ban beside each call, and that no script keeps a fetch of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:05:23 +02:00
Hasan BasbunarandClaude Opus 5.5 507e0b229b side lanes: each proof restarts a lane that runs older files than the ones installed
The proof restarted a side lane only when its unit file was newer than its start. The image and
video lanes also run a venv and an SGLang source this installer changes (a new wheel, a new pin,
a patch applied), Kolibri runs the key middleware, and every start runs the start scripts
first: a lane started before a change of any of them proved what ran, not what was installed.
The installers name these files (LANE_FILES): the image and video ones touch runtime-changed
whenever they change the runtime, and the notes of the wheel (and of the source, for video)
they already wrote date the changes made before v1.30. lanes.sh's lane_serves_older reads them
all. The note that a restart is needed is said only when no proof follows (--no-smoke), since
the proof does the restart. install.sh's stale_since is lanes.sh's now, one copy of the same
check. Kolibri's proof read its count of automatic restarts before the start or restart, which
resets it: a unit that had restarted on its own before let as many crashes of the new one go
unseen. And install-kolibri.sh mounts hf-progress.py only when it is there, as switch-model.sh
does: docker -v of a missing file makes a root-owned directory in its place. Found in review,
2026-10-14, and in the review of the fix the same day; each test fails on the commit before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:13:30 +02:00
Hasan BasbunarandClaude Opus 5.5 a286170208 tests follow the fifth lane; the rack seats five bays; CHANGELOG v1.29.0
The tests that pinned four lanes, three downloads, the switch targets and the boot guard
now pin five, four and the Kolibri ones. The Now view's rack is three bays wide (the
three text lanes over the image and the video lanes) where a fifth bay sat alone on a
second row. The CHANGELOG entry for v1.29.0 (not released).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 03:54:35 +02:00
Hasan BasbunarandClaude Opus 5.5 098f74c4d5 tests: the fake download grows by appending, as a real one does
test_bytes_are_said_while_the_block_fetches grew its .incomplete file by rewriting it whole
(write_bytes truncates first), so a read between the truncation and the write saw 0 % after
66 %; the GitHub runner hit it on v1.25.2's run (2026-10-10). hf-progress.py is not at
fault: a download only appends. The test appends now. With every write slowed to 0.15 s,
the previous test fails (its percentages drop to 0) and this one passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 01:28:39 +02:00
Hasan BasbunarandClaude Opus 5.5 2f89c77d2a image lane: SGLang v0.5.21, and Qwen-Image 2.1 Turbo as a second checkpoint (v1.24.0)
The lane runs the v0.5.21 release's commit and wheel instead of the main commit ddebc52
and the 0.5.20 wheel: the base's images are byte-identical on both (twelve requests),
4.7 % faster at 1024x1024. sgl-project/sglang#43391 (merged 2026-10-10, in no release) is
backported as three one-file patches so the Turbo samples on its eight-step sigma grid;
image-sglang/turbo-grid-check.py checks the three parts on the runtime, and the installer
and the switch refuse the Turbo where one is missing.

./switch-model.sh image-turbo rewrites the unit's --model-path from a fixed staging path
(one new sudoers line), reads the revision the box serves (refs/main) and the pin only
when there is none, checks for room less what the cache holds, and keeps a checkpoint of
the unit's own across a round trip through the Turbo. An existing venv takes a new wheel
(sglang-wheel note, removed by both uninstallers); the runtime check asks the registry,
whose source text v0.5.21 no longer matches; no check rests on an assert. A first
install's checkout no longer trips on a patch merged upstream, in both diffusion
installers.

The cockpit asks the image engine what it serves (/model_info, once per life of the unit)
and the page, Load and the banner follow it; the Image view fixes the steps at 8 under the
Turbo, leaves num_inference_steps out and estimates with a formula fitted to both
checkpoints on the new runtime. Docs, README, MIRROR.md, ROADMAP and the CHANGELOG say what
changed, measured on the reference box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 13:12:31 +02:00
Hasan BasbunarandClaude Opus 5.5 5550607453 cockpit: a Load waits for each step to end and counts a download's bytes; an unrestarted switch is said and finished
The Load window gave each step 20 minutes, while the server gives a
switch 7,200 s for its download: on 2026-10-05 a switch to
flash-uncensored (135 GB) ran 22 minutes and ended well, and the
restart after it never ran. waitJob now follows the job until it ends,
and says a step unknown, not failed, when the cockpit no longer knows
its job (a minute without it). Under the running step the window shows
the time so far and the job's last line.

hf-progress.py gives that line a byte count for all three fetches of
switch-model.sh: the revision's total from the Hub, the blobs in the
cache whole or on their way, under both names huggingface_hub gives a
file on its way (<blob>.incomplete in 1.14, <blob>.<8 hex>.incomplete
per process in 1.30 and 1.33). snapshot_download's file bars go when no
terminal is attached. Checked with a real 1 GB download on 1.33 and
1.14, and the text lanes' fetch block in both pinned images.

A switch not restarted yet: Load read the unit's file alone, had no
step left, and said "already serving" of a checkpoint the engine did
not serve. servedTarget() takes the engine's own /server_info only when
that read is younger than the engine; Load offers the restart, a banner
says which checkpoint serves and which one the next start loads, and
the lane's card shows the one serving.

The comment that a new attempt reuses every finished byte no longer
held: huggingface_hub 1.30 and 1.33 keep no partial file.

Tests: 8 page tests (5 fail on the page before, on the defects above),
tests/test_hf_progress.py (28), the image lane's source pin updated to
the same guard's new form. Six hand-made mutants each fail the new
tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 14:45:56 +02:00