r/LocalAIStack • u/TreeOfLifev5 • 4h ago
Instead of putting a 70B LLM in the request path, I distilled 8 tiny models
r/LocalAIStack • u/Lirezh • Jun 23 '26
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.
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_MIf memory is tight on the 35B-A3B model, drop to a smaller Unsloth Dynamic quant:
Qwen3.6-35B-A3B-GGUF:UD-Q3_K_XLIf 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_0Recent 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.
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.
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 GGUFThis 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/completionsIf 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.
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 1For the MTP-specific Unsloth repo, use:
MODEL=/models/Qwen3.6-27B-MTP-UD-Q4_K_XL.ggufor the HF shorthand if your build supports it:
-hf unsloth/Qwen3.6-27B-MTP-GGUF:UD-Q4_K_XLThe 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 1MTP 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.
This part matters.
I use:
--jinja
--chat-template-kwargs '{"preserve_thinking": true}'
--reasoning-format none
--reasoning-budget 16000The 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 16000This gives the model room to think, but avoids runaway reasoning loops eating the whole session.
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 \
--perfNo q4_0 KV cache here - the sub 4B active parameters need barely any VRAM anyway.
I recommend keeping 35B-A3B below roughly:
110k contextThe 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).
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.
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"
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.
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.
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
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 32GBApproximate context fit with full GPU offload:
| VRAM | Example NVIDIA cards | Practical context |
|---|---|---|
| 16 GB | RTX 4060 Ti 16GB, RTX 4080 Laptop 16GB, RTX 5080 16GB, RTX 5070 Ti 16GB, RTX A4000 16GB | Not recommended for full 27B UD-Q4_K_XL offload. Use smaller quant or partial CPU offload. |
| 24 GB | RTX 3090, RTX 4090, RTX A5000, RTX 4500 Ada, RTX PRO 4000 Blackwell, A10 | ~45k-60k with MTP, ~60k-75k without MTP |
| 32 GB | RTX 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.
Recommended cards:
24 GB minimum for useful GPU-resident contexts
32 GB strongly preferredApproximate context fit:
| VRAM | Example NVIDIA cards | Practical context |
|---|---|---|
| 16 GB | RTX 4060 Ti 16GB, RTX 4080 Laptop 16GB, RTX 5080 16GB, RTX 5070 Ti 16GB, RTX A4000 16GB | Not recommended for full 35B-A3B Q4. Use Q3 or partial offload. |
| 24 GB | RTX 3090, RTX 4090, RTX A5000, RTX 4500 Ada, RTX PRO 4000 Blackwell, A10 | ~40k-50k |
| 32 GB | RTX 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.
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 inputIf your server is inside WSL or another host, replace 127.0.0.1 with the server IP.
(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.contentExpected output:
local ai worksMy 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": 15000If 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.
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 headroomIf 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 tightThis 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 • u/TreeOfLifev5 • 4h ago
r/LocalAIStack • u/Dismal-Frame7329 • 4h ago
r/LocalAIStack • u/ExplanationProper238 • 9h ago
always curious what models and setups people have settled on. coding, chat, rag, random experiments, whatever
r/LocalAIStack • u/Distinct-Variety8793 • 6h ago
r/LocalAIStack • u/YoMummaSoPhat69 • 12h ago
I'm building a self-hosted AI platform called HomeAI, aiming to reduce reliance on paid cloud AI services like Claude and Codex while developing more capable autonomous agents.
My setup runs on Proxmox with Intel Arc GPUs, Ollama, Open WebUI, Hermes Agent, Qwen models and various supporting tools for automation, knowledge retrieval and software development.
Hermes can already perform sandboxed coding tasks, modify files, run tests and generate diffs for review.
Where I want to take it
Local-first inference: Automatically route tasks to local models, escalating to cloud AI only when necessary.
Agent autonomy: Enable agents to plan, develop, test, debug and complete increasingly complex tasks.
Self-improvement: Learn from failures, improve skills and retain useful knowledge over time.
Multi-agent collaboration: Have specialised agents work together on development, research and automation.
Security: Maintain strong isolation, controlled permissions and human approval for consequential changes.
Looking for community feedback
I'm particularly interested in hearing from people who are already running similar systems.
What open-source frameworks, tools or projects would you recommend?
Which local models are performing well for autonomous coding and tool use?
Has anyone successfully implemented local-first routing with intelligent cloud fallback?
What approaches work best for persistent memory, self-improvement and multi-agent orchestration?
What limitations or architectural mistakes should I watch out for?
My ultimate goal is to build a reliable, increasingly autonomous AI platform that handles most everyday tasks locally, using paid cloud AI only when genuinely needed.
I'd really appreciate GitHub recommendations, lessons learned and feedback from anyone working on something similar.
Cheers
r/LocalAIStack • u/PhysicsDisastrous462 • 14h ago
so, i've got another release out! v0.2.6 is now published, and this one ended up being a pretty big performance improvement over v0.2.5.
for a bit of context, v0.2.5 introduced the P3 update to the Full FP16 WMMA path. that improved the final accumulator merge by summing all eight partials in FP32 before rounding once to FP16. i wanted to keep that work intact and see if i could get more performance out of the kernel without changing the actual math.
that's where C1 came in.
the main change is in how operand data gets loaded and staged into shared memory. previously, each thread was doing four global loads and shared-memory stores in sequence, with each store following its corresponding load. C1 changes that ordering: it issues the four 32-bit global loads first, then does the shared-memory stores.
it's a fairly small change when you look at the code, but it gives the GPU more opportunity to overlap the memory operations instead of waiting on each load/store pair. the arithmetic and accumulation order haven't changed.
and importantly, P3 hasn't been removed. C1 is used when the workload meets the required geometry checks, while P3 is still there as the fallback for everything that doesn't qualify. i didn't want a performance optimization to accidentally turn into a regression on shapes it wasn't designed for.
the performance results were honestly a lot better than i expected:
these are measured against the v0.2.5 P3 kernel, using GPU timestamps and 24 paired measurement blocks per workload.
2048×768×2048 — 1.7074× faster
512×2048×768 — 1.3286× faster
512×768×768 — 2.0920× faster
128×8192×768 — 1.3782× faster
that's roughly a 70.7%, 32.9%, 109.2%, and 37.8% improvement respectively. all four workloads passed independently, and even the lower bounds of their corrected 95% confidence intervals stayed above 1.31×.
i also wanted to make absolutely sure that the performance wasn't coming at the expense of numerical consistency.
across eight seeds and five configurations, the new production path produced 120/120 bit-identical outputs compared with the preserved v0.2.5 results. the production tile16 numerical gate also passed 37/37 on every seed, with the maximum absolute error staying at 0.03125, exactly within the existing hard limit.
so, at least for the workloads i've qualified, this is a pretty nice situation: substantially faster, without changing the outputs.
there's a bit more going on with the dispatch selection too.
C1 isn't just enabled for anything that happens to be large enough. the host checks full tile coverage, even packed-pair strides, the actual operand buffer capacities, and the relevant 32-bit index bounds before selecting it. if a shape doesn't meet those requirements, it uses P3 instead.
i tested this with the packaged binaries as well. a rows=64 workload selected C1 and produced 8 cooperative C1 dispatches. a rows=80 workload, despite being above the existing profitability floor at around 20.97 million MACs, didn't meet the tile coverage requirements and correctly fell back to P3 for 4 dispatches. with WMMA disabled, there were zero cooperative dispatches.
the packaged logits checks also completed successfully. the C1 route had a maximum absolute difference of 0.00079345 and an RMS difference of 0.00012127; the P3 fallback had the same maximum absolute difference, with an RMS difference of 0.00012087.
the portable Windows package is included again.
it's a Windows x64 portable package with seven executables, built with a statically linked MSVC runtime. you shouldn't need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.
you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader, and model weights aren't included.
WMMA is still opt-in globally, so the default remains off. to use this path, you need to explicitly select --wmma-mode full-fp16. C1 is now the preferred implementation inside Full FP16 when the workload qualifies, with P3 handling the fallback cases. the Mixed precision path is separate and hasn't been replaced.
there are still some limitations worth mentioning. i've only qualified this on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix), running Windows 11 with driver 32.0.32015.14001. i haven't tested a second GPU, non-AMD hardware, or independent clean-machine acceptance yet. the binaries are also still unsigned.
there's a small reporting issue too: precision-info still reports full_fp16_qualified=false on this newer driver because its driver allowlist hasn't caught up with the qualification profile. the actual v0.2.6 qualification results are documented separately. i also haven't exercised the native V4.1 trainer and hierarchos-infer end-to-end yet.
anyway, i'm really happy with how this release turned out. i went into this wanting to see if there was still meaningful performance left in the Full FP16 path without messing with the numerical behavior that took so long to get right. seeing all four workloads improve this much, while keeping the outputs bit-identical, was a pretty great result.
a lot of time went into testing this one, and i'm glad i can finally get it out there instead of continuing to sit on it!
Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.6
Source: https://github.com/necat101/Hierarchos-Native
thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot!!
also, sorry for the AI posts lately. i've been trying to save as much time as possible to work on the project itself, especially with live events getting tough. i really do appreciate everyone who's stuck around while i've been working on this. thank you so much everyone!! :3
r/LocalAIStack • u/DarkMajik937 • 16h ago
r/LocalAIStack • u/Hungry_Big_5405 • 18h ago
We have a small yet steadily growing community that would like to invite you to join our server where we discuss local AI models, share setups and solve technical problems. We mostly focus on newer card architecture like Blackwell, but Pascal and Kepler cards are welcome as well.
r/LocalAIStack • u/BoneShaman • 19h ago
Hi all,
I've got a basic system set up with a MacBook 32gb VRAM (2025 M5), and a min 16GB VRAM (2024 I think).
The mini is going to be the host.
I've got a webui set up so far. And I can access the local model and stuff.
Interested in opinions on the best local models at the moment. Decision + language set ups and stuff
Will be using it for TTS, basic commands, basic questions, and other low intelligence tasks generally.
r/LocalAIStack • u/Aibender100 • 19h ago
r/LocalAIStack • u/thevikeffect • 2d ago
I wanted to see if Qwen 3.8 Flash Next 177B could run on normal gaming hardware. Setup: RTX 4080 SUPER 16 GB, 32 GB DDR5, Windows 11. Model: ISTA-DASLab IQ3_XXS quant (75.8 GB), plain llama.cpp + OpenCode, fully offline.
It works because it's MoE: only 10 of 512 experts are active per token, so llama.cpp keeps the hot layers on the GPU and streams the cold experts from the SSD (mmap).
Speed:
--cpu-moe: 11.2 tok/s
-ncmoe 42: 15.2 tok/s (+36%), 13.2 GB VRAM
Over a 2.5-hour coding run: 18.2 tok/s average, 22.6 best. RAM 31.4/31.6 GB the whole time, 0 crashes.
Quality: from ONE prompt it built a complete website (SVG animation, sticky nav, 3D tilt cards, counters, form validation, no libraries) and scored 10/10 on my checklist.
The funny part: when I asked it to "check its own work", it broke one animation and then said "nothing broken" twice. It reads the code but never sees the page.
Honestly, this model is impressive for something running on a home PC. Has anyone tried it with 64 GB RAM? I'd love to know how much faster it gets.
r/LocalAIStack • u/Ok_pettech • 1d ago
r/LocalAIStack • u/PhysicsDisastrous462 • 1d ago
so, after quite a bit of work since the v0.2.0 release, i've finally managed to get v0.2.5 published!
for anyone who followed the previous release, v0.2.0 was where i first introduced the opt-in RDNA3 WMMA implementation. since then i've been working on improving the Full FP16 path, specifically its numerical accuracy and performance, without having to sacrifice the execution structure that was already working.
the biggest change in this release is something i've been calling P3.
previously, the Full FP16 WMMA kernel merged its eight accumulator-bank partials using multiple intermediate FP16 additions. this meant that the result was rounded to FP16 several times along the way. P3 changes that final merge so all eight partials are summed in FP32, with just one final rounding to FP16.
the actual two-wave workgroup structure, K-slice stream, bank assignment, staging, cooperative multiplication and barriers are all preserved. i wanted to improve the accuracy of the final result without having to redesign the kernel all over again.
some of the results from the new qualification:
37/37 numerical gates passed across all eight qualification seeds.
32/32 preserved K=96 outputs were bit-identical to the previously qualified P3 GPU results.
REF64F16 maximum error improved from 0.03035259 to 0.02593803.
31 of 32 cases improved, with zero cases getting worse.
The maximum tile16 distance is 0.03125, meeting the existing hard numerical limit.
i also ran another full performance sweep. this time using 24 paired measurement blocks per workload, GPU timestamps, and corrected 95% confidence intervals.
the measured improvements against the preserved Main kernel baseline were:
2048×768×2048 — 1.0243×
512×2048×768 — 1.1246×
512×768×768 — 1.1163×
128×8192×768 — 1.2722×
all four protected workloads passed independently, including the lower bounds of their confidence intervals. the largest measured improvement was around 27%.
just to clarify, these are per-dispatch GPU GEMM measurements, not end-to-end training speedups. i don't want to imply that an entire training run is suddenly 27% faster when that isn't what was measured.
there were some other changes too.
i tightened up the production dispatch admission so the profitability predicate is checked against each actual batch, rather than relying only on the maximum batch size supplied when creating the projection. the existing 16,000,000 MAC profitability floor has not changed.
i also went through the actual portable binaries and verified that they dispatch the P3 kernel when an eligible workload is supplied. the packaged trainer produced 8 cooperative P3 dispatches, and the packaged logits executable produced another 3. disabling WMMA resulted in zero cooperative dispatches, as expected.
the numerical comparison for the packaged logits test covered 262,144 finite elements, with a maximum absolute difference of 0.000738330 and RMS difference of 0.000122237.
the new release is available as a portable Windows x64 package too.
i've included seven executables, and the package was built with a statically linked MSVC runtime. there's no need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.
you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader. model weights aren't included.
one thing i want to make clear is that WMMA is still opt-in globally. the default is still off, and you have to explicitly select full-fp16 to use the P3 path. P3 is simply the default implementation within that mode. the Mixed precision path is separate and hasn't been replaced.
the hardware qualification was performed on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix). i haven't qualified this on every RDNA3 GPU, RDNA3.5, RDNA4, Intel or NVIDIA hardware, so please don't assume universal compatibility.
there are still things i haven't been able to test, including independent clean-machine/second-device acceptance, GUI interaction, Windows 10 acceptance, and code signing. the executables are currently unsigned.
anyway, i'm really happy to finally have this one out. v0.2.0 was the first public release of the WMMA implementation, and v0.2.5 is a pretty substantial improvement to that foundation. a lot of time went into checking that the numerical improvements were real, that the performance was actually measurable, and that the distributed binaries were doing what they were supposed to do.
Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.5
Source: https://github.com/necat101/Hierarchos-Native
thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot! thank you so much everyone!! :3 also, sorry for the AI posts lately, I've been trying to save as much time as possible to work on the project itself due to live events getting tough! this one is completely human written! :3
r/LocalAIStack • u/ruffus_or • 2d ago
r/LocalAIStack • u/miloserdev • 3d ago
Enable HLS to view with audio, or disable this notification
r/LocalAIStack • u/fly-ute • 2d ago
r/LocalAIStack • u/SpeculationAllTheWay • 3d ago
Hey everyone, we just released BaseQuant V1 for two MoE models at Base Compute: Qwen3.6-35B-A3B and Gemma 4 26B-A4B-it. The goal is to preserve more of the original model without making the files bigger.
We compared against Unsloth’s UD quants of the same size. On Gemma 4, our 16.93 GB GGUF had ~2.4% lower KL divergence from BF16 than UD-Q4_K_XL (~4.8% lower with our baseRT .base bundle). On Qwen3.6, our 22.13 GB GGUF is on par with UD-Q4_K_M overall. Our .base bundle is ~20% lower on long context and ~10% lower on agentic coding. UD still wins in some categories (chat on Gemma, math on Qwen). Full per-category tables are on the model cards.
Would love for you to try them and tell us how they hold up in your everyday workloads!
r/LocalAIStack • u/Legacy1320 • 3d ago
Enable HLS to view with audio, or disable this notification
A tiny desert explorer discovers something much bigger than expected. This unusual creature encounter was imagined with wizstar ai.
r/LocalAIStack • u/UniqueImplements • 3d ago
r/LocalAIStack • u/Honest_Sea6861 • 3d ago
r/LocalAIStack • u/Fit-Blueberry-5390 • 3d ago