Repository navigation
Conversation
Jinja's float(value, default=0.0) for numbers, booleans and numeric text. Anything else gives the default, an undefined value raises, and an argument Jinja does not have is an error, as in Jinja. Inkling 2's chat template reads its thinking effort through it.
Reads Inkling 2 Small's config.json into the shapes the engine needs and refuses by key every layout it does not run: the layer types, the fixed switches, the quantization, the draft head and the vision tower. Fixtures are the release's config.json and the tiny-random checkpoint's. The host step is test-inkling2-host.
Reads a safetensors header into entries of name, dtype and shape, sorted by name, for the dtypes this family stores: BF16, F32, F8_E4M3 and U8. A dtype it does not store, a rank past four, a length past the file and bad JSON are each refused.
The map names every tensor a config implies, backbone, vision tower and draft head, with its dtype and shape, and checks a safetensors header against it: missing, wrong and unknown tensors are reported by name. A layer's expert format is read from its tensors, U8 for NVFP4 and F8 for MXFP8. The plan derives sliding and global layers, the block boundaries and the number of states each attention-residual input sums over. The draft head's rnn_proj sizes and fuse_weight's columns are read from two headers, tiny-random/inkling-2 and the release, not from code; fuse_weight's six rows stay open. The fixtures fold the two header tables of tiny-random/inkling-2 with their sha256. Real headers are checked when TF_INKLING2_TINY names tiny-random's two files, and when TF_INKLING2_REAL names the release's 24 shard headers and mtp.safetensors.
Image parts (image, input_image, image_url) and --vision are refused with their own words until the vision tower has kernels; audio and unknown part types are refused too, and text parts, plain strings and string parts pass. A part without a type is read as text, as the chat template reads it. Nothing calls these checks yet: there is no host.
The release's chat template renders 24 chat cases byte for byte, thinking effort names and numbers included, and raises for an unknown effort or one out of range. The tokenizer encodes the rendered prompts and 6 plain texts to the reference's ids and decodes them back when TF_INKLING2_CKPT names the release's tokenizer.json. A cut tokenizer.json (its added tokens, its byte alphabet and the first 1,500 merges, same split regex) runs on every build against 14 cases, with a control that another split regex changes its ids. The expected prompts and ids come from the transformers and tokenizers libraries.
inkling2_fixtures.py writes the files under zig/src/families/inkling2/ fixtures from the release's files and the tiny-random checkpoint's safetensors headers: the prompt and id cases through transformers, the cut tokenizer and its cases through tokenizers, and the folded tensor tables with their sha256. The library versions are pinned and checked; --check compares the committed files without writing.
The notice for the files taken from the Inkling 2 Small release and from the tiny-random checkpoint.
|
/atc depends 3578 3607 |
b020461 to
43ac8b8
Compare
43ac8b8 to
8ab9d4b
Compare
|
/atc depends 3578 |
|
Hi @francip, thank you for the EXL3 loader slice and the detailed receipt. We have reviewed it as a first review; there are no earlier asks from us on this PR. Two things before it can land. First, it needs a rebase onto current main: the displayed diff still carries the shared Inkling host package from #3578, which has since landed, so build.zig, CHANGELOG.md, THIRD_PARTY_NOTICES.md and the family fixture files now conflict or are already present. Rebasing onto today's main drops those prerequisite hunks; your new loader files and the CUDA build change apply cleanly, and the changelog line can be re-inserted. Second, the No GPU and format checks are still awaiting maintainer approval, so we were unable to run them yet; please leave them for us to approve and confirm green after the rebase. Your two GB10 rank logs are the load-path evidence we will use, and we did not re-run them here. The slice adds no serving caller, so token and state equality, checkpoint fidelity and performance stay as later qualification gates.
|
What this changes
Adds EXL3 pack admission and per-rank weight loading to the shared Inkling family, reusing its config parser, layer plan and dense tensor map. Stored tensors stay unchanged; this slice adds no operator or serving path.
7b00db2aa1d3a223edd82ea9aa60698bcaa6aab8, with original commits/authorship preserved, integrated with main6d0a128b0cde35aa091bda933577cfced3519b8a. Own incremental diff. The main-based display includes the host prerequisite. cuda: add routed EXL3 rotation with FP16 products #3607 is no longer a dependency or ancestor.atc overlap --json: 2026-11-17, basef0d3a3f9a. Selected coverage complete for inkling2: host-only family package for Inkling 2 Small #3578/CUDA (GB10): Flash Next KV in the display carveout, opt-in #2763/native: Qwen3.5-2B on CUDA attests the execution witness's first path, every weight byte read once the server is ready #2956; reported conflicts are inherited from the base. A complete 439-open-PR/file inventory and 242 relevant merge comparisons found zero new conflict files or changed inherited conflict contents after accounting for our two insertions. Global CLI coverage remains capped.Checks on this head
8ab9d4be60362b379d9619405eabc05303770a88. Executable source measured at6db2c580780f850452c5e7adf6658ef7ff03aaf7; following commits change only CHANGELOG placement and receipts.pr_check.py --base f0d3a3f9a --pr 3612: zero errors/warnings. Formatting and whitespace pass.zig build -Dfixed-cpu test-host --test-timeout 20m -j6: 2138/2138 steps; 20394 passed, 141 skipped, plus cached checks. Final focused host/loader/source-identity/Qwen commands: 16/16 steps, 7 newly executed tests passed, others cached. Disabling manifest disagreement rejection makes its control fail; restored source passes.action_required); no current-head upstream pass claimed.Receipt
Commands, raw rank outputs and executable identity.
kortexa-ai/Inkling-2-Small-EXL3-2.59bpw@05c6cd0dff9df5bf20b10419c663a1e2adc7eb64.Checklist