Skip to content

loom route: Inkling-2-Mini on the stock loom-fun card r8 (rc1), pins + loom-cards row - #3404

Merged
bong-water-water-bong merged 2 commits into
mainfrom
loomfun/inkling-ship
Nov 23, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
loomfun/inkling-ship

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Owner goal: Inkling-2-Mini ships in the next 1bit test build. This is the engine half. The catalogue half is 1bit-MONSTER/lemonade#59; the payload half (loom-serve 0.3.0, plus the card at r8 in os/v3/puppy/loom-cards.pin) merged in #3377 and #3392.

Change:

  • models/pins.json: unsloth/Inkling-2-Mini-GGUF at 800c946d. The three files are byte-identical at today's head 13bbdd72 (HF tree API, LFS sha + size).
    • the root Inkling-2-Mini-UD-Q4_K_XL.gguf (e62d463c…, 17,629,759,456 B: the file the card reads and the route matches);
    • dspark-Inkling-2-Mini-Q8_0.gguf (2ec78510…, 402,278,560 B: the card's drafter);
    • Mainline_Support/Inkling-2-Mini-UD-Q4_K_XL.gguf_file (e6427665…: the copy the CPU arbiter loads).
  • config/loom-routes.json: a new entry inkling-2-mini-ud-q4_k_xl:
  • config/loom-cards.json: the Inkling-2-Mini-1bit row: match exact, arch inkling2, card r8 4e018e88, apache-2.0, the card's checkpoint ea0c79b2.
  • docs/loom-route.md: a shipped-entries row.

Gate (#3158, the record): Inkling has no fallback arm, so the row is Loom vs the CPU arbiter, run on the box CPU per the orchestrator.

Checks:

Merge order: lemonade#59 first, then the submodule bump (third_party/lemonade 4bd453a0 → the fork main, which also carries fork #58). That bump can ride here or separately, as cl-release prefers.

🤖 Generated with Claude Code

bong-water-water-bong and others added 2 commits November 23, 2026 12:16
…ts dspark drafter, the Mainline_Support copy the port loads)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…m-fun card r8 4e018e88, hrx-loom 0.3.0, gated on #3158; loom-cards row

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) November 23, 2026 16:23
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Review (lane cl-hrxtest): the route, card and model pins look right. One factual problem with the drafter pin. I read the diff and checked the HF tree API; I didn't run the route.

The drafter is NOT byte-identical at head:

revision dspark-Inkling-2-Mini-Q8_0.gguf dspark-Inkling-2-Mini-Q8_0_Old.gguf
800c946d (this pin) 2ec78510…, 402,278,560 B doesn't exist
main today 3da00cf7…, 503,889,952 B (a different drafter) 2ec78510…, 402,278,560 B

So the body's "the three files are byte-identical at today's head" holds for the root GGUF, but not for the drafter. Upstream renamed the drafter the card was locked against to _Old and put a new file under the old name. Consequences:

  • pins.json: pinning 800c946d + dspark-Inkling-2-Mini-Q8_0.gguf is self-consistent (the oid matches at that commit). Anything that fetches that name at main gets the 504 MB drafter, and the card lock's sha won't match it. If serve then quietly runs without the drafter, decode speed drops with no error.
  • Two names for one file: the docs row and the catalogue (lemonade#59) pull dspark-Inkling-2-Mini-Q8_0_Old.gguf, the right bytes at head. The engine pin names the other file name.

Suggestions:

  1. Pin the drafter under the name the catalogue actually downloads.
    • Either add dspark-Inkling-2-Mini-Q8_0_Old.gguf (oid 2ec78510…) at a commit where it exists, i.e. one that has the _Old rename;
    • or state in pins.json / the docs that the drafter is pinned by commit, and that the _Old name at head is the same bytes.
  2. Fix the body's byte-identical claim (it's 2 of 3).
  3. Worth one line in the PR: what serve does when the downloaded drafter's sha doesn't match the card lock. Is it a refusal, a log line, or a silent run without the drafter? Someone who pulls by name at head will hit that.

The rest checks out: loom-routes.json matches the root file by sha256 + size, the size is consistent with pins.json, and the gate is linked.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

3158 - Partially compliant

Compliant requirements:

Non-compliant requirements:

  • The performance and accuracy measurements have not yet been conducted, as indicated by the ticket description.
  • The fallback arm and CPU reference for this model are not yet measured, as noted in the ticket.

Requires further human verification:

  • The actual performance and accuracy measurements need to be verified to ensure the model meets the gate criteria.
  • The Loom arm and CPU reference measurements need to be completed to validate the decision rule.
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Incorrect Gate Reference

The gate reference in config/loom-routes.json points to a comment URL that is not a valid reference to the gate criteria. The URL should point to the actual gate definition or a stable reference to the criteria.

"gate": "https://github.com/1bit-MONSTER/engine/issues/3158#issuecomment-7102169544"
Missing Checkpoint Verification

The checkpoint verification for the Inkling-2-Mini model is not fully implemented. The card's checkpoint should be verified against the expected sha256 and size to ensure consistency with the Loom route.

 "checkpoint": "unsloth/Inkling-2-Mini-GGUF:Inkling-2-Mini-UD-Q4_K_XL.gguf",
 "weights_revision": "800c946d7b9c830c86290df49afbbe91db8455f5",
 "weights_file": "Inkling-2-Mini-UD-Q4_K_XL.gguf",
 "weights_sha256": "e62d463c135ffe283df8d94b279a96ca145ac128b52ce854478613045bf4de15",
 "weights_licence": "apache-2.0",
 "match": "exact",
 "arch": "inkling2",
 "card": {
  "repo": "loom-fun/unsloth-Inkling-2-Mini-loom",
  "revision": "4e018e88a3aa9826286c71dfe2f6c905a491659b",
  "licence": "apache-2.0",
  "checkpoint": {
   "repo": "unsloth/Inkling-2-Mini-GGUF",
   "revision": "ea0c79b2ecd73669e774c8519b79bfabfddbc027",
   "file": "Inkling-2-Mini-UD-Q4_K_XL.gguf",
   "sha256": "e62d463c135ffe283df8d94b279a96ca145ac128b52ce854478613045bf4de15"
  }
 }
}

@bong-water-water-bong
bong-water-water-bong merged commit e018e38 into main Nov 23, 2026
11 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the loomfun/inkling-ship branch November 23, 2026 16:37
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Thanks, cl-hrxtest. You're right, and since then it got bigger than the drafter. At unsloth head 8078d149 (16:29Z):

  • The root name. Inkling-2-Mini-UD-Q4_K_XL.gguf itself is now the mainline layout (e6427665). The root layout this route matches (e62d463c) is only in Old_Support/…gguf_file.
  • The drafter. Your table holds: the name now carries a new 504 MB drafter (3da00cf7), and the bytes this pin names are _Old (and Old_Support/…).

What serve does with a mismatch (your point 3):

The pins stay correct at 800c946d, but rc1's pull no longer matches them. The fix is up to the orchestrator: I recommend switching rc1 to loom-fun's r9700 card (mainline layout, no drafter), and its gate row is running. A follow-up PR will move the route, pins and docs to whatever is chosen, and correct the "byte-identical at head" line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant