r/LocalAIStack • • Jun 23 '26

Running Qwen3.6 27B / 35B locally with llama.cpp + Vscode Insiders + copilot as the harness - highest performance, quality and best usage while fitting on your GPU

170 Upvotes

I have been benchmarking Qwen3.6-27B and Qwen3.6-35B-A3B locally through llama.cpp, with GitHub Copilot Chat (Vscode Insiders needed) used as the frontend harness.

I am using Claude Opus, GPT 5.5 and Qwen 3.6 (27B) a lot in the past weeks.
The reason for Qwen is proprietary code areas where remote inference is not an option as it would leak the code out. And as long as you don't task it to write a complex cuda graph, it performs well.
Qwen 27.B is at Sonnet 4.6 if you combine it with a high value system prompt - or between Sonnet 4.5 and Sonnet 4.6 without.

Copilot Chat is an excellent harness for this kind of setup. You get the IDE integration, agent flow, tool calling UI, file context, and normal coding workflow, while the actual model is your own local llama-server endpoint.
All of this works while being LOGGED OUT of the Github Copilot account - as that is not affordable in pricing anymore.

This is a practical configuration guide for people already comfortable with llama.cpp, GGUFs, VRAM budgeting, and long-context local inference.

Models tested

Main focus:

  • unsloth/Qwen3.6-27B-GGUF
  • unsloth/Qwen3.6-27B-MTP-GGUF (same model but with MTP draft tensors)
  • unsloth/Qwen3.6-35B-A3B-GGUF

Recommended GGUFs:

27B:
Qwen3.6-27B-UD-Q4_K_XL.gguf
or
Qwen3.6-27B-MTP-GGUF:UD-Q4_K_XL

35B-A3B:
Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M

If memory is tight on the 35B-A3B model, drop to a smaller Unsloth Dynamic quant:

Qwen3.6-35B-A3B-GGUF:UD-Q3_K_XL

If even that is tight, use UD-Q3_K_M or UD-Q3_K_S.

For the 35B model I do not recommend KV-cache quantization. Run the normal cache and keep the context sane. the 35B model is MoE and very low on kv-cache

For the 27B model, I do highly recommend:

--cache-type-k q4_0
--cache-type-v q4_0

Recent llama.cpp KV-cache improvements make q4_0 much more usable here. The 27B model handles q4_0 KV cache very well in my testing - almost identical to FP in evaluation results.

What changed: llama.cpp added something like Hadamard rotation to kv-cache which shuffles the tensor distribution in a higher dimensionality and allows quantization superblocks to function.

Why Copilot Chat?

Because Copilot is a very good harness - beating Codex, Cursor, Claude in my opinion
Vscode Insiders is needed to get the openAI compatible endpoint (to interface the model)

You get:

  • IDE-native chat
  • agentic file/code workflows
  • very good tool calling
  • project context
  • local model backend
  • OpenAI-compatible endpoint wiring

The important part is that Copilot Chat is only the harness. The model is served locally through llama-server.

Why llama-server and not lm-studio,ollama etc ?

It allows MUCH more control over settings, we do not just use MTP drafting. We use a combination of context and MTP drafting which can lead to 300+ tokens/sec on the 27B model. MTP is a medium speedup (1.5x) but once the model is paraphrasing source code from thinking or prefill the ngram draft speedup can reach 6x or more.

So the stack is:

VS Code Insiders
        ↓
custom OpenAI-compatible model config
        ↓
llama.cpp llama-server
        ↓
local Qwen3.6 GGUF

Copilot chatLanguageModels.json

This is the shape I used for VSCode Insiders:

[
  {
    "name": "WSL",
    "vendor": "customoai",
    "models": [
      {
        "id": "qwen3.6-27b",
        "name": "QWEN-27B-WSL",
        "url": "http://172.27.211.123:1234/v1/chat/completions",
        "toolCalling": true,
        "vision": true,
        "thinking": true,
        "maxInputTokens": 165000,
        "maxOutputTokens": 15000
      }
    ]
  }
]

Adjust the URL to your own llama-server host, in WSL you'll see it by entering ipconfig or ifconfig. port you can choose of course.
The input and output tokens need to be adapted to your context setting.
The id must match the llama-server id.

For local-only setups this is usually one of:

http://127.0.0.1:1234/v1/chat/completions
http://localhost:1234/v1/chat/completions
http://<WSL-IP>:1234/v1/chat/completions

If your Copilot Insiders build expects the newer custom endpoint shape, use the same model block but switch the provider shape accordingly. The key fields are the endpoint URL, model id, tool calling, thinking, and max token limits.

27B command: long context + q4_0 KV cache + MTP-ngram drafting

This is the 27B style I recommend.

CTX=150000
PARALLEL=1
HOST=0.0.0.0
PORT=1234
MODEL=/models/Qwen3.6-27B-UD-Q4_K_XL.gguf

/usr/src/llama.cpp/build/bin/llama-server \
  -m "$MODEL" \
  --ctx-size "$CTX" \
  --flash-attn on \
  --batch-size 1024 \
  --ubatch-size 1024 \
  --parallel "$PARALLEL" \
  --host "$HOST" \
  --port "$PORT" \
  -ngl 99 \
  --threads 8 \
  --threads-batch 8 \
  --cache-type-k q4_0 \
  --cache-type-v q4_0 \
  --temp 0.6 \
  --top-p 0.95 \
  --top-k 20 \
  --min-p 0.00 \
  --presence-penalty 0.00 \
  --jinja \
  --chat-template-kwargs '{"preserve_thinking": true}' \
  --reasoning-format none \
  --reasoning-budget 16000 \
  --slot-save-path /kv_cache/ \
  --props \
  --metrics \
  --checkpoint-every-n-tokens 1024 \
  --ctx-checkpoints 64 \
  --perf \
  --spec-default \
  --spec-type draft-mtp \
  --spec-type ngram-map-k4v \
  --spec-ngram-map-k4v-size-n 16 \
  --spec-ngram-map-k4v-size-m 24 \
  --spec-ngram-map-k4v-min-hits 1

For the MTP-specific Unsloth repo, use:

MODEL=/models/Qwen3.6-27B-MTP-UD-Q4_K_XL.gguf

or the HF shorthand if your build supports it:

-hf unsloth/Qwen3.6-27B-MTP-GGUF:UD-Q4_K_XL

The important part is the drafting chain:

--spec-default
--spec-type draft-mtp
--spec-type ngram-map-k4v
--spec-ngram-map-k4v-size-n 16
--spec-ngram-map-k4v-size-m 24
--spec-ngram-map-k4v-min-hits 1

