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

169 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

My 96gb vram homelab

Post image
2 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 • • 9h ago

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

Thumbnail
stealthmodels.com
8 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 • • 1h 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
1 Upvotes

r/LocalAIStack • • 3h 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 • • 4h 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.


r/LocalAIStack • • 4h ago

Gemma 4 26B-A4B BITCOS Mixed-Ternary on a single Intel Arc A770 16GB: 104–108 tok/s (182 peak), full 256k lossless FP16 KV (47.6 tok/s @ 252k), flat 12.92 GB VRAM

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 4h ago

Building a fully self-hosted “Alfred” AI: 9950X3D + RTX 5090 32GB + 128GB RAM. What agents/tools would you use?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 11h ago

Inferometer: Building a community sourced inference engine benchmark database

Thumbnail
inferometer.fyi
2 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 • • 14h ago

I made a 14GB Inkling-2-Mini quant that beats the official NVFP4 base on LiveCodeBench (43/68 vs 35/68)

2 Upvotes

I wanted Inkling-2-Mini (26.4B MoE, 3.4B active) running at full 128K context on my 16GB 5070 Ti, so I made a custom 14GB GGUF (Ember-2-Mini) and an open-source Windows CUDA server for it. While I'm a personal fan of ISTA-DAS Lab's work, the quality of their quants wasn't cutting it for me this time!

Weights + IQ4_NL DFlash2 drafter + Q8_0 mmproj (Apache-2.0):
https://huggingface.co/Kryzern/Ember-2-Mini-GGUF

Engine source + Windows binary:
https://github.com/Kryzern/ember-engine

For the quant, I decoded thinkingmachines/Inkling-2-Mini to BF16, blended 40% Ex0bit/Inkblot-2-mini, and quantized with a mixed chat/code imatrix (IQ3_S/IQ4_NL experts, Q8_0 attention, Q6_K output).

On LiveCodeBench v6 (68 med/hard, identical prompts and harness, 10K budget + forced answer, greedy), it scores 43/68 vs 35/68 on the official NVFP4 checkpoint (10 won, 2 lost, p = 0.04). Pure quant KLD without the blend is 0.0129, and with the blend it is 0.0221 vs 0.0249 for ISTA GSQ-RCO.

It TECHNICALLY runs in llama.cpp too (~68 tok/s on my 5070 Ti). With the custom Ember engine + required IQ4_NL DFlash2 drafter (259 MiB VRAM), it hits 197 tok/s on structured code and 113 tok/s on creative 3D with static 128K context in 14.7GB total VRAM. So, I'd recommend you use that :)

30 and 40 series cubins are built in too (only tested on my 5070 Ti so far). Credits to Thinking Machines, Ex0bit, incoai, ISTA-DASLab, and llama.cpp.


r/LocalAIStack • • 13h ago

Arc Pro B60 + llama.cpp: native Windows was 4.6-18x faster than WSL2, and hybrid models fit far more context than calculators say

1 Upvotes

I've been running local LLMs on an Arc Pro B60 (24 GB) for my bachelor's thesis, so a small company could have a coding assistant without their code leaving the PC. B60 numbers are still rare, so here's what I measured with llama.cpp b11889 on Vulkan (one run per case).

Under WSL2, Vulkan goes through Mesa Dozen (translated to D3D12), and generation was 4.6 to 18x slower. Qwen3.8 27B always segfaulted at the same spot in the Intel driver's shader compiler, only under WSL2. If you use WSL, run the model on Windows and connect to it from WSL.

Qwen3.6 and 3.8 are hybrid: only 1 layer in 4 keeps a KV cache. The 27B fits ~120K tokens, not the ~26K a calculator that counts every layer gives you, and Qwen3.6-35B-A3B IQ4_XS fits its full 256K with 1.7 GB to spare.

Tips that helped:

- Run `llama-server --list-devices` first. With an AMD iGPU, the B60 was `Vulkan1` on Windows and `Vulkan0` in WSL2.

- Use `-lm dio` on Windows when the whole model is on the card. With the default mmap, the 17 GB file also filled system RAM (13 GB free down to 0.1 GB); with `-lm dio` the server used ~0.4 GB.

- Long context gets slow: the Coder 30B went from 96 tok/s with an empty context to 33 tok/s with 43K tokens.

- Qwen3.6-35B-A3B served to 8 people at once: about 19-20 tok/s each.

