Repository navigation
Inkling 2 Mini on Mac: all streams' DSpark drafts share each weight read (step-major holds) - #151
Merged
plotarmordev merged 17 commits intoNov 24, 2026
Conversation
…astest-anywhere-o' into feat/235-inkling-2-mini-on-mac-all-streams-dspark
…ainst their solo twins
…, so golden replies keep their shape
…astest-anywhere-o' into feat/235-inkling-2-mini-on-mac-all-streams-dspark
…pt compares one stream's acceptance by its total, names llama.cpp's Inkling release
…ed figures; the engine receipt moves to ink mac engines
…egative integers, as lists
…astest-anywhere-o' into feat/235-inkling-2-mini-on-mac-all-streams-dspark
plotarmordev
merged commit Nov 24, 2026
36c2d79
into
feat/210-inkling-2-mini-on-mac-fastest-anywhere-o
plotarmordev
deleted the
feat/235-inkling-2-mini-on-mac-all-streams-dspark
branch
November 24, 2026 06:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Card 235. My change: greedy DSpark holds on Inkling 2 Mini (Metal) now run step-major across streams. Each cohort gets one block/unembed launch set, then one launch set per recurrent depth, so all streams' drafts share each weight read. A lone stream keeps its solo chain.
What changed
zig/src/families/inkling2/metal/dspark.zig,dspark_kernels.zig,zig/kernels/metal/inkling2: cohort scheduling by block and recurrent step, unembed reduced to active rows only.zig/tests/contract/metal_inkling2_dspark_cohort.zig). Result: 5 pass, 5 controls red as planted.tools/bench_concurrent.py/tools/bench_auth.py: per-depth tallies accept only nonnegative integers, and redaction now goes through tuples (regression test added).Exactness (on the device, checkpoint loaded): four greedy replies equal four solo replies token for token through a stream leaving and another joining; 16-stream chains at unequal depths 1-7 equal their solo holds.
Speed: M5 Ultra, control/candidate/control medians of 3,
docs/receipts/inkling-2-mini-metal-235. Code / chat tok/s against the better control:From two streams on, acceptance per depth matches the controls row for row. At one stream the per-depth split moves with each round's timing in both arms. Total kept rows are 535 / 539 / 538 for code and 441 / 440 / 457 for chat (control / candidate / control).
My only comparison here is with ashhart#4618's published figures (123.4 / 91.5 at one stream, 281.1 / 223.0 at four), which I did not measure here. The receipt against other engines at 1, 4 and 64 streams moved to card "ink mac engines".
zig build test test-goldenpasses after merging the latest base.