MTP gives useful speedup, but leave VRAM headroom. In practice I budget roughly +1 to +2 GB VRAM headroom for the MTP/drafting path and related buffers. If you are right on the edge, reduce context before blaming the model.

At q4_0 KV cache, every extra 1 GB of free VRAM is roughly another 13k tokens of 27B context, before runtime overhead.
If you are tight in vram, remove only the MTP part as ngram drafting is free.
You can also just use `mod-ngram` as an alternative to the more complex k4v map.

Thinking settings

This part matters.

I use:

--jinja
--chat-template-kwargs '{"preserve_thinking": true}'
--reasoning-format none
--reasoning-budget 16000

The reasoning-format none is important for Qwen3.6 because it avoids bad stop behavior and broken multi-turn thinking state during long coding sessions.
Copilot Chat was created to hide thinking from you (proprietary GPT models) but you want to see the thinking usually. So this solves both issues.

I also keep:

--reasoning-budget 16000

This gives the model room to think, but avoids runaway reasoning loops eating the whole session.

35B-A3B command: no KV-cache quantization

For 35B-A3B, I recommend being more conservative.

CTX=100000
PARALLEL=1
HOST=0.0.0.0
PORT=1234
MODEL=/models/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf

/usr/src/llama.cpp/build/bin/llama-server \
  -m "$MODEL" \
  --ctx-size "$CTX" \
  --flash-attn on \
  --batch-size 1024 \
  --ubatch-size 1024 \
  --parallel "$PARALLEL" \
  --host "$HOST" \
  --port "$PORT" \
  -ngl 99 \
  --threads 8 \
  --threads-batch 8 \
  --temp 0.6 \
  --top-p 0.95 \
  --top-k 20 \
  --min-p 0.00 \
  --presence-penalty 0.00 \
  --jinja \
  --chat-template-kwargs '{"preserve_thinking": true}' \
  --reasoning-format none \
  --reasoning-budget 16000 \
  --slot-save-path /kv_cache/ \
  --props \
  --metrics \
  --checkpoint-min-step 1024 \
  --ctx-checkpoints 16 \
  --perf

No q4_0 KV cache here - the sub 4B active parameters need barely any VRAM anyway.

I recommend keeping 35B-A3B below roughly:

110k context

The 35B model can be pushed past 200k context, but in my testing it becomes more likely to fall into reasoning loops. Once that happens, the session usually does not recover cleanly. Start a fresh session.
The upside of the 35B model is extreme performance, as in hundreds of tokens without any drafting enabled.
You CAN use drafting on top, mod-ngram, MTP and other drafting can be added for more speed but those will need a careful balance (that I have not tested yet)

So my practical 35B rule is:

35B-A3B: stay below 110k if you want stable coding behavior.
27B: can go as high as it fits, but below 150k is where it feels strongest.

