@no_stp_on_snek: DeepSeek-V4.1-Flash on 2 Sparks. thinking high, TP=2. 55M tokens. Actual kernel work, not a demo. it read the notes and…
Summary
The article describes an optimization for the DeepSeek-V4.1-Flash AI model on Metal hardware, where the attention kernel was improved to only launch necessary tiles, reducing compute waste and enhancing inference speed.
View Cached Full Text
Cached at: 09/16/26, 12:04 PM
DeepSeek-V4.1-Flash on 2 Sparks. thinking high, TP=2. 55M tokens. Actual kernel work, not a demo.
it read the notes and prds, ran A against B, checked a win, then opened a PR.
i watched it publish. i did not write it.
The fix at a glance: causal attention is a “triangle”. the kernel was still launching the square.
every strictly-future tile still took a threadgroup slot, woke up, asked “am i even allowed?”, and retired. on a giant GPU that’s rounding error. on Metal, at the 128–192 token prefills you actually type into a local model, launch cost is a real slice of time-to-first-token.
so only launch the on/below-diagonal tiles. T(T+1)/2 instead of T*T. same math. fewer wakes.
M5 Max, full attn chain, interleaved A/B, 15 rounds: bf16 seq=192: 0.924x (−7.6%), 15/15 paired wins. at 128 you keep 10 of 16 tiles. a third of the launches were dead on arrival.
not a new matmul. we just stopped paying for work the mask already threw away. the win is small. that’s how you know it’s the tax, not a bench trick.
Similar Articles
@MiaAI_lab: DeepSeek v4 Flash has just been upgraded for your 2x DGX Sparks. 66.6 tokens per sec and up to 153.7 with 6 concurrent …
MiaAI Lab released an upgraded recipe for serving DeepSeek V4 Flash on two DGX Spark nodes using vLLM with DSpark speculative decoding and NVFP4 KV-cache, achieving up to 153.7 tokens per second with six concurrent sessions.
deepseek-ai/DeepSeek-V4-Pro-DSpark
DeepSeek releases preview versions of its V4 series, including DeepSeek-V4-Pro (1.6T parameters, 49B activated) and DeepSeek-V4-Flash (284B parameters, 13B activated), both supporting a one-million-token context and featuring hybrid attention, manifold-constrained hyper-connections, and a Muon optimizer.
@ViC305: 18 HOURS LATER: DeepSeek-V4.1-Flash is now quantized to 4.75 bpw EXL3 for a 4× DGX Spark TP4 target. The weights are DO…
DeepSeek-V4.1-Flash has been quantized to 4.75 bpw EXL3 for deployment on 4× DGX Spark, optimizing memory usage and enabling efficient local inference with plans for validation and further optimization.
Deepseek V4 Flash running on RTX 5090 MoE
User shares optimization benchmarks for DeepSeek-V4-Flash (Q2_K) running on an RTX 5090 using a fork of llama.cpp, achieving 21.3 tokens/s generation and 1 million context size.
deepseek-ai/DeepSeek-V4-Flash-DSpark
DeepSeek releases V4 series of Mixture-of-Experts language models (Pro 1.6T/49B activated, Flash 284B/13B activated) supporting one-million-token context with hybrid attention and speculative decoding, claiming best open-source model performance.