Repository navigation
perf(flint): pin exact decode fusions - #1556
Conversation
…ed width Pins mlx-swift-lm claude/flint-perf (0349802): larger decode command buffers, fewer paged decode dispatches and host uploads, a fused MoE FP32 expert combine, batched sliding-window prefill attention, final-layer KV-only evaluation chunks, and constrained decode chaining with cached device masks. Every SDK change is byte-identical to the previous path. FlintNativeProtocolConstraint and FlintAnswerStopConstraint opt into chained decode and key their cached masks by constraint state, since the allowed set depends only on the state while output budget remains. RecursiveSI/flint-int4 joins the automatic paged list, so it serves at the legacy paged width (8) on M5 Pro, Max and Ultra. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atch) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fused q/k/v and gate/up projections, fused routed gate/up banks, one MoE combine-and-residual kernel and compiled router steps: the batch-1 decode graph drops from 2,042 to 1,233 GPU primitives per token with byte-identical logits, K/V and tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fbd2cd0d is the Flint speedup branch with mlx-swift-lm main (f77b384c, master's previous pin) merged in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…04a0cf7 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…4a297e2 (#338) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Threat model review — advisoryReviewed head Review not completed for this head. Previous findings are superseded, not confirmed resolved. Scan incomplete: 1 file(s) could not be fully read as text. Binary, Git LFS and submodule changes require manual review. Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging. Coverage: 9/21 source units; cross-file integration pending. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned. Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 0 reused batch(es), 0 provider cache-hit tokens. Saved findings and earlier report · Historical findings are not confirmed resolved. Bedrock: 2 request(s), 95627 uncached + 0 cache-read + 0 cache-write input / 1154 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately. |
…7bed8216 (#338) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-up to #1555 (merged): pins merged mlx-swift-lm
mainat7bed8216(Layr-Labs/mlx-swift-lm#338, merged), the exact Flint decode fusions that cut the batch-1 decode graph from 2,042 to 1,233 GPU primitives per token with byte-identical logits, K/V and tokens. mlx-swift stays at67dc752(currentmain). The diff againstmasteris the pin, a changelog fragment and aninference.mdparagraph.Measured through a real served endpoint (
darkbloom start --local, M5 Max, paged/native/native, width 8, production sampling, Flint protocol constraint on; #1555 build vs this build, two interleaved rounds with cool-downs):No provider source changes: only the SDK pin, a changelog fragment and an
inference.mdparagraph on the fusions. Fusion details, exactness evidence and limits are in mlx-swift-lm#338.make changelog-check/make docs-impact-check BASE=origin/master🤖 Generated with Claude Code