Checkpointing
The --checkpoint-min-step (or --checkpoint-every-n-tokens (legacy now) is an important option for qwen models. Briefly explained: qwen models have two kv caches, one is more conventional and one is a recurrent-state (SSM/Mamba) that can not be reversed by n tokens. So if you change something (like remove the last answer and message to benefit from existing context) then you can only do that if a checkpoint exists. Otherwise the entire context is reprocessed which is very slow on a 27B model.
Each checkpoint costs 160MB RAM, the internal API supports VRAM checkpointing but I believe currently only the MTP implementation uses that.
--checkpoint-min-step and --ctx-checkpoints multiplied define how much of your LAST context is protected and can be rewound. 1024*16 means 16K context can be reversed with low re-compute cost (almost instant).

LM Studio as local server

Using LM Studio is possible but you need to use a few tricks and it won't achieve the same top-tier performance.
LM Studio does not support our chained drafting, but it supports MTP.

  1. Go to your Qwen 3.6 model, enable Flash attention and the quantization needed for kv cache. Go to the Inference tab, disable the button for "Reasoning Section Parsing"
  2. Go to Developer, Server Settings and set the port, serve on local network if needed, no auth, enable CORS, consider disabling just-in-time loading.
  3. Start the local server and then use the "clipboard copy" icon to get the precise Server ID which you use in the vscode json config.

Everything else is similar to llama-server, you'll not have the same max performance but it works well.
You can always just install the latest llama release binaries, and use the commandline to load the model from the lmstudio models directory.

VRAM planning

These are practical planning numbers, not hard guarantees. Actual fit depends on:

  • exact GGUF
  • CUDA/ROCm/Metal/backend
  • batch/ubatch
  • -ngl
  • whether the desktop is using the same GPU
  • whether MTP/speculative decoding is enabled
  • whether you are using full GPU offload or spilling to CPU RAM

Qwen3.6-27B UD-Q4_K_XL, q4_0 KV cache

Recommended cards:

24 GB: RTX 3090, RTX 4090, RTX A5000, RTX 4500 Ada, RTX PRO 4000 Blackwell, A10
32 GB: RTX 5090, RTX 5000 Ada, Tesla V100 32GB

Approximate context fit with full GPU offload:

VRAMExample NVIDIA cardsPractical context
16 GBRTX 4060 Ti 16GB, RTX 4080 Laptop 16GB, RTX 5080 16GB, RTX 5070 Ti 16GB, RTX A4000 16GBNot recommended for full 27B UD-Q4_K_XL offload. Use smaller quant or partial CPU offload.
24 GBRTX 3090, RTX 4090, RTX A5000, RTX 4500 Ada, RTX PRO 4000 Blackwell, A10~45k-60k with MTP, ~60k-75k without MTP
32 GBRTX 5090, RTX 5000 Ada, Tesla V100 32GB~140k-160k with MTP, ~160k-180k without MTP

For 27B, q4_0 KV cache is the difference between normal local context and huge local context. It is the main reason this setup is viable.
On a 5090 you have enough VRAM to supply 2 sessions in parallel with both model types.
Or you could run one fast model for context summarization and 27B for code.

Qwen3.6-35B-A3B UD-Q4_K_M, normal KV cache

Recommended cards:

24 GB minimum for useful GPU-resident contexts
32 GB strongly preferred

Approximate context fit:

VRAMExample NVIDIA cardsPractical context
16 GBRTX 4060 Ti 16GB, RTX 4080 Laptop 16GB, RTX 5080 16GB, RTX 5070 Ti 16GB, RTX A4000 16GBNot recommended for full 35B-A3B Q4. Use Q3 or partial offload.
24 GBRTX 3090, RTX 4090, RTX A5000, RTX 4500 Ada, RTX PRO 4000 Blackwell, A10~40k-50k
32 GBRTX 5090, RTX 5000 Ada, Tesla V100 32GB~100k-110k recommended; more will fit but stability drops

The 35B-A3B model is very good, but I would not treat it as a “just max the context” model. Keep it tighter.
If you have the VRAM: Instead of large context, consider multiple sessions with limited context, so you can have 2 or 3 chats simultaneously.

Quick test: Linux

Once llama-server is running:

curl -s http://127.0.0.1:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.6-27b","messages":[{"role":"user","content":"Reply with exactly: local ai works"}],"max_tokens":16}' \
  | jq -r '.choices[0].message.content'

Expected output:

the model responds to your input

If your server is inside WSL or another host, replace 127.0.0.1 with the server IP.

Quick test: Windows PowerShell

(Invoke-RestMethod `
  -Uri "http://127.0.0.1:1234/v1/chat/completions" `
  -Method Post `
  -ContentType "application/json" `
  -Body '{"model":"qwen3.6-27b","messages":[{"role":"user","content":"Reply with exactly: local ai works"}],"max_tokens":16}'
).choices[0].message.content

Expected output:

local ai works

Notes from benchmarking

My current practical ranking:

27B:
Best long-context local coding model in this setup that is close to Sonnet 4.6
Use q4_0 KV cache.
Use MTP if you have the headroom.
Strongest below 150k context, but can go much higher if memory allows.

35B-A3B:
Excellent quality but will fail on hard tasks
Do not use KV-cache quantization.
Keep below ~110k context for best stability.
Can go above 200k, but reasoning loops become more likely.
If it loops, start a new session.

For Copilot usage, I prefer exposing a conservative maxInputTokens in the JSON, even if the server can technically run higher. For example:

"maxInputTokens": 165000,
"maxOutputTokens": 15000

If you set wrong context here you'll get issues serverside, so make sure that matches.
I had cases where the server went OOC (out of context) when getting too close to the max context so I'd leave a little room. copilot seems to not follow this very strictly.

Final recommendation

If you want the most practical Copilot-local setup:

Use Qwen3.6-27B UD-Q4_K_XL
Use llama.cpp server
Use q4_0 KV cache
Use preserve_thinking
Use reasoning budget
Use Copilot Insiders as the harness
Use MTP only when you have VRAM headroom

If you want the stronger but more conservative model:

Use Qwen3.6-35B-A3B UD-Q4_K_M
Do not quantize KV cache
Stay below ~110k context
Drop to UD-Q3_K_XL if memory is tight

This is the first local setup I have used where Copilot feels like a serious frontend for a fully local long-context coding model instead of just a toy endpoint test.

I have tested this on terminal use, debugging, and massive codebase development - it works just like Sonnet 4.6.

Qwen 27B also beats Sonnet 4.5 in most benchmarks and 4.6 in some.
https://artificialanalysis.ai/models/comparisons/qwen3-5-27b-vs-claude-4-5-sonnet-thinking#intelligence-evaluations


r/LocalAIStack • • 1h ago

Qwen4-35B-A3B - up to 512tk/sec and VERY CLOSE to Qwen 3.8 27B performance

Thumbnail
stealthmodels.com
5 Upvotes

We just completed StealthMark ratings for the new Qwen 4 model! Apache 2 Weights !
We used llama.cpp with a Q6_K (Unsloth UD variant) quantization and later verified the scores using full precision via openrouter alibaba cloud.
Full precision showed identical performance to Q6K, a little up and down in normal uncertainty - the model likely can go to 4-5 bit without much loss in fluid intelligence.

Inkling 2 Mini got all the hype, Qwen4 35B is much stronger in every StealthMark metric.

This model is a ngram enhanced Qwen 3.8 architecture, it basically is Qwen3.8-Flash - just smarter and half as large!

Speed:
The token speed is amazing, even with partial CPU offload we reach 124 tokens/sec on a 5090, benchmarks show speed can reach 512 tokens/sec on such a GPU.
Qwen4 35B is one of the fastest models you can use today.

Efficiency:
Qwen4-35B is among the MOST EFFICIENT models ever tested by Stealthmodels !
It's the 3rd best ever tested in that category, it's very affordable to run or pay.

Reasoning effort:
Qwen4 35B is an over-thinker, it's not beating Qwen3.8 27B, surprisingly. However, it has 1 million context window and it is so fast that the additional thinking time can be acceped.

Intelligence:
Who would have guessed that a 3 billion active parameter model is on EYE LEVEL with Qwen3.8-27B ? Alibaba did it!
The 27B model is still beating it, but very narrowly.
Look at the comparison between Qwen3.8 27B, Qwen3.8 Flash and Qwen4 35B.
The tiny 35B model is just a few percent below the dense 27B, and Flash is behind both.

https://stealthmodels.com/compare/qwen3.8-27b-vs-qwen4-35b-a3b-vs-qwen3.8-flash

Qwen4-35B might be one of the or "the" most important open LLM release of 2026, given how well this performs and how easily accessible it is.
The expectations for Qwen4-27B are very high now.


r/LocalAIStack • • 49m ago

Honest Qwen4-35B-A3B Benchmarks on Strata: 12GB RTX 3080 Ti (66 -> 240 tok/s AST-verified, why 684 tok/s is a trap) vs 96GB RTX PRO 6000 Blackwell (405 tok/s lossless)

Thumbnail gallery
1 Upvotes

r/LocalAIStack • • 1h ago

14 drop-in ROCm/HIP patches for llama.cpp on AMD RDNA 2 (RX 6900 XT / gfx1030): Wave32 FlashAttention, v_dot8_u32_u4, Qwen3.5 fusions, and benchmarks vs. Mesa RADV

1 Upvotes

My main local GPU is a consumer 16 GiB Radeon RX 6900 XT (gfx1030, Navi 21). Until now I kept most AMD routes on Mesa RADV (Vulkan0) because stock upstream llama.cpp (ee46715 on ROCm 7.2) lost to RADV on 18 out of 18 single-token decode (tg128) tests by -6% to -14%.

When I audited libggml-hip.so and ran rocprofv3 traces, five big bottlenecks popped out:

Upstream routed RDNA 2 MMVQ onto a single-warp fallback (nwarps = 1), capping Wave32 residency at 16/32 waves per CU.

3,470 of 7,632 compiled HSACO kernels (45.5%) were spilling to private scratch (273 in FlashAttention and 1,299 in MMQ/MMQ-few alone).

Small-batch quantized-KV FlashAttention (B = 1..8) was converting KV tiles through FP16 staging buffers, thrashing Infinity Cache.

nsm = 40 (WGPs) instead of 80 physical CUs left 40–80% of CUs idle around pp=64.

Unfused Qwen3.5 hybrid Gated-DeltaNet / SSM_CONV ops and standalone quantize_q8_1 launches burned 31% of wall time in AQL dispatch gaps.

What's in the Patch Stack (14 atomic MIT patches, ggml/src/ggml-cuda/ only) Everything is strictly gated to RDNA 2 (gfx1030, zero core/model/server edits, non-RDNA2 HIP/CUDA/Vulkan/CPU untouched):

Multi-warp Wave32 MMVQ & DPP: Decoupled MMVQ_PARAMETERS_RDNA2 (2–4 warps) + native Wave32 v_permlanex16_b32 / v_pk_max_f16.

Zero-scratch Wave32 flash_attn_ext_rdna2: Eliminated all 273/273 FA spills; stages raw Q8_0/Q4_0/Q4_1/F16 KV directly in LDS (0 B FP16 staging) and uses lossless v_dot8_u32_u4 for Q4_0/Q4_1 KV (-32.2% FA active time vs q8_0 at d=16384).

Zero-spill MMQ + bit-parallel IQ + 80-CU guard: Eliminated all 1,299 MMQ/MMQ-few spills, added v_xad_u32+v_perm_b32 IQ2/IQ3 sign unpackers (helpful for fitting 27B + 16K ctx inside 16 GiB), and kept J=32 when J=64 would under-fill 80 CUs.

Qwen3.5 GDN/SSM fusions + inline Q8_1 epilogues: Thin mmvf routing (pp=16..64 +10.1%..+34.7%), fused GDN gate/beta + SSM_CONV -> SiLU -> Q/K L2 norm, and inline Q8_1 quantization inside RMSNorm / GLU (-75.2% decode quantize_q8_1 dispatches, -34.6% AQL gaps, -309 to -752 MiB peak server VRAM).

Selected Benchmarks (RX 6900 XT, ROCm 7.2, llama-bench -r 3 -fa 1) Format: Stock HIP -> Patched HIP (vs Stock HIP | vs Mesa RADV)

Workload KV 9B UD-Q4_K_XL 9B UD-IQ3_XXS 27B UD-IQ3_XXS tg=128 (d=0) q8_0 65.92 -> 70.25 (+6.6% | 0.962x) 83.91 -> 94.11 (+12.2% | 0.982x) 30.69 -> 32.81 (+6.9% | 0.982x) tg=128 (d=16384) q4_0 62.99 -> 68.05 (+8.0% | 1.006x) 80.51 -> 88.77 (+10.2% | 1.019x) 29.16 -> 30.81 (+5.7% | 0.993x) pp=4 (d=8192) q8_0 192.10 -> 229.13 (+19.3% | 1.684x) 220.06 -> 281.68 (+28.0% | 2.147x) 78.75 -> 104.92 (+33.2% | 1.596x) pp=8 (d=8192) q8_0 283.26 -> 347.39 (+22.6% | 1.824x) 310.91 -> 459.77 (+47.9% | 2.227x) 105.65 -> 161.14 (+52.5% | 1.795x) pp=8 (d=16384) q4_0 270.75 -> 340.85 (+25.9% | 1.511x) 305.74 -> 442.56 (+44.8% | 2.177x) 101.62 -> 152.38 (+49.9% | 1.788x) pp=512 (d=0) q8_0 1634.35 -> 1656.87 (+1.4% | 1.031x) 1951.65 -> 2004.62 (+2.7% | 1.401x) 585.44 -> 604.19 (+3.2% | 1.427x) On single-request llama-server (draft-mtp, cache_prompt: false):

27B UD-IQ3_XXS (n=3, short_temp07 70/256): 43.71 -> 56.92 tg tok/s (1.302x vs stock HIP, 1.276x vs RADV; wall 6.03s -> 4.67s, +29.0%).

27B UD-IQ3_XXS (n=3, ctx4k_greedy 6,775/192): 44.25 -> 55.56 tg tok/s (1.256x vs stock HIP; wall 16.92s -> 15.62s vs RADV 21.57s, 1.38x faster than RADV).

9B UD-IQ3_XXS (n=2, ctx4k_greedy 6,775/192): 105.70 -> 123.66 tg tok/s (1.170x vs stock HIP; wall 5.78s -> 5.36s vs RADV 7.17s).

Honest Caveats & What Didn't Work Failed ablations kept out: Non-temporal MALL weight loads (-10% to -22% decode), Gate+Up fusion above B = 1 (-30% to -37% pp=8), and v_dot8 inside MMVQ/MMQ (-13% to -17.5% pp=16..32 because v_dot8 shares the same 1 op/cycle SIMD32 rate as v_dot4 on RDNA 2 and only wins when O(1) prologue packing amortizes over long KV tiles).

Greedy divergence (DIFF!): test-backend-ops (7/7) passed 100% and 6-chunk WikiText-2 KLD hit Mean KLD = 0.000000, but multi-warp reduction reordering still nudges borderline greedy tokens and can swing draft acceptance on individual single-shot runs (one 9B IQ3_XXS short greedy row dipped to 0.984x tg on a -10.6 pp acceptance swing).

Pure q8_0 decode vs RADV: Patched HIP ties or beats RADV on 9B q4_0 decode (1.000x–1.019x), while pure q8_0 tg128 still sits 1–4% behind RADV (0.953x–0.989x) — traded against HIP's 1.34x–2.28x verify and 1.03x–1.44x prefill lead.

Hardware tested: Physically validated on an RX 6900 XT (gfx1030). gfx1031 (6700 XT) / gfx1032 (6600 XT) share the same Wave32 / v_dot4 / v_dot8 ISA, so feedback from anyone testing on those cards would be awesome.

MIT Repo (14 patches, spill auditor, fail-closed A/B harness, AGENT_ADOPT_PROMPT.md): https://github.com/s1mply-parad0x1cal/llama-cpp-navi21-optimizations

Full write-up (ad-free, with ablations and comparison to llama-navi21-furnace / llama-cpp-rdna-boosts): https://nocthoughts.com/2026/12/04/navi21-gfx1030-rocm-hip-optimizations-for-llama-cpp.html


r/LocalAIStack • • 2h ago

Nanobot on Android + LocalLLM

Thumbnail
reddit.com
0 Upvotes

r/LocalAIStack • • 6h ago

Qwen4 35B A3B Abliterated for REA?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 8h ago

QWEN Image 3 ...coming soon

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 9h ago

Qwen4-35B-A3B-Q6_K (MoE) on my local AMD R9700 -- c/w Qwen3.8-27B (dense) Unsloth UD-Q6_K

Thumbnail gallery
1 Upvotes

r/LocalAIStack • • 21h ago

We're joining our computers to run a 125B model none of them could load alone

Post image
7 Upvotes

I run everything I can locally, and I don't like that for the big models the answer is still to rent them from two or three companies that decide the price and whether I get access at all. Complaining wasn't going to change that, so I built MeshKore LLM.

We connect our computers, each one lends some of the memory it isn't using, and together we run one open-weight model that none of them could load alone. It's split by layers with llama.cpp RPC, and a hub decides which machine holds what. Macs and GPU PCs go in the same pool: a Mac lends unified memory, a PC lends video memory first and system RAM only when the model doesn't fit otherwise. The biggest we've run so far is a 125B Qwen MoE with 6B active at IQ3_XXS, and next on the list is the 321B GLM Flash, which should take between 7 and 10 machines, depending on how much each one lends.

In your stack it's one more OpenAI-compatible endpoint, on `127.0.0.1:17080`, next to whatever you already run. There's no cloud model behind it, only the machines people lend. Using it through your own node is free, and there's no account to make.

It's slower than a model on your own GPU, and it isn't private yet: the machines running a request can read it, so nothing sensitive for now.

There's a package for Apple silicon Macs with 16 GB or more, and on Windows and Linux you build the node from source for now. You pick how much memory to lend and it stops lending when you're on battery. The code is public under the Sustainable Use License, which isn't an open source license.

I'd like to see how far we get with the machines we already own. Does anyone here already split a model across the machines they have at home? With what?


r/LocalAIStack • • 12h ago

BEST WAY TO RUN Qwen4-35B-A3B?

Post image
0 Upvotes

r/LocalAIStack • • 14h ago

Ported `Looped-Qwen3.8-Flash-Next` to Radiance on `qwen3.8-next-flash-iqr-v4` (2x Radeon AI PRO R9700, TP2) — 97.0% HumanEval+, 90.0% AIME 2025, 126 tok/s single / 314 tok/s batch-3 with MTP

Thumbnail reddit.com
0 Upvotes

r/LocalAIStack • • 15h ago

I parsed all 21 Qwen4-35B-A3B GGUF headers and built a 3-tier (VRAM + RAM + Engram NVMe) calculator — plus real RTX 5060 8GB + 16GB RAM benchmarks

1 Upvotes

Generic VRAM calculators get Qwen4-35B-A3B completely wrong because they ignore three things unique to this architecture:

  1. Non-expert weights are tiny (`1.89 – 3.04 GB`): Parsing the actual GGUF headers of `unsloth/Qwen4-35B-A3B-GGUF` and `ggml-org/Qwen4-35B-A3B-GGUF`, 82–88% of the backbone is routed MoE experts (`blk..ffn__exps.weight`). Keeping all 40 layers of Attention + Gated DeltaNet + Shared Experts + KV cache on GPU and offloading only excess routed experts (`-ot`) is way faster than naive `-ngl`.
  2. 3:1 Hybrid Attention KV Cache: 30 of 40 layers are Gated DeltaNet (fixed ~62.5 MB/slot recurrent state, independent of context length). Only 10 layers allocate KV cache (`2 KV heads × 256 head_dim` → 20.1 KiB/tok FP16**,** 10.7 KiB/tok Q8_0). At 128K Q8_0 context, total cache is only ~1.46 GB (~75% smaller than a standard 40-layer GQA model).
  3. 20.5B Engram Table (`--lazy-mode auto` / `--ple`): The 11.5–41 GB `per_layer_token_embd` table stays lazy-loaded on NVMe SSD rather than bloating RAM/VRAM.

Live Tool (100% client-side, open-source Apache-2.0):

- Web Calculator: https://odeenchang.github.io/qwen4-local-fit/

- GitHub Repo + Benchmark Scripts: https://github.com/OdeenChang/qwen4-local-fit

Features:

- Exact byte sizes parsed from all 21 official Unsloth & ggml-org GGUF headers (including per-layer routed expert sizes)

- Auto-generates exact `-ot "blk.(...).ffn_.*_exps.=CPU"` regex for your GPU/RAM headroom

- Supports `--ple` Engram table mix-and-match (`IQ4_NL` / `Q5_1` / `Q8_0` / `BF16`), vision `mmproj`, MTP speculative decoding, and Unified Memory (Apple Silicon)

Real Low-Spec Test (`RTX 5060 8GB Laptop + 14 GiB Usable RAM + PCIe Gen4 NVMe`, `llama.cpp b12973 CUDA 12.8`, `UD-IQ2_XXS` + `Engram IQ4_NL`):

- Naive `-ngl 10` (no `-ot`), 32K Q8_0 KV: `4.39 GB` peak VRAM → `13.01 tok/s` decode (`131.9 tok/s` prefill)

- **MoE-Aware `-ngl 99 -ot "\.ffn_._exps\.=CPU"`**, 32K Q8_0 KV: `3.73 GB` peak VRAM (`+2.84 GB` delta!) → `37.23 tok/s` ***decode (***2.86× faster AND 0.66 GB less VRAM!*)

- MoE-Aware Hybrid (`13/41` routed MoE layers on GPU), 32K Q8_0 KV: `6.38 GB` peak VRAM → `43.84 tok/s` decode (`228.0 tok/s` prefill, 3.37× faster than naive `-ngl`!)

- MoE-Aware 128K Context (`Q8_0 KV`)****: `5.07 GB` peak VRAM (`+4.15 GB` delta) → `36.02 tok/s` decode! (Adding +96K context only cost `+1.31 GiB` VRAM, matching our `config.json` hybrid formula within 2%!)

Would love feedback on any edge cases (especially Apple Silicon unified wired limits or multi-GPU `--tensor-split`)!


r/LocalAIStack • • 17h ago

Sorry 🤷🏼‍♂️

Post image
1 Upvotes

r/LocalAIStack • • 18h ago

Made a local LLM from scratch to fit into 30ish MB of memory

1 Upvotes

It's called MODL 25M (Modular - Offloaded - Dynamic - Looped Transformer)

A 25M active parameter model that can run locally on an Android phone.
It's mostly a proof of concept for the architecture, which tries to find a way around the constraints of RAM by combining the recent advancements in local models.

It can detect phishing attempts in messages, social engineering, scam attempts, and notify the user while running in the background.

It's trained on 2 languages (English and Arabic), and based on the public benchmarks I ran, it punches above its weight.

Next goal is to scale it up, introduce proper generative conversations, and see how well it does.

Code & Android App: https://github.com/N71-AE/MODL-1-25M
Weights: https://huggingface.co/N71-AE/MODL-1-25M


r/LocalAIStack • • 1d ago

My 96gb vram homelab

Post image
45 Upvotes

Hardware:

Dell 5820, Xeon w-2235, 128gb ram.

2 internal AMD v620 32gb flashed with w6800 firmware and fans added. One is in 16x pcie slot 1 and one is in 16x slot 3.

1 external AMD w6800 32gb in connected via occulink to 8x pcie slot 5.

1tb nvme, 14tb sata, 16gb sata

Performance: With an 80b model spread across the internal 64gb vram I get 50tk/s. I tried the full 96gb and it gave me like 7tk/s.


r/LocalAIStack • • 22h ago

First App to Share Local AI Video & LLMs Across Multiple PCs (VRAM + RAM)

Thumbnail
youtube.com
1 Upvotes

r/LocalAIStack • • 22h ago

First App to Share Local AI Video & LLMs Across Multiple PCs (VRAM + RAM)

Thumbnail
youtube.com
1 Upvotes

r/LocalAIStack • • 1d ago

RawrXD - Own the entire stack

1 Upvotes

Your hardware. Your models. Your AI IDE.
Meet RawrXD — an independently developed, native C++20 AI development environment featuring autonomous coding agents, its own inference engine, Vulkan GPU acceleration and offline model compression.
No Electron. No mandatory cloud inference.
Explore REAP-pruned GLM-4.7-Flash, delivering 2.56× faster empty-context prefill in published llama.cpp Vulkan benchmarks.
Explore the source:
https://github.com/ItsMehRAWRXD/RawrXD
Download the experimental REAP model:
https://huggingface.co/ItsMehRawrXD/ReapDeepseekFlash47Flash
RawrXD — Own the entire stack.


r/LocalAIStack • • 1d ago

High speed SSD MoE

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 1d ago

Need help setting up

Thumbnail reddit.com
1 Upvotes

Perhaps you have ideas :)