Disclosure: I built a small open-source tool, Jaull (https://github.com/Ton-Llop/Jaull), that estimates which GGUF and context fit a machine before downloading and then measures it with llama.cpp. That's how these numbers were collected; raw logs are in the repo.

I didn't try SYCL, IPEX-LLM or OpenVINO. If you have B60/B580 numbers with those, I'd love to compare.


r/LocalAIStack • • 18h ago

Dear Friends

Thumbnail
github.com
2 Upvotes

Hey everyone,
I built KriyaRT, an ultra-lightweight native Metal inference engine for Apple Silicon written in pure Rust and Metal Shading Language (MSL 3.1) to avoid Python dependencies, PyTorch bloat, and slow startup times.

GitHub: Kriya-rt
Key Features (v0.3.0):Benchmarks (8GB Apple M1, Q4, temp 0.0):Looking for M2, M3, and M4 testers to run this and share feedback!
Also open to contributors as I am relatively new here


r/LocalAIStack • • 16h ago

Built 3 LLM architectures from scratch in pure PyTorch (42M Dense vs. 117M-A67M MoE vs. 20M Looped) – Code & HF Checkpoints

Thumbnail
reddit.com
1 Upvotes

I built `Spell-Talker` to compare three transformer architectures from scratch in pure PyTorch without high-level training wrappers, keeping the backbone fixed (`512` context, `8` heads, `512` dim, `RMSNorm`, `SwiGLU`, weight-tied `32k` vocab):

Dense (`CustomGPT` – 41.8M): Standard 8-layer decoder baseline.

Sparse MoE (`CustomMoEGPT` – 117.3M total / 67.0M active): Top-2 gating across 4 SwiGLU experts per layer with auxiliary load-balancing loss.

Looped Recurrent (`LoopedCustomGPT` – 20.3M): Single weight-tied transformer block unrolled 8 times during training using truncated BPTT (`bptt_steps=8`), scalable up to 32 steps at inference.

Trained on TinyStories on a single consumer GPU (RTX 3050).

GitHub: https://github.com/BitGeek29/spell-talker

Happy to share training curves or discuss MoE router stability and truncated BPTT in looped blocks!


r/LocalAIStack • • 19h ago

r/localAIStack

1 Upvotes

Hi friends, we’re the NIMO PC team behind NimoOS. We’d like to introduce the project and hear how its approach would fit alongside the tools you already self-host.

NimoOS is an open-source personal cloud platform, it adds an AI agent, file retrieval, and a knowledge layer alongside file storage and app management.

Our theme is Find → Ask → Organize. Think of remembering what a document discusses but forgetting its filename. The goal is to help you locate relevant files, ask questions about their contents, and organize information within the same environment.

The image shows our H495 five-bay AI NAS and S495 all-flash NAS. Here, we’d particularly welcome feedback on the software workflow and how it could work with an existing self-hosted setup.

For an agent working with personal files, local deployment is only part of the picture. Access permissions, visibility into actions, and confirmation requirements also matter.

One current limitation: Photos and Search are not yet isolated per user. Please review the security notes when assessing deployment suitability.

You can explore the source and installation documentation, check the roadmap, or read our earlier NimoOS introduction.

We’ll also be showcasing these systems and NimoOS at CES 2027, January 6–9, at Venetian Expo, Hall G · Eureka Park · Booth 61252 in Las Vegas.

Our technical team will be there to chat. Interested in joining us? DM me with a brief introduction to your background and your interest in NimoOS, NAS, or Agentic Computers for a chance to receive a free CES pass.


r/LocalAIStack • • 23h ago

Running FLUX.2 Klein 4B locally on a 4 GB VRAM laptop (RTX 3050 Ti) — built an open-source desktop GUI

2 Upvotes

A few technical notes from testing on my setup:

- **Memory handling:** Uses sequential layer offloading (block swapping to system RAM) so peak VRAM stays safely under the 4 GB limit on my RTX 3050 Ti laptop without triggering OOM crashes.

- **Generation speed & settings:** Running at `8 steps` and `Guidance 1.0` (including 16:9 `1344x768` and 3:4 `768x1024` outputs with two LoRAs loaded at once), a cold start when the pipeline has unloaded takes around **1 min 30 sec**, while consecutive generations take **30–45 sec** per image depending on laptop thermals.

- **LoRA training:** Tested with 40-image datasets directly on the same 4 GB card using the built-in low-VRAM profile.

If anyone tests this on a 6 GB or 8 GB card (or with 16 GB system RAM instead of 32 GB), let me know how the offload profiles behave on your end


r/LocalAIStack • • 22h ago Bravo

LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 FN; ahead of llama.cpp and Strata on Inkling, Flash-Next, Qwen3.8 27B & Nemotron!!!

Thumbnail
github.com
1 Upvotes

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.

A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.

Two audits of the whole source

The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.

Some of what was closed:

- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.

- The restart export could read another instance's records through a second, unchecked parameter.

- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.

- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.

- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".

A more stable platform

- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.

- Uninstall with purge refuses a folder that has a disk mounted under it.

- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.

- A model load that cannot fit no longer evicts an idle model first.

- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.

Inkling-2-Mini reads long prompts faster

A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.

Qwen3.8 Flash-Next gets to its first token sooner

This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.

Tensor parallel (experimental, off by default)

Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.

Speed, measured on this version

One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.

Inkling-2-Mini, 4-bit cache:

- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)

- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)

Inkling-2-Mini, 8-bit cache:

- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)

- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)

Qwen3.8 Flash-Next at a 262,144-token context, time to first token:

- after a 16k prompt: 37.5 s (36.4)

- after a 64k prompt: 132.2 s (145.3)

- after a 128k prompt: 266.7 s (295.8)

- after a 256k prompt: 559.6 s (new row)

Qwen3.8 Flash-Next, generation:

- after a 16k prompt: 6.90 tok/s (7.64)

- after a 64k prompt: 12.73 tok/s (12.49)

- after a 128k prompt: 9.54 tok/s (9.56)

Things I am not hiding:

- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.

- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.

- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.

- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

Tested

Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.

Links

Download (960 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

All 92 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the audits, tensor parallel or the engine.


r/LocalAIStack • • 1d ago

Local LLM setup on 2025 ROG Flow Z13 (48GB VRAM) for Notion & personal docs?

1 Upvotes

I’m building a local LLM setup on my 2025 ROG Flow Z13 (Ryzen AI Max+ 395, unified 64GB RAM). I've already allocated 48GB to VRAM and installed LM Studio on Windows.

My goal is to use it for personal documents, finances, and agentic workflows connected to Notion via MCP. Which models work best for tool calling and RAG at decent speeds on this hardware, and what’s the simplest way to wire up LM Studio to Notion MCP and my local files?

I want to stop paying for subscriptions (Calude and Gemini).


r/LocalAIStack • • 2d ago

You don't need 256k or even 128k for a coding agent. (Shameless plug)

134 Upvotes

In this demo run using Inkling 2 Mini GSQ-RCO IQ_3_S via Prompit as the harness and Pro-Strata as the engine, I compared how the same model perform under different context window, running in looped task.

You can also see the results here.

THE PLUG: Prompit has support for text, image, video, audio, decision and embedding models, each performing tasks they are best at. The main model is still the text model (Inkling 2). It uses the image, video, and audio models as a form of tool calls to perform the tasks they were trained at.

Compaction vs. Handoff
Compaction summarizes all conversations across all sessions, thereby building up longer term memory and also risks bloating the context. Handoff is the opposite

This is what made 16k ctx complete the task: Avoid bloat at the cost of re-reading files every new cycle.

You can also try running your own ticket-sorter Prop, on your own Discord channel. Basically, you assign a Prop to a channel dedicated for submitting bugs or issues. The Prop then categorizes every report and pool every attachment by category and you can just point your coding agent to retrieve the sorted pool, save some token digesting them raw, and save some weekly usage limit. Just follow the steps under Deploy>Connectors>Discord to set it up.

And if you have something to report, you can send them to Prompit's Discord ticket Prop. All reports are received by a Prop and sorts them for priority and severity

You can try them for free. ALL OPEN SOURCE:

Pro-Strata: https://github.com/Noriel-cb/Pro-Strata
Prompit: https://github.com/Noriel-cb/prompit
You can also download the desktop app (Windows & Linux) at: https://prompitai.com/download/

Try it, own it, fork it, PROMPIT.


r/LocalAIStack • • 1d ago

Anvil LLM

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 1d ago

Ling 3.2 Air Maya-L on one 24 GB GPU and a 64 GB RAM budget: 95.7 tok/s at 250k context

2 Upvotes

&#x200B;

I’ve been working on HyperLing, an MIT-licensed fork of Project Maya that runs Ling 3.2 Air’s Maya-L IQ3_S quant on one NVIDIA GPU. The 59.2 GB model uses a mix of VRAM and host RAM. The v0.2.0 profile ran the full 262,144-token window within a 54 GiB engine memory cap.

Here’s the earlier CLI comparison from v0.1.0. Each cell is one run, in decode tokens/s.

| Context | v0.1.0 decode (tok/s) | v0.2.0 decode (tok/s) | v0.1.0 TTFT (s) | v0.2.0 TTFT (s) |

|---|---:|---:|---:|---:|

| 40k | 110.4 | 117.5 | 16.2 | 15.1 |

| 80k | 103.7 | 112.8 | 25.6 | 21.3 |

| 140k | 90.8 | 110.1 | 46.9 | 36.5 |

| 150k | 89.9 | 105.5 | 11.1 | 8.6 |

| 200k | 85.2 | 96.8 | 67.7 | 50.4 |

| 250k | 87.4 | 95.7 | 79.4 | 57.6 |

Both comparisons used one RTX 3090 Ti 24 GB at 350 W, a Ryzen 9 5900X, 128 GB DDR4-3200 and a 54 GiB engine cap to represent a 64 GB RAM budget. The gpu-unlock kernel module was loaded for both HyperLing and the Maya baseline. This is the only hardware I tested. gpu-unlock

v0.2.0 adds a faster prefill kernel, shares attention data between restore points and raises the minimum lookup match to 10 tokens in the recommended profile. Lookup drafting uses exact rejection sampling. Greedy output was bit-identical across the tested lookup settings.

Run this on Linux with an NVIDIA driver and CUDA toolkit 12.4+ to build the engine, download the quant and start the server.

git clone https://github.com/neyisyavuz-afk/hyperling

cd hyperling

./hyperling.sh

If you try it on another 24 GB card, I’d be interested in your decode rate and TTFT at 140k or 250k. HyperLing


r/LocalAIStack • • 1d ago

Localhost chat app for a local AI stack: llama.cpp, vLLM, ComfyUI, MinerU, SearXNG

Thumbnail
gallery
2 Upvotes

I'm working on a chat app (CairnMark) that sits in front of a local AI setup. It runs on 127.0.0.1 only, stores settings and chat history locally, and encrypts hosted API keys at rest.

Models: llama.cpp, vLLM, any OpenAI-compatible endpoint, and hosted APIs. The model list shows capability flags (image, video, audio, tools, reasoning) and a relative speed rating per model, and it can be filtered by both.

Chat: Every reply shows the request body, token meter, and time meter. "Answer again" re-sends a prompt with another model or settings, and the answers stack as tabs. 👎 removes a request/response pair from the context. Context compaction can be undone. History limit for small-context models, or send everything.

Tools (MCP): llama.cpp's own tools and the app's stdio/HTTP servers work side by side. A quick bar selects tools per request, so tool schemas stay out of the context. If a local endpoint is offline when a tool is called, the app starts it with the start command you set and stops it afterwards. This works for ComfyUI, MinerU, and SearXNG. With ComfyUI, one generate_image call puts the original image in the reply.

Media: images, documents, audio, and video (FFmpeg required). Video has FPS control and optional separate audio analysis. MinerU can run locally or remotely for document processing.

Python 3.14, Windows 11 and Linux, MIT licensed, preview release.

https://github.com/CosmicLaca/CairnMark


r/LocalAIStack • • 1d ago

The best draft head for Qwen 3.8 27B? DSpine vs DFlash2 on one GPU: 160.6 vs 105.6 tok/s (no draft: 44.5)

Thumbnail
youtube.com
1 Upvotes

The memory on my card says a 27B model should write about 50 tokens per second: every token reads all 15.5 GB of weights, at roughly 800 GB/s. With Tencent's DSpine draft head it writes 160.

What DSpine changes compared to DFlash: DFlash guesses a whole block of tokens in one pass, but no position sees what its neighbours are planning, so the guesses often don't fit together and the target model stops at the first wrong one. DSpine is a small 5-layer network where, after every layer, each position listens to the one before it (with a learned gate). Still one pass, but the guesses fit.

My numbers (one RTX PRO 4500, 4-bit Kate = Qwen 27B fine-tune, one conversation at a time, llama.cpp-based engine):

  • 24 agent tasks, A-B-B-A: DSpine 160.6 · DFlash2 105.6 · no draft 44.5 tok/s
  • tokens kept per check: DSpine 5.8 · DFlash2 3.9 (same per-position acceptance at the start; DFlash2 stops at 5, DSpine keeps going to 15)
  • live demo, same prompt (voxel pagoda in three.js): 47 tok/s without, 177 with DSpine; both pages run exactly as written

Speculative decoding doesn't change the output distribution: the big model still decides every token with its own odds.

Limits: my numbers, one card, 4-bit, batch 1. Tencent measured SGLang, BF16, 8 requests at a time. Full speed needs about 20 GB of VRAM. I also tried training my own head: +27 % accepted tokens on my own test set, but 1.2 % slower on real agent conversations, so I kept Tencent's.

Video (5 min, explains the three ideas with a live demo): https://youtu.be/6BXT-xaonhU

Run it: flelink run kate-27b-dspine (FLE Link 0.1.18+, https://flelink.run)

Paper: https://arxiv.org/abs/2609.36173 · Tencent's head (Apache-2.0): https://huggingface.co/tencent/Qwen3.8-27B-DSpine-b16 · GGUF by aj9o9: https://huggingface.co/aj9o9/Qwen3.8-27B-DSpine-b16-GGUF · Kate: https://huggingface.co/sirfyyn/Kate-Qwen-27B-GGUF-SpedUp-Abliterated

Thanks to the authors for publishing the paper and the weights.

Has anyone measured EAGLE-3 or an MTP head against these on a 24 GB card? I'd like to add them to the comparison.


r/LocalAIStack • • 1d ago

what’s on your “don’t break my local llm setup” checklist before an image upgrade?

Post image
1 Upvotes

hey folks, been thinking about what i’d save before swapping the image on a self-hosted setup. i work at Nebius, and reading one of our GPU debugging write-ups made me realize how easy it is to stop at “the server started.”

i’d keep one request that works on the old image, plus the image tag, model and launch flags. on the new image, check the model actually loads on the GPU you meant to use, then replay that request cold and warm. i’d look at the answer, time to first token and peak VRAM. if it’s spread across nodes, i’d also check that the runtime picked the transport i expected.

anything you’d add? i’m curious about the boring little checks people only started doing after something broke.


r/LocalAIStack • • 1d ago

Bonsai 2.5 27B (5.99 GB) on a 6 GB laptop GPU: 62 s to first token and 8–18 tok/s. Bonsai 8B: 85 tok/s even at 32K

Post image
1 Upvotes
I have a 6 GB laptop GPU, and Bonsai 2.5 27B is advertised at 5.9 GB, so I wanted to see if it really runs on a card this small.
It loads, but the card is already full at a 4K window: the first token took about a minute and generation dropped to 8–18 tok/s, while the 1-bit Bonsai 8B held about 85 tok/s even at 32K.
Has anyone run the 27B on an 8 GB card, or with a 4-bit KV cache? I'd like to know if it changes the picture.

| Model | Window | Fits 6 GB? | First token | Gen tok/s |

|---|---|---|---|---|

| Bonsai 8B | 4K | yes (1,700 MiB) | 2.1 s | 85.5 |

| Bonsai 8B | 8K | yes (2,280 MiB) | 2.1 s | 85.3 |

| Bonsai 8B | 32K | yes (5,760 MiB) | 2.1 s | 83.8 |

| Bonsai 2.5 27B | 4K | at the edge (6,002 of 6,143 MiB) | 62 s | 17.7 |

| Bonsai 2.5 27B | 8K | spills (6,262 MiB) | 65 s | 9.5 |

| Bonsai 2.5 27B | 32K | spills (7,822 MiB) | 69 s | 8.1 |

Setup: RTX 3050 6 GB laptop, Windows 11, PrismML llama.cpp fork prism-b12220 (CUDA 12.4), -ngl 99 -fa on, f16 KV, same 3,146-token prompt, 128 new tokens, median of 5 runs per cell. 27B needed --load-mode none.

Limits: one laptop, window set not filled, no drafting, no 4-bit KV, quality not measured (PrismML's benchmark scores are their claim).


r/LocalAIStack • • 2d ago

Uncensored Multi-Model Releases Made With the Latest Version of Heretic, Scarlett Opus With MTPs, Qwen3.8-27B With MTPs, Gemma-4-31B-it and Two Models Finetuned for Improved Japanese to English Translations, All Available in GGUF Format!

Thumbnail
huggingface.co
11 Upvotes

gemma-4-31B-it-uncensored-heretic-v2:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2-GGUF

Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved:

Safetensors: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved

GGUFs: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved-GGUF

Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2-GGUF

gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator-GGUF

Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator-GGUF

————————

That's it for now!

As usual you can find all my models here: HuggingFace-LLMFan46

Tremendous amount of work went into making these releases come true, especially since I was aiming to make the most uncensored models while at the same time preserving the original models capabilities, while preventing issues like looping and closed thinking degradation (particulary hard thing to do for the Qwen3.8-27B models), not to mention the months of work involved in putting together the dataset needed to train the models for improved Japanese to English translations, on top of all the training time involved.

So if you like my work and find my models useful, then I would really appreciate if you could support me on Ko-fi: https://ko-fi.com/llmfan46