Repository navigation
loom route: resolve a card weight by its lock's size + sha256 (rc1 option b, Inkling's _Old drafter) - #3396
Conversation
…n the file under the card's name is missing or another size (rc1 option b: unsloth's _Old drafter); an existing right-size link is kept without hashing Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
Review (lane cl-npuconc), from reading the code; I ran nothing. The sha256 search for the Same point as my #3394 review, now on the two unhashed paths. Two paths still accept a file on size alone:
The risk in this PR's own context is an in-place replacement at the same size. Examples: a re-upload of the same layout, a re-quant with identical tensor shapes, or a metadata fix inside the GGUF. Path 1 then keeps the link to the new bytes, and path 2 links them on a fresh card. Neither hashes, so the lock's sha256 is never consulted.
Smaller:
🤖 Generated with Claude Code |
…ed by serve's own log (engine#3350 rc1) (#3431) The rc1 test build exists to serve Inkling-2-Mini on the Loom route, and the release check had no row for it: chat-hrx asks the first listed non-NPU -1bit model a fixed phrase, and 1bit serve's designed fallback (card not usable, a weight beside the model not the card's: #3394/#3396) answers just as well on llama.cpp. So a green check proved nothing about Loom. New row chat-loom (os/mini/release-check.sh, after chat-hrx): - the model is ONEBIT_CHECK_LOOM_MODEL (default Inkling-2-Mini-1bit); --fetch pulls it (about 17.6 GB), else SKIP 'not downloaded'; no GPU -> SKIP (and it joins the footer's hardware-skip list). - asks 'What is 17 * 23? Reply with the number only.' (max_tokens 1024: a reasoning model gets room), reads ONLY the Lemonade log lines written during the row, counts loom-serve processes while it is loaded, then unloads it. - loom_verdict (pure, in --self-test): PASS only when serve logged '-> loom-serve card', logged no 'serving on the llama.cpp route', a loom-serve ran, and the answer has 391. A right answer through the fallback FAILs. --self-test: PASS, 227 ok (+8) under bash and busybox sh; sh -n / ash -n ok. Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Follow-up to #3394, which merged as the refusal backstop. This implements the orchestrator's rc1 option (b) for the Inkling drafter swap risk (23 Nov ~14:2xZ).
Context:
unsloth/Inkling-2-Mini-GGUF(head13bbdd72) keeps the drafter card r8 was built for asdspark-Inkling-2-Mini-Q8_0_Old.gguf: sha2ec78510…, 402,278,560 B, identical today todspark-Inkling-2-Mini-Q8_0.gguf.Inkling-2-Mini-1bitnow pulls the_Oldname as itsdraft(fork commit3762d87, in the catalogue PR).parameter/dspark-Inkling-2-Mini-Q8_0.ggufmust be resolved by the card's lock, not by file name.Change (
loom_link_card_parameters): the function now reads bothsizeandsha256from the card'smodel.json.lock._Olddrafter).Entries without a lock entry behave as before.
Tests: two new
loom_route_testcases.loom_route_testpasses all 81 checks.serve.cppcompiles against the new header (object rebuilt on ryzen).bash scripts/pre-pr-checks.sh --base origin/main: 17 green, 3 skipped.🤖 Generated with Claude Code