Repository navigation
loom: Inkling-2-Mini gets its DSpark drafter back (re-card of r8; 66.6 vs 41.0 tok/s) - #3497
Conversation
Pull request was converted to draft
|
Draft again: the repoint cannot work as a config-only change, and this is why.
For the r8 card the lock names That is the actual reason rc1 recut to the r9700 card: its lock names So there are exactly two ways to ship the drafting card:
Either way the Lemonade catalogue row has to pull the Old_Support pair (main + I am keeping this PR as the config/payload/licence half and will re-point the pins to the Verification of the blocker: read of the shipped linker script in this tree; |
|
Preparing review... |
… mainline weights unchanged) The card rc1 ships (loom-fun/unsloth-Inkling-2-Mini-loom-r9700 @ 6213fd3c) has speculative decoding removed: llm_config.json "draft_kinds": [], info.json "drafting": null in both variants, PORTING.md "no speculative decoding". It was removed because, when the card was written, no drafter existed for the mainline file layout; the model has always shipped its own DSpark block drafter, and loom-fun's r8 card implements it. Measured by the lead on strixhalo, hrx-loom 0.3.0, one session, same prompts and greedy settings, both cards served with their presets: decode (26-token prompt, 47 tokens out) 66.6 tok/s (DSpark d3) 41.0 tok/s (r9700) 15,616-token prefill 2,121 tok/s 1,044 tok/s (prefill drafts on neither card, so the r9700 card's second, ~2x prefill gap is separate from the drafter and is card-side work, not this PR's.) The route now points at our own re-card, 1bit-MONSTER/Inkling-2-Mini-loom @ afcb64b0 (Apache-2.0, based on loom-fun r8 4e018e88, Geramy Loveless; PROVENANCE.json lists every change). It keeps the r8 programs and binds the model's own drafter (dspark-Inkling-2-Mini-Q8_0_Old.gguf, 2ec78510) at draft_depth 3, with 48 loop-control tensors renamed and the 12 per-block blk.N.loop_msg_query tensors substituted (byte-identical weights) so it reads unsloth's MAINLINE root GGUF e6427665, which is what the catalogue already pulls. No 17.6 GB re-download for rc1 machines; the drafter is 402 MB. This is also why a config-only switch back to the stock r8 card cannot work: at boot, 1bit-loom-cards links a card's weights by the lock's file NAME at the cache's refs/main snapshot (the lock's revision is overridden), and unsloth's head now holds the mainline bytes under that name - the #3394 size guard then refuses the card. Our re-card names files that exist at head with the right bytes. What moves: - config/loom-routes.json: card name -> Inkling-2-Mini-loom, gate text with the measured A/B and the pending accuracy row; gguf sha/size unchanged. - config/loom-cards.json + models/pins.json: the card entry points at 1bit-MONSTER/Inkling-2-Mini-loom @ afcb64b0 with the mainline checkpoint, licence apache-2.0; the drafter file dspark-Inkling-2-Mini-Q8_0_Old.gguf (2ec78510) is pinned so the catalogue pulls it. - os/v3/puppy/loom-cards.pin: the payload carries the re-card (17 files, sha256 + size) instead of the r9700 card (79 files). - tools/loom_cards.py: card.repo may be a loom-fun card or our re-card of one (1bit-MONSTER/...); --build must be given that listing too. - Licence records: the re-card ships its Apache-2.0 LICENSE and NOTICE; SOURCE, LICENSES.md and NOTICE updated; the r9700 card's MIT file removed with the card. - os/mini/release-check.sh + docs/loom-route.md: the card name and the route's description. BLOCKING: the accuracy gate row on this re-card is not posted yet (the r8 upstream row is engine#3158 comment 7106859133). Keep this draft until it is; merge order is cl-loomfun's gate row, then this. The lemonade catalogue row also needs the draft file next to the model (checkpoints main+draft) in the next cut. Verification: tools/loom_cards.py --check 0 errors and --self-test 21/21; tests/loom_payload_test.sh ok; sh -n os/mini/release-check.sh; tools/copyright.py --check; scripts/pre-pr-checks.sh 17 green, 3 skipped. The re-card's own weight linking was reproduced locally with the shipped 1bit-loom-cards against a simulated cache (links resolve to the Old/_Old names at head, sizes 17,629,760,736 and 402,278,560), and the r8 upstream card was speed-measured on the box.
76f6b26 to
f7c19dd
Compare
|
Preparing review... |
What
The Inkling-2-Mini route moves from the r9700 card (no speculative decoding) to our own re-card of loom-fun's r8, which binds the model's own DSpark drafter:
6213fd3c)afcb64b0, DSpark d3)Same box, same session, hrx-loom 0.3.0, greedy, each card on its own preset (the lead's A/B, 2026-11-24). Prefill drafts on neither card, so the r9700 card's ~2x prefill gap is a second, card-side issue, not this PR's.
Why not just point at the stock r8 card
1bit-loom-cardslinks a card's weights by the lock's file name at the cache'srefs/mainsnapshot (the lock's revision is overridden). The stock r8 lock namesInkling-2-Mini-UD-Q4_K_XL.gguf, and unsloth's head now holds the mainline bytes under that name, so the #3394 size guard refuses it. Our re-card names files that exist at head with the right bytes:1bit-MONSTER/Inkling-2-Mini-loom@afcb64b0— Apache-2.0, based on loom-fun r84e018e88(Geramy Loveless);PROVENANCE.jsonlists every change (48 loop-control tensors renamed, 12 per-blockblk.N.loop_msg_querytensors substituted; weights byte-identical).dspark-Inkling-2-Mini-Q8_0_Old.gguf(2ec78510, 402 MB) atdraft_depth3.e6427665, which the catalogue already pulls: no 17.6 GB re-download for rc1 machines.Files
config/loom-routes.json: card name, gate text with the A/B and the pending row; sha/size unchanged.config/loom-cards.json,models/pins.json: card entry ->1bit-MONSTER/Inkling-2-Mini-loom@afcb64b0, mainline checkpoint, Apache-2.0; the drafter is pinned so the catalogue pulls it.os/v3/puppy/loom-cards.pin: re-card's 17 files replace the r9700 card's 79.tools/loom_cards.py:card.repomay be a loom-fun card or our re-card of one;--buildneeds that listing too.os/mini/release-check.shcard name,docs/loom-route.md.Blocking
checkpoints: {main, draft}with the_Olddrafter in the next cut.Verification
tools/loom_cards.py --check0 errors,--self-test21/21;tests/loom_payload_test.shok;sh -n os/mini/release-check.sh;tools/copyright.py --check;scripts/pre-pr-checks.sh17 green / 3 skipped. Weight linking reproduced locally with the shipped1bit-loom-cardsagainst a simulated cache (links resolve to theOld_Support/_Oldnames at head; sizes 17,629,760,736 and 402,278,560).