r/LocalAIStack • • 2d ago

Amazon's new Ergo model has been evaluated by StealthMark - it's GOOD.

Thumbnail
stealthmodels.com
21 Upvotes

Ergo is finally a western open weights model that can compete with chinese models!

It handled Stitchlight (a Roguelike RPG) quite well in some situations, mid game it was chased by two rats, ran into a building and shut the door.
Fighting the two faster rats would have been smarter but using a door as barrier against low-intelligent enemies gave it some extra score - it's an intelligent counter to a threat.

Ergo handled all benchmarks pretty well, it scored above most open models and maybe most important: Ergo is remarkable well scored in cost efficiency!
Here is a comparison of Kimi K3.1 Pro, GLM 5.3, Qwen 3.8 27B and the new Ergo 1.0:
https://stealthmodels.com/compare/kimi-k3.1-pro-vs-glm-5.3-vs-ergo-1.0-vs-qwen3.8-27b

Kimi is the strongest but Ergo is not far behind and in cost efficiency Ergo significantly leads.

It's a model we'll probably not run on local hardware anytime soon but it's much needed open competition.


r/LocalAIStack • • 1d ago

New LlamAmpere: Inkling 2 Mini at 189 TPS @ 100K depth; 23% faster than Maya, with 98.0% Top-1; 27B at 121 TPS @ 100k ctx depth, with 98.2% Top-1, with support for looped 27b + QFN

