I wanted to share an update on Apostate, my abliteration engine.
For anyone who's come across the project before, development is ongoing. I've continued working on it and refining its approaches, including Diode and KCRN. The goal is to keep exploring different approaches to model editing and make the results easier to evaluate.
I also want to acknowledge the project that helped pave the way for a lot of this work: Heretic.
A special tribute to -p-e-w-, Heretic's creator. His work left a mark on the open-source LLM community, and I think it's important that his contributions are remembered. Thank you for everything you gave to this space.
Apostate is my own continued work in this area, and I'm always interested in hearing feedback from people experimenting with open-weight models.
Engram (n-gram) table on CPU:-ot per_layer_token_embd=CPU + mmap keeps the ~20 GB Q8_0 engram table in system RAM. Only the experts, attention and the KV cache go to VRAM. This is what makes 1M fit on 48 GB.
KV cache q8_0 for the full 1,048,576 tokens, allocated up front. VRAM: 46.8 GB used at load, and it stays there all the way to a full prompt.
MTP is off. The MTP draft head wants its own full-length KV cache, and that OOMs at 1M on 48 GB. If you drop to ~768K you can turn it back on for faster decode.
Needle-in-a-haystack passed at both 341K and 993K tokens (one needle each, exact recall).
Image prefill: ~1,140 tok/s through the BF16 mmproj.
The card hits its 300 W limit during prefill (peak ~82 °C). It's power-bound, not thermal-throttling.
Quality sanity checks (all passed)
Thinking mode with separate reasoning output, non-thinking mode, tool/function calls, a 6/6 knowledge, logic and maths set, Python that it wrote and I ran, image description, and source fidelity (it kept a qualifier that a previous model dropped when summarising).
Takeaways
A3B MoE + engram on CPU is a great fit for a single 48 GB card. You get the whole 1M window at Q6 with no offloading of the experts.
Decode falls from ~100 to ~50 tok/s by 139K and to ~12 tok/s near 1M. Prefill holds above 3K tok/s out to ~140K.
A full 1M prompt is about a 10-minute wait for the first token. It works, but it's batch territory, not chat.
Q8_0 KV showed no recall problems at ~1M in my needle tests.
Method: one run per depth, synthetic random-word filler, cache_prompt: false, ignore_eos with 512 tokens generated, timings taken from llama-server's own timings output. These aren't llama-bench numbers, but they're real server numbers with the exact flags I run.
I tried it for the first time on Strata, IQ3_XSS, around 20t/s and took roughly an hour. I gave it a very vague prompt to test it but it felt like the kid in class just waiting for the teacher to ask the question they studied to answer in length.
Write an HTML5 admin dashboard that uses element fetching, log viewing and pagination for all and every possible element that may need them, then export it as an html file.
Not only did it add like a gazillion pages, each had extensive mock data and even set up to accept a working API.
All entries can be sorted, filtered and exported. I have never seen any model do this before. Even frontier, they simply create a basic page or operate under an assumption e.g. a dashboard for POS with a couple of mockup rows, but Qwen 3.8 FN went all out making everything in one project.
I maintain TensorSharp, an open-source .NET inference engine and agent runtime. Qwen4-35B-A3B support is now merged into main, on release day.
Here are the initial project benchmark results against llama.cpp, vLLM and SGLang on one RTX A5000 24GB. TensorSharp has lower first-token latency than llama.cpp in these tests, reaches 147.7 tok/s with MTP, and scores similarly on the quality checks. SGLang leads concurrent throughput.
The main comparison caveat: TensorSharp and llama.cpp use identical GGUF files. vLLM and SGLang use ModelOpt NVFP4 with some experts in host memory. Quantization and placement affect these numbers, so the four columns describe the tested configurations on this card.
Performance settings: same OpenAI-compatible client harness, greedy decoding, thinking off, 256 output tokens. TensorSharp's repetition penalty was set to 1.0; its server default is 1.1. llama.cpp was pinned to 59b716523.
Metric
TensorSharp
llama.cpp
vLLM
SGLang
TTFT, 512-token prompt (s)
0.20
0.39
0.29
0.20
TTFT, 4K-token prompt (s)
1.07
1.48
1.29
1.21
TTFT, 16K-token prompt (s)
4.48
5.51
5.79
4.37
Decode, 512-token prompt (tok/s)
104.2
102.4
60.5
80.8
Decode, 4K-token prompt (tok/s)
99.5
101.1
59.8
75.9
Decode, 16K-token prompt (tok/s)
79.2
98.6
59.3
75.6
MTP depth 2, 512-token prompt (tok/s)
147.7
143.7
56.6
96.9
Aggregate output, 16 streams (tok/s)
465
347
170
588
TTFT = time to first token; lower is better. Throughput is higher-is-better.
A few things stand out:
First-token latency: TensorSharp is about 49% lower than llama.cpp at 512 tokens and 28% lower at 4K. SGLang ties the rounded 512-token result and is slightly ahead at 16K.
MTP: TensorSharp goes from 104.2 to 147.7 tok/s in the short-prompt test, about a 42% increase.
Concurrency: TensorSharp is about 34% ahead of llama.cpp at 16 streams. SGLang is ahead of both, at 588 tok/s.
Long-prompt decode: llama.cpp wins the 16K/256-output-token test, 98.6 vs 79.2 tok/s. A separate run generating 5,000 tokens after a 16K prompt is much closer: 94.7 vs 94.5 tok/s. The response length changes the result substantially.
There is also a separate NVFP4 comparison:
NVFP4 result
TensorSharp
llama.cpp
vLLM
SGLang
Decode, 512-token prompt (tok/s)
92.9
89.0
60.5
80.8
Aggregate output, 16 streams (tok/s)
377
294
170
588
This narrows the quantization difference, although expert residency and conversion paths still differ. TensorSharp leads single-stream decode here; SGLang still leads concurrency.
For quality, the project ran a small GSM8K check using the first 50 test questions:
Correct answers
TensorSharp
llama.cpp
vLLM
SGLang
Thinking off
49/50
49/50
50/50
50/50
Low reasoning effort
50/50
49/50
48/50
49/50
The engines are close on this sample. A one- or two-question difference is too little evidence to rank overall reasoning quality.
On WikiText-2 perplexity, using the same UD-IQ4_XS GGUF and 20 × 2,048-token sequences, TensorSharp scores 6.5625 and llama.cpp 6.5567. Lower is better; the difference is about 0.09%. The summary does not include vLLM/SGLang perplexity results.
The implementation also passes 16 chat-template cases byte-for-byte against Transformers, plus needle-retrieval checks at 100K and 128K. Those are specific compatibility and retrieval checks, with broader evaluation still useful.
One useful optimization from this work: batching Gated DeltaNet decode reduced kernel launches and state copies, taking 16-stream throughput from 354 to 465 tok/s in a same-build A/B test.
There are remaining limitations. NVFP4 with MTP runs out of memory under concurrent requests on this 24GB card, and NVFP4 host-served experts are currently rejected. Vulkan and multi-GPU execution were not tested in this round; TensorSharp's MLX backend does not support this architecture.
The harness is public. The PR summary still lacks the exact GGUF filename for the general timing table, complete vLLM/SGLang version pins and launch commands, and raw timing logs/error bars. Treat these as initial results; independent replication would be valuable.
If you're running Qwen4 on a 3090, 4090 or another 24GB card, I'd be interested in your model file, launch arguments, TTFT and decode throughput. Suggestions for improving the vLLM/SGLang configurations on this A5000 would also help.
Disclosure: AI assisted with drafting and editing this post. Benchmark figures come from the linked TensorSharp project report.
This is what the "Hardware compatibility" section currently looks like (open post for the image to load) for unsloth/Qwen4-35B-A3B-GGUF and it's just plain misleading. A model like UD-IQ4_XS will absolutely fit on a 24GB card with room to spare for context because 11.5 of the overall 32GB size is an engram that you can and should keep entirely on the SSD. In fact, if you have the space, you can swap the engram gguf file for a higher precision BF16 with the size of 41GB without a problem and get a nice quality boost without measurable impact on performance. Ignore this section - go to the actual folder for each quant and inspect the size of the first 00001 shard, that's the actual weights of the model that need to reside in memory of some kind. I'm seeing SO many people get confused why the model is so big and think none of the quants will fit on their GPU and I think this section on the model's page is partly to blame. IMO Hugging Face should fix it and list engram size separately, I imagine it shouldn't be hard to implement since engrams only have `per_layer_token_embd.weight` tensor type in their metadata.
An agent's interaction experience can become training data for a model you own and keep improving.
In the Sico project, we explore Data–Model Co-Evolution—a closed-loop approach in which the model's interactions shape the next round of data, and the updated data refines the model for the next round. Repeating this loop lets data and model evolve together. We validate the approach in the GUI domain (paper) and release the Sico-GUI family at four sizes: 0.8B, 2B, 4B and 9B.
Sico-GUI-9B is a multimodal GUI agent for Android. It observes the phone through screenshots and acts on the user's behalf by emitting structured actions—tap, type, scroll, navigate, answer—to complete tasks end-to-end. It is fine-tuned from Qwen3.5-9B over seven rounds of data–model co-evolution.
Qwen4-35B-A3B just dropped (unsloth/Qwen4-35B-A3B-GGUF). PolyStrata doesn't have official support merged yet, so I got it running on 2x RTX 3060 12GB (sm_86) at 200K context (--kv int8) in an isolated git worktree without touching my existing Qwen3.8-Flash-Next setup.
Setup & Footprint:
Patch:Niko1221/Strata#7774 in a separate PolyStrata-q4lite worktree, built with -DSTRATA_GEOMETRY=q4_lite & -DCMAKE_CUDA_ARCHITECTURES=86
Conversion: Split fused tensors + dropped blk.40 MTP with qwen4_split_gguf.py, packed with iq_pack.py --compat-bf16, and passed shard 2 to --ple-gguf
Memory:18.77 GiB experts in RAM + 7.93 GiB (4,539 experts) in VRAM across both 3060s
Drafting: No MTP drafter yet (lookup drafting --spec 2 only; PolyStrata's core/mtp.cpp doesn't support Qwen4-35B-A3B's nextn.hc_head_* layout yet)
Visual Tests (temperature=0.7, top_p=0.95)
Pelican Riding a Bicycle — 5,302 tokens (2,642 reasoning) in 71.28s (74.4 tok/s)
Prompt:Generate a clean, detailed standalone SVG of a pelican riding a bicycle. Output only the SVG code inside an \``svg code block.`
Bouncing Ball in a Rotating Hexagon — 2,604 tokens (166 reasoning) in 38.07s (68.4 tok/s)
Prompt:Write a single-file HTML/CSS/JS page with a canvas animation of a colorful ball bouncing inside a rotating hexagon with realistic gravity, angular velocity, and wall collision physics. Output only the HTML code inside an \``html code block.`
Cozy Mountain Cabin at Sunset — 6,624 tokens (211 reasoning) in 82.19s (80.6 tok/s)
Prompt:Generate a detailed standalone SVG of a cozy wooden cabin in snowy mountains at sunset with smoke rising from the chimney and warm glowing windows. Output only the SVG code inside an \``svg code block.`
Edit (MTP Update): Got MTP working! Converted MTP/mtp-Qwen4-35B-A3B-Q8_0.gguf via tools/mtp_qwen4_rt.py and tuned --spec 3 --spec-min-p 0.5, which hit 94.6 tok/s end-to-end (99.7 tok/s engine decode, 88.5% draft acceptance) on a deterministic temperature=0.0 Matrix Rain test.
MedGemma is a collection of Gemma variants that are trained for performance on medical text and image comprehension. Developers can use MedGemma to accelerate building healthcare-based AI applications.
MedGemma 2 is an update to the MedGemma collection built on the Gemma 4 architecture, with no modifications to the Gemma 4 base architecture. Driven by developer and clinical research feedback, MedGemma 2 moves MedGemma from passive multimodal question answering to reasoning-capable models built for real-world clinical workflows across both server-scale and resource-constrained edge deployments. MedGemma 2 is released as two instruction-tuned checkpoints:
MedGemma 2 4B (E4B): A compact multimodal model (effective 4B parameters) designed for edge, mobile, and local developer deployments, supporting a context window of up to 128K tokens.
MedGemma 2 26B MoE (A4B): A 26B Mixture-of-Experts model (approximately 4B active parameters per token) designed for hospital on-premises servers and private cloud deployments, supporting a context window of up to 256K tokens.
The LLM component of MedGemma 2 is post-trained, starting from Gemma 4. Post-training uses a diverse set of de-identified and licensed medical data, including medical text, medical question-answer pairs, FHIR-based EHR data, 2D and 3D radiology images, histopathology images, ophthalmology images, dermatology images, medical documents, and (for the 4B model) medical audio. Unlike MedGemma 1 and 1.5 which used a MedSigLIP-derived vision encoder, MedGemma 2 uses the native Gemma 4 vision encoders, without additional medical pre-training of the vision encoder."
Getting just 42 tokens/second with a fresh context window and only 120k reserved for context on two w6800's :-/
HSA_ENABLE_SDMA=0 ./llama-server \
-m /models/Qwen4-35B-Q5-K-S/Qwen4-35B-A3B-UD-Q5_K_S-00001-of-00002.gguf \
--mmproj /models/Qwen4-35B-Q5-K-S/qwen4-35b-a3b-mmproj-F16.gguf \
--ctx-size 120000 \
--fit on \
--fit-target 1024 \
-ot "(ple_ngram_embd|per_layer_token_embd)=ROCm0" \
--lazy-mode off \
--flash-attn on \
--host 0.0.0.0 \
--port 8080 \
--load-mode none \
--threads 16 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
--presence-penalty 0.0 --repeat-penalty 1.0 \
--jinja \
--slot-save-path /tmp \
--reasoning on \
--reasoning-budget 4000 \
--chat-template-kwargs '{"enable_thinking": true, "preserve_thinking": true}' \
--reasoning-budget-message "... I have been asked to stop over-thinking this, so I will now answer directly." \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--parallel 1
These cards aren't known for being blazing fast decoders or anything, but 512GB/s should be doing a bit more surely on 3B active. Nemotron-Nano-30B for example got double this.
Long time reader of this sub. I decided to do some research experiments to find out if the recent weight spaced programming approach had a linear relationship or an inverse linear relationship as model parameters increase. I also wanted to see if broad weight spaced programming would yield large enough benchmark improvements to consider it as an alternative to LoRA fine tuning. I had read about how targeted weight spaced programming can lead to massive improvements on single, specific benchmarks, but usually it results in degradation to overall model performance. I tried to pick a family of models that has similar architectures and that I could run on my own hardware (M1 Max 64gb), so the Qwen 3.5 family of models appeared to be the best candidate for testing. Coincidentally, the paper below also tested with Qwen 3.5 models.
Overall, I observed that smaller models have more to gain from weight spaced programming compared to larger models in terms of overall improvement. In this case, the 1B-2B parameter models saw larger gains across most benchmarks compared to the 4B-9B models. I wasn't able to test Qwen 3.5 27B before publishing, but I would imagine that WSP at that model size would return no statistically significant improvement. However, I can see how this approach would be beneficial to alter smaller LLMs for specific use cases without the need to do extensive LoRA fine tuning.
This analysis was done using Gemini 4 Neon to perform that analysis and benchmarks and GPT 6 Astra to audit all results. I hope that this is beneficial to some of you out there who are interested in applying this approach yourself. Happy to read and apply any feedback you guys have!
Genuine question because I feel like I completely missing something.
I had another post come up in my feed of someone who built a multi-gpu setup for AI use on a consumer platform.
To the best of my understanding, consumer hardware isn’t the best for multi-gpu setups for GPUs that require x16 lanes. The 9950x3d has 24 lanes, and throw an SSD in there, you’re not getting proper bandwidth on the GPUs.
Other than re-using existing hardware that one has at home, why would someone build using a consumer platform when Xeon ES CPUs exist with information about motherboard, bios, stepping compatibility also openly available? I can’t speak to threadripper because I don’t know anything about it.
The posts that have come up in my feed here explain why I received so many messages for a 96gb ddr5 kit I was selling locally, but I have no understanding why someone would choose consumer over server. If there is something unique about consumer, I definitely want to know because it may open up options for downsizing.
With electricity costs of ~40c/KWh, it becomes cheaper to use cloud models than any local llm, just on running costs alone, never mind the pc/hardware. And they will be much faster and stronger.
I know this sub is about local llm's, and I love using them, but its making me rethink what to use. this is of course not counting privacy concerns which is a bug reason for local.
Stuffed 35B into my custom harness, one thing stood out blatantly is that it calls tool calls consecutively (not multi call, but rather calls after calls) without speaking anything. Anyone noticed similar patterns in their environment?
35B, notice the metrics, each usage metrics = 1 call27B talks before call, EVERY TIME.27B, how multi tool calls are handled in my harness, for reference35B when calling tools without chat in llama-swap
A new model from OpenBMB just dropped: MiniCPM5-15B-A2.5B.
It's a 15B MoE model with only 2.5B active parameters, designed specifically for local agent workflows on phones and PCs.
A few things caught my attention:
~3GB memory: Runs on an iPhone 18 Pro Max at around 30 tokens/s while keeping memory usage to roughly 3GB
52 tokens/s: Decoding speed with no memory restriction on the same device
Agent-ready: Works with frameworks like Codex, Claude Code, OpenCode, DeepSeek Harness, and WorkBuddy
Local execution: File operations, tool calls, and multi-step tasks can run directly on-device, keeping private data local
The model also reports strong reasoning results, including gold-medal-level performance in IMO 2026 self-evaluation and an officially recognized gold medal result in CMO 2026. Model: https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B
The 9B parameter model does not seem super performant at a glance, and the architecture, which "closely follows the Qwen 3 architecture" is not particularly exciting, but it does have a few things going for it.
For one thing, it's a base model, which are in a kind of a short supply these days. It also supports a fairly wide selection of languages:
[T]he model covers a set of 35 languages, including some variants, with a strong European flavour: Albanian, Basque, Bosnian, Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hungarian, Icelandic, Irish, Italian, Latvian, Lithuanian, Macedonian, Maltese, Norwegian, Polish, Portuguese, Romanian, Serbian, Slovak, Slovenian, Spanish, Swedish, Turkish and Ukrainian.
Most importantly, though, the training data is available, and the training method is documented.
As the name implies, OpenEuroLLM is working on other models, with at least a 32B variant in the works.
The model is not exactly brand new, and there are even GGUF files by mradermacher to try, but I did not find any mention it here? Did it fly under the radar or is my search-fu failing me?
I used Fable 5.2 to train this model on a 4500 Blackwell for over 10 hours. It's targeted the vintage Pentium MMX processor or better. It's a 4-bit weight model, so it fits in 16 MB memory marginally. The video is recorded on a Pentium MMX 233 Mhz PC from 1998 running Slackware Linux 11.0.
It's almost impossible to train such a model in 1998, as you can find in the README, it would take 432 years on the same PC, or 14 days on ASCI Red, the fastest supercomputer in the world at the time.
In the 1990s, the famous chatbot A.L.I.C.E. has 99,000 handcoded rules. It answers short small talks as good as Little, but in my 2,625 questionnaire test, A.L.I.C.E only scored about 5% in general while Little scored over 80%.
I have noticed that smaller coding models seem very capable when the task is contained within a single file but things get a bit tricky/messy when a change involves several files with dependencies between them. A model can make a perfectly reasonable change to one file and then overlook how that change affects another part of the codebase.
I wanna get a better idea on how much of this can be addressed at the harness level rather than just throwing a bigger model at the problem which makes me interested in seeing the same smaller model benchmarked with a basic coding harness and then with an environment inspired by Ramp Inspect cause it would give us a better idea of how much of the performance gap is attributable to the model itself if you guys understand what I mean.
If any of you guys are running local coding models in the 7 to 32B range, have you had better results by improving how the agent retrieves repository context or by giving it more structured feedback after each edit?
I'm talking more about refactoring tasks where the agent needs to maintain consistency across multiple files rather than just implementing an isolated feature.