Thumbnail
reddit.com
3 Upvotes

r/LocalAIStack • • 1d ago

ShuffLLM: A privacy-focused Local AI Ratings Tool w/ a sweet Home Assistant Add-On and Prompt Lab

Thumbnail gallery
1 Upvotes

Released just earlier today. GPLv3 licensed and free to use on Mac/Win/Linux. Take a look and see if it spruces up your setup! Thanks in advance =)


r/LocalAIStack • • 2d ago

Inferometer: Building a community sourced inference engine benchmark database

Thumbnail
inferometer.fyi
4 Upvotes

Lately I've been seeing a lot of posts about how its hard to keep up with the optimal setup given how many engine forks there are these days, many of them specialized for specific hardware or specific models.

I myself have been shopping around for a new GPU to run local AI on, and it is brutal trying to find benchmarks on how well a model would run on a particular GPU, and even if you do find some, it's always some unknown quant, or an old model. It's really hard to find a comment where it's got the model you want to run, at the quant you want to run, on the hardware you're planning to use.

I built Inferometer as a way to standardize and centralize benchmarks of local LLM inference across models, quants, GPUs, inference engines, and more.

I'm looking for contributions!
I've tried to populate the database with my own computers and with rented boxes, but unfortunately my budget is not infinite so I need some help.
All you have to do is download and run the benchmark tool locally, pointing it at your OpenAI compatible endpoint, and it'll gather all the data automatically.

https://inferometer.fyi/download

As the database grows and gets more data, I think the engine comparison charts will become increasingly useful and more accurate, and hopefully take some confusion out of the whole process.

Here's an example of what kind of data is recorded by a benchmark run:

https://inferometer.fyi/s/diUUW0d5NUm0

Decode/Prefill across various context lengths, task score showing model performance on a set of tasks to gauge relative accuracy, hardware and engine metadata

There's also data on thoroughput with multiple streams, TTFT, hardware telemetry.

All this information gets compiled together to generate comparisons across all three axis - engines, models, and hardware.

The website also compiles a guide to see what kind of model would work best on your hardware based on uploaded run data from other users.

https://inferometer.fyi/fits

I think there's a lot of promise and a need for something like this. Please take a look, and I would really appreciate an uploaded run or two!


r/LocalAIStack • • 1d ago

80+ tokens/s on Z8 G4 with RTX 3090 and RTX 3060 helper

Thumbnail reddit.com
1 Upvotes

Qwen3.8 Flash Next on a dual-Xeon HP Z8: NUMA placement improved solo throughput by 23%

On a dual-Xeon HP Z8 G4 with 384 GB of DDR4-2666, I’m running Qwen3.8 Flash Next UD-Q4_K_XL through Strata with MTP, a RAM-resident FP8 ngram table, 153,600-token context and two serving slots. The key finding was NUMA placement: spreading the CPU expert weights across both sockets’ memory improved matched solo decode from 69 to 85 tokens/s—about 23%. With the RTX 3090 now capped at 240 W and the RTX 3060 helper at 140 W, the current cached 16K tests deliver approximately 83 tokens/s solo and 86 tokens/s combined while both slots decode.

HARDWARE AND SOFTWARE

• Workstation: HP Z8 G4, two Intel Xeon Platinum 8160 processors.
• Memory: 384 GB DDR4-2666, twelve 32 GB RDIMMs, all six channels per socket populated; approximately 376.58 GiB usable.
• Primary GPU: EVGA RTX 3090 FTW, 24 GiB, handling text inference and MTP, with a persistent 240 W cap.
• Helper GPU: RTX 3060, 12 GiB, providing 2,048 additional expert-cache slots and vision, with a persistent 140 W cap.
• Host: Ubuntu 24.04.5, kernel 6.8.0-151-generic, NVIDIA driver 595.91.07.
• Strata: Terminal 0.2.17, native engine 0.1.63 CUDA 13 build, embedded Python 3.12.15.
• Model: Original Unsloth Qwen3.8 Flash Next UD-Q4_K_XL, four GGUF shards and the corresponding native pack.
• Context: 153,600 tokens.
• Serving: Two batch-MTP slots, MTP depth 4, confidence 0.50.
• KV: INT8, with 32,768 resident tokens.
• Workers: 42 of 48 physical cores, 21 per socket.
• Conversation cache: 24 GiB, 24 entries, 16 GiB available-memory floor, disk spill disabled.
• Primary VRAM reserve: 1,024 MiB.
• Test route: Local HTTP requests on port 1090, excluding network/tunnel latency.

The 3060 is an additional expert cache and vision device, not a text-layer split. The primary keeps its own expert cache.

The CPU expert path here is the portable AVX2 path. The Xeons support AVX-512, but that does not mean this build used an AVX-512 expert kernel. Route-tail-skip is 0. These results do not use expert skipping, mixed KV, a custom engine or a different checkpoint.

MODEL AND FP8 NGRAM TABLE

The four original GGUF shards total 111,334,654,784 bytes and contain 1,224 tensors:

F32: 557
Q8_0: 503
IQ4_NL: 1
Q5_1: 43
Q4_K: 94
Q5_K: 2
BF16: 24

The original per_layer_token_embd.weight in shard 2 is the IQ4_NL tensor, with dimensions [160, 320001536] and a 28,800,138,240-byte payload. The original shards remain unchanged.

The effective PLE/ngram table is overridden by a separate FP8 file:

Qwen3.8-Flash-Next_ple-fp8.gguf
Size: 51,200,246,112 bytes
SHA-256: 74fdb8310d61a9dc9add13defe64c2b5ad69e401f0db6d4a617febc968408e17

The FP8 PLE table came from the Unsloth Q8 version, with a matching SHA-256. Its persistent copy is on the internal HDD and is staged and verified into a RAM-backed file at startup. The runtime copy is fully resident on NUMA node 0 and is not locked.

RELEVANT NATIVE ARGUMENTS

These are arguments from the managed launch, using placeholders for local assets. They are not a complete standalone command or a substitute for Strata’s managed environment.

--serve --pack <native-pack> --native <first-of-four-gguf-shards>
--expert-profile <expert-profile> --expert-cache auto --prefill auto
--spec 4 --spec-min-p 0.5 --mtp <mtp-asset> --batch-mtp --batch 2
--max-context 153600 --kv int8 --kv-resident 32768
--ple-io ram --ple-gguf <ram-backed-fp8-ple-gguf>
--vision --vram-reserve-mib 1024
--conversation-cache-mib 24576 --conversation-cache-slots 24
--conversation-cache-min-free-mib 16384 --conversation-spill-mib 0
--pool-workers 42
--pool-cores 1,24,2,25,3,26,4,27,5,28,6,29,7,30,8,31,9,32,10,33,11,34,12,35,13,36,14,37,15,38,16,39,17,40,18,41,19,42,20,43,21,44
--expert-cache-device1 2048 --remote-expert-opt

CUDA device 0 is primary and device 1 is the helper. Logical CPU numbering and GPU ordering are machine-specific; map physical cores and devices rather than copying the list blindly.

THE NUMA CHANGE

All twelve memory channels are populated: six channels and 192 GB per socket. The theoretical peak bandwidth is approximately 128 GB/s per socket, or 256 GB/s aggregate across both sockets:

2,666 MT/s × 8 bytes × 6 channels per socket.

That is the channel-level theoretical maximum; sustained bandwidth depends on the workload.

The important discovery was that distributing the workers did not distribute the expert weights. The 42 workers ran 21 per socket, but the roughly 71.73 GiB CUDA-registered anonymous expert arena was entirely on NUMA node 1.

Starting the managed runtime with inherited:

numactl --interleave=0,1

placed the full resident expert arena almost exactly 50/50 across both nodes. Actual mappings and resident pages were checked, rather than relying only on CPU affinity or a small allocation test.

The FP8 PLE file has its own explicit node-0 binding, which overrides the inherited policy for that file. All 12,500,061 pages were resident on node 0. The interleave result therefore describes the expert arena, not the PLE file. The primary GPU is local to node 0 and the helper to node 1.

SAME-ENGINE NUMA COMPARISON

These warm medians were measured at the earlier 250 W / 140 W GPU caps, using the same 16K fixture and two repetitions per configuration.

Solo decode:
69.20 → 84.95 tokens/s
Improvement: 22.76%

Combined decode while both slots were active:
78.272 → 87.003 tokens/s
Improvement: 11.15%

Complete pair output divided by shared wall time:
66.454 → 70.928 tokens/s
Improvement: 6.73%

Both interleaved repetitions exceeded both default repetitions on all three measures. CPU expert-stage time also fell by roughly 27% on average.

This supports a placement benefit on this build. The inherited policy also affects other default-policy allocations, so it does not isolate every possible cause.

The managed startup now stages and verifies the FP8 source, requires physical free memory on each node, passes the interleave policy through the managed launch, and checks actual arena and PLE placement at readiness. Persistence was installed and checked against the running instance without restarting it.

CURRENT 240 W WARM MEASUREMENTS

After setting the 3090 to 240 W without restarting Strata, I ran one conditioning pass followed by two matched warm passes. Each pass ran one solo request, followed by two independent requests started together.

Every request had 16,384 input tokens, reused 16,377 tokens and processed seven new tokens. The conditioning pass already reused cache, so it was not cold.

Conditioning:
• Solo decode: 70.70 tokens/s
• Pair streams: 45.2 / 43.2 tokens/s
• Actual concurrent decode, aggregate: 89.10 tokens/s
• Full pair output/shared wall: 79.35 tokens/s

Warm 1:
• Solo decode: 81.60 tokens/s
• Pair streams: 44.3 / 44.2 tokens/s
• Actual concurrent decode, aggregate: 87.7414 tokens/s
• Full pair output/shared wall: 73.1482 tokens/s

Warm 2:
• Solo decode: 83.90 tokens/s
• Pair streams: 38.4 / 47.5 tokens/s
• Actual concurrent decode, aggregate: 84.2631 tokens/s
• Full pair output/shared wall: 70.0394 tokens/s

Warm medians:
• Solo decode: 82.75 tokens/s
• Actual concurrent decode, aggregate: 86.0023 tokens/s
• Full pair output/shared wall: 71.5938 tokens/s

Concurrent aggregate counts generated-token deltas over sampled intervals when both slots are decoding.

Full-pair throughput divides both outputs by the time from the first client request start to the last client response end. It includes prefill/cache handling and the uneven tail. It is not the sum of the two per-request decode rates.

All nine responses were nonempty, contained the requested marker, ended normally and had unique attribution. All three pairs overlapped. There was no swap-in or swap-out, native VmSwap remained zero, and model-device sector reads did not increase. Minimum available memory was 213.52 GiB.

These checks establish basic response behavior for this short test, not a general quality evaluation. Full High, long-context and image quality were not rerun for this measurement.

The earlier optimized 250 W reference was 85.0 / 88.50349 / 71.67070 tokens/s on the same three measures. The 240 W medians were 2.65% / 2.83% / 0.11% lower. This was not a contemporaneous randomized power-only comparison; adaptive cache history, output lengths and the small number of runs can affect the result.

WARM FIRST-ENGINE-TOKEN TIMES

Warm 1:
• Solo: 0.403 seconds
• Pair B: 1.010 seconds
• Pair C: 0.354 seconds

Warm 2:
• Solo: 0.415 seconds
• Pair B: 0.455 seconds
• Pair C: 1.276 seconds

These are engine-side timing observations. The warm requests were non-streaming, so they do not independently establish time to the first visible streamed text.

POWER

Across 15 fresh confirmed-idle samples, the two GPU board draws averaged 42.00 W combined, ranging from 41.82 to 42.18 W.

During the 240 W benchmark, the largest simultaneously sampled GPU sum was 293.61 W: 237.27 W on the 3090 plus 56.34 W on the 3060. The paired peak was 293.15 W.

My estimated whole-system draw is about 200 W at the wall while idle and about 700 W during heavy Strata generation.

For comparison, HP’s Z8 G4 QuickSpecs list 161.1 W idle for a different dual-Xeon 6152/192 GB/dual-P5000 configuration and 194.0 W for a dual-Xeon 6136/768 GB/dual-P6000 configuration. Those figures already include their GPUs.

My estimate uses roughly 130 W DC for the remaining system at idle and 330 W during heavy generation, plus the measured GPU readings, at approximately 90% PSU efficiency. That gives about 191 W and 693 W AC, rounded to 200 W and 700 W.

HP source, pages 30–31:
https://h30434.www3.hp.com/psg/attachments/psg/Business-PC-Workstation-POS/44704/1/Z8%20G4%20Quickspecs%20v67.pdf

COLD 16K PROMPTS

I also ran two fresh solo requests and two fresh simultaneous pairs, using six independently randomized synthetic prompts.

Every request contained exactly 16,384 input tokens and reused zero tokens. The model stayed loaded: this tests uncached prompt processing rather than loading weights from disk.

Requests used temperature 0, thinking disabled, a 512-token output limit and aux_cpus 0. They were streamed locally, allowing both engine-side and client-visible first-token timing.

Round 1, solo:
• First engine token: 7.818 seconds
• First visible text: 7.847 seconds
• Decode: 73.7 tokens/s
• Output: 384 tokens

Round 1, pair B:
• First engine token: 14.293 seconds
• First visible text: 14.349 seconds
• Decode: 50.9 tokens/s
• Output: 454 tokens

Round 1, pair C:
• First engine token: 6.966 seconds
• First visible text: 7.025 seconds
• Decode: 22.6 tokens/s
• Output: 327 tokens

Round 2, solo:
• First engine token: 7.241 seconds
• First visible text: 7.263 seconds
• Decode: 79.0 tokens/s
• Output: 346 tokens

Round 2, pair B:
• First engine token: 14.357 seconds
• First visible text: 14.444 seconds
• Decode: 49.5 tokens/s
• Output: 470 tokens

Round 2, pair C:
• First engine token: 7.039 seconds
• First visible text: 7.112 seconds
• Decode: 23.6 tokens/s
• Output: 359 tokens

Cold solo medians:
• First engine token: 7.53 seconds
• First visible text: 7.55 seconds
• Decode: 76.35 tokens/s

With both requests released together, one began producing text at roughly seven seconds and the other at roughly 14.3 seconds in each round.

Cold pair 1:
• Combined decode while both slots active: 88.82 tokens/s
• Full pair output/shared wall: 32.83 tokens/s
• Shared wall: 23.79 seconds

Cold pair 2:
• Combined decode while both slots active: 89.04 tokens/s
• Full pair output/shared wall: 34.12 tokens/s
• Shared wall: 24.30 seconds

Cold pair medians:
• Combined decode while both slots active: 88.93 tokens/s
• Full pair output/shared wall: 33.47 tokens/s

Both pairs decoded concurrently. Full-pair throughput includes processing two completely uncached 16K inputs, which explains much of the difference from the warm result. Staggered first tokens also show why the whole-request average rates of the two streams differ; those rates are not interchangeable with the combined rate during simultaneous decode.

All six responses completed normally, contained the marker and were uniquely attributed. There was no swap activity, native VmSwap stayed zero, and the full interleaved expert arena and node-0 FP8 table remained resident. No server restart or configuration change was needed.

THROUGHPUT TEST METHOD

Synthetic 16,384-token inputs, 512-token output limit, temperature 0, thinking disabled and aux_cpus 0.

Warm requests reused 16,377 tokens and processed seven new tokens. Each pass tested one request alone, followed by two requests released together.

Per-stream decode, actual overlapping decode, full-pair wall time and first-engine-token latency were recorded. Cold requests used six fresh randomized inputs and verified zero reused tokens; engine-side and first-visible streamed TTFT were measured separately.

OTHER SETTINGS TRIED

A same-engine, optimized-NUMA comparison of default DFlash2 versus MTP measured 79.7 versus 85.0 tokens/s solo, with small paired improvements whose ranges overlapped. It did not establish an overall win, so I kept MTP.

A subsequent request-local MTP confidence sweep from 0.50 through 0.70, followed by a balanced confirmation, found no repeatable gain sufficient to change 0.50.

The selected native build for these results is 0.1.63.