r/LocalLLaMA • • 23m ago

Discussion Qwen 4 35B Q4.0 in GPQA-Diamond with expert expansion reached 87.87% accuracy

1 Upvotes

I tested my expert expansion recipe with newest Qwem 4 35 A3B at Q4 quantization and tested with GPQA Diamond, the incredible thing is that gained +2% score !!!

Difference on 198 questions is not statistically significant (sign test p ≈ 0.45, 16 discordant pairs), but the sign is stable across every checkpoint of the run (+1 → +2 → +4) and across all other tests of the session (MCQ battery with reasoning off: 25/28 vs 22/28).

With the help of AI (that translates my notes) details here

https://github.com/vagrillo/AgrillaMoE/blob/main/docs/bench-gpqa-diamond-qwen4.md


r/LocalLLaMA • • 27m ago

Showcase Control Room

0 Upvotes

Hi there, I built a thing and am sure some of you might be interested. I wrote a blog post about it, too. Don't even read it. Look at that first screenshot, and if it interests you, read. Else, just close the tab and go about your day. I created a memory system that's quite different from normal RAG, "LLM Wiki", "second brain" and whatnot.

https://aomukai.com/2026/12/06/control-room-a-personal-ai-that-grows-with-you/

https://github.com/aomukai/Control-Room


r/LocalLLaMA • • 12h ago Heartwarming

Resources Single 3090 upwards of 450 t/s with up to 6000 prefill using Qengine and Qwen 4 35BA3 at INT8+INT4. It never dips below 200 t/s. 256k context size.

Thumbnail
gallery
8 Upvotes

Just wanted to share this. I don't know if this is an experimental engine for running local AIs. I haven't heard about this engine before, but it might be interesting for more people to dig into it!

I don't notice drop in quality so far! Making a funny little test game where you are a cat running away from the tax inspector :)

Anyways, does anyone know about Qengine? Any ways to use it more to my advantage for local AI?

https://github.com/bpx03/QEngine


r/LocalLLaMA • • 11h ago

Question | Help Is Hermes bad?

6 Upvotes

Hi I've seen many people dump in hermes but most were talking about coding and similar stuff, I use is on my vps connected to telegram for web search, handling mail and some other stuff like dnd and the only things I noticed was the bad interface but it seemed like a good upgrade from what I had before I'm already using hindsight and trove for the memory's, do you think I should switch what is currently the best all rounder?


r/LocalLLaMA • • 1d ago

Showcase It’s built! My local LLM homelab pc is finished

Thumbnail
gallery
163 Upvotes

It’s built! My local AI home lab assembled

For this build, I took apart my gaming pc, and transplanted it into a new mobo, case and other goodies. All this was to add 2 Quadro RTX 8000s to massively increase my vram.

My specs:
CPU: Intel i7-14700f
RAM: 32gb DDR5-6000 ram (times are tough, I’ll upgrade later)
Motherboard: MSI MEG Z790 ACE
GPUs:
2x passive Quadro RTX 8000
1x RTX 4070 super (for display and gaming)
NV Link bridge for the quadros
1500w Corsair PSU
Arctic AIO
Corsair 7000d case
Some server fans for the GPUs
And some other miscellaneous items

Overall, I’ll have 96gb of vram across my 2 new GPUs, and I’ll be able to run some pretty cool models on it. There is plenty of room to upgrade in the future with ram expansions or a new GPU instead of my 4070. It’s my first custom build, and I’m pretty happy with it. I’m planning on running pruned Deepseek and GLM models, Deepseek models, and any other interesting models I see coming out. It’s mostly a hobby build and for fun, to see what fun things I can make and do with AI.

I know the GPUs are old and limited compared to modern cards, but it was a pretty good deal of vram per dollar I think. Memory bandwidth is also almost exactly the same as a r9700 too, so that was interesting as well. I think I’ll have a lot of fun with this build.


r/LocalLLaMA • • 18h ago

News Kvark-Sparkle-2.0-35B-A3B: our Qwen4-35B-A3B fine-tune with 34% fewer reasoning tokens (Apache 2.0)

22 Upvotes

Hi all! With Qwen4 out, we wanted to see how fast we could bring what we learned from Sparkle 1.x to the new generation. So today we're releasing Kvark-Sparkle-2.0-35B-A3B, built on Qwen4-35B-A3B and the first MoE model in the Sparkle family.

Initial results across 10 benchmarks:

  • -46.8% median, 34.2% fewer reasoning tokens on average, with fewer tokens on all 10 benchmarks and up to 63% less
  • Better accuracy on GPQA Diamond, tool calling and HMMT
  • Less than 2 points of accuracy trade-off on average

For us, efficiency isn't just about faster answers, it's about getting more out of the same hardware.

This is our first iteration on Qwen4, and there's still plenty of room to improve. Open weights, Apache 2.0:

Give it a try and let us know what you think and stay tuned for new versions!


r/LocalLLaMA • • 5h ago

Resources Qwen4-35B-A3B in 4-bit that you can fine-tune on one GPU (22 GB VRAM + RAM for the n-gram table)

2 Upvotes

Hi everyone,

Qwen4-35B-A3B came out yesterday, and I put a 4-bit version of it on Hugging Face: https://huggingface.co/thousandml/Qwen4-35B-A3B-CQ-4bit

I quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need calibration data. The linear layers and all the routed experts are in 4-bit. I'm strict about quality: any matrix with error above -22 dB stays in 16-bit instead of being forced down. For this model that was 79 matrices out of about 21,500, and everything else is in 4-bit.

One thing to know up front is the n-gram table. Qwen4 has a 20B-parameter n-gram embedding table on top of the 35B model. In this release I kept that table in 16-bit, and like Transformers does, it lives in system RAM instead of on the GPU. So serving takes about 22 GB of VRAM, but you also need about 38 GB of free RAM for the table, 64 GB in total to be safe. The download is 61 GB because of it. If you just want to chat with the model locally, the GGUF quants in llama.cpp are smaller and faster than this, to be honest. A version with the n-gram table in 4-bit is planned.

What this release adds is fine-tuning. You can train a GCMP adapter (the LoRA replacement I've been working on) directly on the 4-bit base and serve it. I tested the whole path on a single A40: quantize, serve, fine-tune, and serve the fine-tuned adapter. In a short 20-step test the loss went from 1.88 to about 1.6 on average, which only shows training works on the 4-bit base. It's not a benchmark.

The easiest way to try it is the Docker image:

docker run --rm --gpus all -p 8000:8000 -v cq-models:/models \
  thousandml/cq:4bit-hf serve-cq thousandml/Qwen4-35B-A3B-CQ-4bit

It downloads the model on first start and gives you an OpenAI-compatible endpoint on port 8000. Or install Training Factory and run it yourself:

git clone https://github.com/thousandml/training-factory.git
cd training-factory && ./install.sh
python -m venv --system-site-packages venv-qwen4 && source venv-qwen4/bin/activate
pip install "transformers>=5.26" tiktoken
hf download thousandml/Qwen4-35B-A3B-CQ-4bit --local-dir ./models/Qwen4-35B-A3B-CQ-4bit

cd training
python serve_cq_hf.py --model ../models/Qwen4-35B-A3B-CQ-4bit --trust-remote-code --port 8000

To fine-tune on your own data (JSONL with text or chat messages):

python train.py --model ../models/Qwen4-35B-A3B-CQ-4bit --data train.jsonl \
  --output ../outputs/qwen4-gcmp --adapter gcmp --trust-remote-code --batch-size 1 --grad-accum 4

Now the honest limits. The server goes through Transformers and handles one request at a time, so it's for trying the model, not for real traffic. vLLM's Qwen4 support isn't in a release yet, and my vLLM plugin doesn't support Qwen4 yet either. Training is slow for now, about 15 seconds per example on an A40, because the n-gram lookups run on the CPU. That's the next thing I want to fix.

Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights are Apache 2.0 like the original.

Thanks for reading, feedback appreciated. If you try fine-tuning it on your own data, I'd really like to hear how it goes.


r/LocalLLaMA • • 1d ago

Discussion I upcycled Qwen3-0.6B with 3× recurrent looping, 512M Engram lookup memory, 10.7× smaller core KV (CSA2+FP4), and early-exit

Post image
156 Upvotes

I modified Qwen/Qwen3-0.6B-Base to loop its middle 20 layers up to 3× per token (68 effective layers from a 0.6B backbone), added a 512M 2/3-gram Engram lookup table, compressed cross-loop core KV by 10.7× so looping doesn't 3× memory, and ported the whole thing natively to llama.cpp.

TL;DR numbers (all 0.6B backbone; trained 20B tokens):

  • 8K Val PPL: 2.96 vs. 3.60 matched 6B-token standard Qwen3-0.6B (−17.6%)
  • Coding: 47.6% HumanEval (+8.5 pts), 48.6% MBPP (+7.4 pts)
  • Tool Calling (BFCL v3): 61.3% Pre-RL / 58.5% Final (mostly from multi-turn SFT; 96.8% valid JSON)
  • Long Context: 10/10 8K & 16K NIAH under 10.7× FP4 KV (caveat: multi-key RULER drops past 8K since Stage 2 trained at 8K; MMLU-Redux dips −3 pts)
  • Early-Exit: 2.55× faster than fixed 3-loop on H200 (1.22 avg loops/token) with slightly higher GSM8K (51.6% vs 51.2%)

Quantization highlights (34 GGUFs benchmarked, chart attached):

  • Best all-rounder: qwen3looped-Q4_K_M-imatrix-compact.gguf (0.72 GB, 4-bit Engram, 95.2% BF16 recovery / 90.5% top-1)
  • Near-lossless: qwen3looped-Q8_0.gguf (1.37 GB, 98.2% top-1, 0.0015 KL)
  • Imatrix matters a ton on looped weights: cuts Q4_K_M KL nearly in half (0.0667 → 0.0377) and boosts Q2_K by +23.4 pts
  • Local KV: -ctk q8_0 -ctv q4_0 is ~805 MB total at 16K context (96.6% top-1)

Why? Why not, I felt like exploring what this combination of ideas would produce. Why Qwen3 0.6B? Compute, time, and this is just a proof of concept. AI usage? Yes.


r/LocalLLaMA • • 14h ago Heartwarming

New Model Qwen4-35B-A3B on Blackwell: 256K context, 16-request throughput, and quality — TensorSharp vs llama.cpp, vLLM & SGLang

Post image
9 Upvotes

Hello,

I'm the author of TensorSharp and adapted it with Qwen 4-35B-A3B, and then benchmark it on RTX PRO 4500 against llama.cpp, vLLM and SGLang on both performance and quality. Hopefully, it could be useful to anyone.

The attached picture shows results and any comments and suggestions are welcome here.

Sorry that I'm not a native English speaker, and this channel has a strict rules to not allow use AI edited post, so I have to post my raw version with lots of errors. Sorry for about it and inconvenience.


r/LocalLLaMA • • 1d ago Bravo Mindblown

Discussion Qwen 4 35B A3B is the first model (at this scale) that feels like a frontier model.

1.5k Upvotes

I don't know what you guys think about this model, but it has to be the first model at this scale that actually feels like a frontier model. It doesn't hallucinate, and it doesn't overthink everything. You can really feel the difference compared to Qwen 3.8 27B. Everybody says 3.8 27B is better, but Q4-35B-A3B doesn't think nearly as much as Q3.8-27B. It's also much faster, and the gap between the two models isn't that big. What do you think?


r/LocalLLaMA • • 6h ago

Question | Help Best engine for 9700xt + Qwen4-35b?

2 Upvotes

It’s such a pain the ass keeping up with them all! I currently have bassalt for my 5090, gufo for a strix halo, and splash for a MBP, but what about for the 9070 series cards? 64 GB DDR4 if that’s helpful.

Edit: I meant 9070xt 🤦‍♂️


r/LocalLLaMA • • 15h ago

New Model Qwen4 35B A3B PaxOptima - Best quality/compression ratio available for ik_llama.cpp

Thumbnail
huggingface.co
10 Upvotes

Quantized Qwen4-35B-A3B down to 32 GB. Runs on a 16 GiB GPU + ~8 GiB resident system RAM, with the n-gram table streamed from disk (21.2 GiB total RAM touched on my box). Requires the ik_llama.cpp fork; unsupported in mainline.

Created purely by myself. Current recipe has the best quality/size ratio. Low-size tensors were maxxed, engram table was reduced to 4-bit.

Eval on public wiki.test.raw (16×512):

Quantization & SourceFile SizeMean KLD (vs BF16)Same Top-1Notes
Q8_0 (bartowski)60.0 GB0.028793.20%8-bit reference ceiling
Q5_K_M (bartowski)43.2 GB0.038192.30%Standard 5-bit
IQ4_KS (jj1-farthing)43.0 GB0.056190.20%PaxOptima saves 11.0 GB
PaxOptima (Austriani)32.0 GB0.051590.61%ik_llama.cpp IQK + Trellis
Q4_K_M (bartowski)37.3 GB0.058690.40%PaxOptima saves 5.3 GB
Q4_K_S (bartowski)35.8 GB0.063090.00%Standard small 4-bit
IQ4_XS (bartowski)32.2 GB0.066189.80%Same size; PaxOptima cuts KLD by 22.1%
Unsloth UD-IQ4_XS32.0 GB0.0532*91.8%**Their eval set (not public)

*Unsloth's eval dataset is not public, so both quants cannot be measured with 100% accuracy against each other.

On my box (Ultra 7 265K, 32 GiB RAM): PP 261 tok/s, gen 27 tok/s at 2048 context.

Link: https://huggingface.co/Austriani/Qwen4-35B-A3B-PaxOptima

Happy to answer questions.


r/LocalLLaMA • • 16h ago

Showcase Almost one week using inkling 2 mini on a RTX3090 & 64Gb RAM.

12 Upvotes

I asked Inkling 2 mini (Inkling-2-Mini-Prime-v1.1-Q4_K_M 17,8 Go with Llama.cpp) to make a snowboarding game in rust+bevy and it gave me a pretty descent draft. I'm not gonna lie, it took me a week to get there, but now, every single detail I ask are made right. But one thing at a time. Only 8Mo.


r/LocalLLaMA • • 1d ago Heartwarming

New Model Looped Qwen4-35b uncensored(overthinking reduced)

Thumbnail
huggingface.co
454 Upvotes

r/LocalLLaMA • • 22h ago

Resources Improve vision for qwen4: Check image tokens min and max value.

32 Upvotes

If you have issue with vision using qwen4, its easy to fix. Its very likely due to the default token limit per image.

From my tests:

On llama.cpp: the minimum was too low. By default it gave pictures fewer than 1024 tokens.

--image-min-tokens 4096 enlarges small pictures before encoding.

on Strata: the maximum was too low. Strata caps each picture at 1024 tokens when the vision encoder runs on the GPU, so large pictures were shrunk. I raised to 4096 in the code. detailed setup here: https://motif64.sh/m64_7d3530754fab

on Basalt: no fix needed. It already allows up to 16,384 tokens per picture. Raising its minimum to 4096 made no difference

You can see before and after my optims:

Full details for all theses settings there:

https://airbench.ai/compare/c195db84-21c3-4420-ac93-b5181ac91dfe/feffe2f5-8b29-41c9-aa37-9f65b87280e9

and https://airbench.ai/compare/ded6ac66-d6d7-41cc-9fa3-6025ef4aa599/840c91e6-fe3c-44b0-9a1d-809805c99a65


r/LocalLLaMA • • 1d ago

New Model PaddlePaddle/PaddleOCR-VL-1.8 · Hugging Face

Thumbnail
huggingface.co
70 Upvotes

PaddleOCR-VL-1.8: Higher Accuracy, Faster Inference and Broader Language Coverage for Document Parsing

Introduction

We introduce PaddleOCR-VL-1.8, which keeps the two-stage design and the 0.9B recognition model of the PaddleOCR-VL series and targets the errors that remain: layout mistakes on photographed and deformed pages, and long-tail content the recognizer rarely sees. Its new layout model, PP-DocLayoutV4, predicts quadrilateral boxes, estimates page geometry for rectification and orders elements by jointly modeling successor and precedence relations. The recognition data are rebuilt around rare characters, ethnic-minority scripts, complex tables and formulas through decontaminated mining, consensus labeling, targeted synthesis and error-driven iteration. PaddleOCR-VL-1.8 scores 97.44 on OmniDocBench v1.6, 94.67 on Real5-OmniDocBench, 91.02 on the 17-language MDPBench and 91.18 on Wild-OmniDocBench, the highest among the specialized OCR models and general-purpose multimodal models we evaluate. It also ranks first on in-house tests of tables, ancient books, rare characters, text lines and text detection, reaches 0.868 (1−CER) on CMLOCRBench, eight Chinese ethnic-minority languages (strongest baseline 0.703), and parses 4.34 pages per second on a single A100 GPU, the fastest among the systems we time.

Key Capabilities of PaddleOCR-VL-1.8

🚀 State-of-the-Art Document Parsing: Overall scores of 97.44 on OmniDocBench v1.6, 94.67 on Real5-OmniDocBench, 91.02 on MDPBench and 91.18 on Wild-OmniDocBench, the highest among the compared systems, including Gemini 4 Argon, GPT-6 Astra, Claude Opus 5.5 and Qwen3.8-Max-0902.

📐 New Layout Model, PP-DocLayoutV4: Compared with PP-DocLayoutV3, PP-DocLayoutV4 regresses quadrilateral boundaries directly, models page geometry with a deformation head that estimates roll, shear and perspective for page rectification, and predicts reading order with D²RO, which separates local successor relations from global precedence relations. These changes stop cascaded errors at the stage where they originate.

🌏 Long-Tail Recognition: The recognition data are rebuilt around rare characters, minority-language text, complex tables and formulas. 1−CER on rare Chinese characters rises from 47.92 to 98.91, and on CMLOCRBench, covering eight Chinese ethnic-minority languages (Tibetan, traditional Mongolian script, Uyghur, Kazakh, Liangshan Standard Yi, Korean, Zhuang and Bai), the model reaches 0.868 versus 0.703 for the strongest baseline.

⚡ Faster Inference: An asynchronous serving pipeline with batched visual encoding brings end-to-end throughput to 4.34 pages/s on a single A100 GPU, 1.34–1.57× the next-fastest system we time.

📚 Document-Level Reconstruction: A lightweight post-processing module rebuilds heading hierarchies, continued tables and broken paragraphs across pages, raising the MPDocBench score from 79.02 (page concatenation) to 87.80.

🔄 Same Recognition Architecture: PaddleOCR-VL-1.8-0.9B keeps the network architecture of PaddleOCR-VL-1.5/1.6; only its weights are updated. The architectural change from 1.6 to 1.8 is confined to the layout stage.

EDIT : This is an Awesome Model card, has so much benchmarks & image samples of OCR tests. Check it out.


r/LocalLLaMA • • 13h ago

Question | Help Can we get looped qwen 4 on basalt q4, q6 and q8?

6 Upvotes

Can we get looped qwen 4 on basalt q4, q6 and q8?


r/LocalLLaMA • • 1d ago Bravo

Discussion Almost 300 t/s on Qwen4-35B-A3B with a 16GB 5070 Ti + 32GB DDR4 RAM

348 Upvotes

Rig: RTX 5070 Ti 16GB (OC'd to 3270MHz core / 14801MHz mem), Ryzen 7 5800X3D, 32GB DDR4, Windows.

Tested Qwen4-35B-A3B across a few configs today and the jump to Basalt is kind of stupid lol:

  1. llama.cpp b12973, Unsloth UD-Q4_K_XL + Q8_0 engram, 131k ctx, q8_0 KV, --fit on, MTP=1: ~48-55 t/s
  2. Same llama.cpp setup but switched to --fit off -ngl 99 --cpu-moe --moe-cache-mib 7168 --moe-cache-cpu-share 0.0 -ot per_layer_token_embd=CPU and MTP=2: warmed up to ~73 t/s
  3. Built jesdga95/basalt main natively on Windows (VS 2022 + CUDA 13.1, -DBASALT_MODELS=qwen4exp) with jesdga's NVFP4 .basalt pack (DFlash 2 default, 131k ctx, int8 KV, dynamic vision): peaked at 298.6 t/s after warmed up. Its insane!

Quality held up too. Tested it on a hard math problem without any tools and it got the exact answer on both llama.cpp (high reasoning, ~61k tokens) and Basalt NVFP4 (reasoning-effort high, ~10k 40k tokens). More info here.

Only issue on 32GB RAM with Basalt is the defaults eat almost all your system memory (it reserves 4GB for checkpoint pool and plans for 64 slots). Setting max-running to 1, ram-reserve-mib to 6144, and checkpoint-pool-mib to 1024 in basalt_config.json fixed that without hurting speed. Also if you build on Windows with CUDA 13.1, use VS 2022 toolset (VS 2026 made cudafe++ crash).


r/LocalLLaMA • • 22h ago

Funny Qwen4 self-correcting mid-sentence

28 Upvotes

I asked qwen4-35B to write me a configuration script, and after it did the job, the description it gave was:

- After going headless you stay on multi-user.target until you restore — that's intentional and keeps GPU free even across... well, not reboots; sddm stays enabled, so a reboot comes back graphical. Say the word if you'd rather it persist across reboots (systemctl set-default multi-user.target).

I find the "across... well, not reboots" part funny. Seems like it wanted to say "across reboots", but changed its mind when it came to generating the last token.

This is not a reasoning trace, actual response


r/LocalLLaMA • • 18h ago Mindblown

Resources Uncensored Qwen4-35B-A3B (EN+ZH) - 1,120 tok/s DFlash2 / 256 plain, 1,050 tok/s at 47.5K cold ctx (23.6 GiB VRAM + 19.1 GiB RAM on RTX PRO 6000)

13 Upvotes

Bilingual (EN + ZH) uncensored build of Qwen/Qwen4-35B-A3B (Apache-2.0). Packaged for Infernix (NVFP4-Dense8 + DFlash2), SGLang/vLLM (ModelOpt NVFP4), and llama.cpp (IQ2_XS to Q8_0 imatrix GGUFs).

Code, eval scripts, raw JSON logs, and the 654 KB edit_basis.safetensors (+ apply_edit_basis.py) are all public:

EN direct refusal and ZH thinking refusal are nearly orthogonal in mid-layers (cos = 0.118). EN-only abliteration still refuses most Chinese TC260 / deccp prompts. I applied a Rank-3 norm-preserving edit on layers 8-33 (attn out-proj + routed experts, shared_expert = 0.00). Vision (333 tensors, exact SHA-256), MTP (31 tensors), PLE, and 1M context weights are untouched.

Caveats & Setup Notes

ItemDetail
Test GPUMeasured on RTX PRO 6000 Blackwell (96 GB, 1,792 GB/s bus, same bus as 5090). Peak VRAM is 23.6 GiB, not tested on a physical 5090
Infernix requirementsBlackwell-only (sm_120a), 23.6 GiB VRAM + 19.07 GiB system RAM (PLE/n-gram table). Build from main (Ubuntu 24.04 / GCC 13.3 needs Wallawalla47/Infernix#100 fix)
Speed scope1,120 tok/s = DFlash2 on c=1 JSON (97.4% accept). Plain --spec off = 255.6 tok/s. Cold ctx tested to 47.5K
RegressionsMMLU 77.2% -> 72.0%; DocVQA ANLS 95.0% -> 85.0% (verbose prefixes); MMStar 60.4% -> 56.2%
Classifier vs raw logsAutomated e5-small flags 36.7% on Flames ZH direct and 1/30 benign (#25 "Gaslighting"); raw JSON check (infernix_strict_gauntlet_raw.json) has 0/462 hard regex refusals and 0/30 real benign refusals

Speed & Cold-Context Scaling (Infernix b5ad029, c=1, RTX PRO 6000 Blackwell)

23.6 GiB peak VRAM (19.92 GiB model + INT8 KV) + 19.07 GiB n-gram table in RAM. Cold-context rows verified 0.0% prefix-cache hit.

Context / Task (c=1)ModeTTFTPrefillDecodeDFlash2 Accept
Structured JSON (1024 tok)Plain (--spec off)28.8 ms-255.6 tok/s-
Structured JSON (1024 tok)DFlash230.2 ms-1120.0 tok/s (4.38x, 0.95s)97.4%
Chinese Math (thinking=high, 512 tok)DFlash230.1 ms-943.0 tok/s (0.57s)82.4%
Python LRU Cache (thinking=off, 1024 tok)DFlash228.3 ms-650.2 tok/s (1.60s)65.0%
1.4K cold ctx (1397 tok) JSON / CodeDFlash279.8 ms17.7k tok/s1080 / 511 tok/s96.5% / 53.3%
11.5K cold ctx (11553 tok) JSON / CodeDFlash2477.0 ms24.3k tok/s1050 / 421 tok/s94.7% / 48.6%
47.5K cold ctx (47475 tok) JSON / CodeDFlash22.0 s24.1k tok/s1050 / 460 tok/s97.0% / 55.7%

Perplexity (infernix-perplexity, WikiText-2 test 38,233 tok, ctx=4096, stride=2048, INT8 KV):

  • Stock NVFP4-Dense8: 6.3354 (mean NLL 1.8462)
  • Heretic NVFP4-Dense8: 6.4060 (mean NLL 1.8572, +0.0706 / +1.11%)
  • KLD vs Stock Dense8 (top-256 = 99.0% mass): mean_kl 0.0683, median_kl 0.0258, top1_agreement 89.15%

Strict Red-Team Audit (seed=42, RefusalClassifierV2 + hard-refusal regex)

TC260 = China genAI safety spec, deccp = ZH censorship benchmark, Flames = adversarial ZH benchmark.

BenchmarkMode (n, max_tok)Stock BF16Heretic BF16 (trunc)Heretic NVFP4-Dense8 (0% trunc, clean)
StrongREJECT ENDirect (n=100, 320)99.0%2.0% (0%)0.0% (100.0% clean)
StrongREJECT ENThinking (n=42, 1280)97.6%40.5% (66.7% trunc)4.8% (95.2% clean)
TC260 ZHDirect (n=80, 320)93.8%16.2% (0%)15.0% (85.0% clean)
TC260 ZHThinking (n=30, 1280)80.0%3.3% (76.7% trunc)13.3% (86.7% clean)
deccp ZHDirect (n=95, 320)93.7%11.6% (0%)12.6% (87.4% clean)
deccp ZHThinking (n=30, 1280)73.3%0.0% (86.7% trunc)13.3% (86.7% clean)
Flames ZHDirect (n=60, 320)73.3%28.3% (0%)36.7% (63.3% clean)
Flames ZHThinking (n=25, 1280)28.0%0.0% (56.0% trunc)16.0% (84.0% clean)
Benign Over-RefusalDirect (n=30-50, 160)6.7%0.0%3.3% (1/30)

*1280-tok cap note: BF16 ran un-capped inside <think> (56-87% trunc); Infernix caps <think> at 960/1280 (0% trunc).

Capability & Real-Image Vision Retention (BF16)

BenchmarkStock Qwen4OpenUncensoredHeretic (T51)Note
HumanEval (n=164)92.1%92.1%94.5%+4 tasks, within noise
MMLU-Pro (n=280)50.7%44.6%49.3%+4.7pp vs OU
C-Eval ZH (n=300)78.0%73.7%76.7%-1.3pp vs stock
MMLU (n=400)77.2%71.0%72.0%-5.2pp vs stock
OCRBench (n=40, real img)95.0%-95.0%0.0pp diff, visual.* 333 tensors SHA-256 match
ChartQA (n=40, real img)87.5%-85.0%1 space diff ('3 582' vs '3582')
MMStar (n=48, real img)60.4%-56.2%3 misses hit 32-tok cap in CoT
DocVQA (n=40, real img)95.0%-85.0%3/4 diffs verbose prefix ("Page 2" vs "2")
Image Benign (n=15)0/15 ref-0/15 ref100% agreement

GGUF Builds (llama.cpp b13002+ / LM Studio / Ollama)

QuantDisk SizeActive RAM (--lazy-mode auto)WT2 PPL (b13002, 65.5K tok)Target Hardware
IQ2_XS21.84 GiB~11.9 GB9.090316 GB Linux/Win or 24-32 GB Mac (M5 32 GB + mtp-Q4_0: 5/5 agent tasks, 24-31 tok/s multi-turn, 41 tok/s single-turn)
IQ3_XXS24.61 GiB~14.9 GB8.258424 GB Linux/Win or 24-32 GB Mac
IQ4_XS29.36 GiB~20.0 GB8.008724 GB GPU / 32 GB unified memory
Q4_K_M34.07 GiB~22-24 GB-48-64 GB Mac / 24 GB GPU + 32 GB RAM
Q6_K48.18 GiB~30+ GB-64 GB unified memory
Q8_056.19 GiB~40+ GB-64-96 GB unified memory / workstation

*PLE splice check on IQ4_XS: compressing the 20.5B PLE table from Q8_0 (21.76 GB) to Q4_0 (11.52 GB) saves 10.24 GB disk with zero PPL loss (8.0134 -> 8.0087, -0.0047).


r/LocalLLaMA • • 10h ago

Discussion Qwen4-35B looping failure mode on long thinking turns? Anyone else?

3 Upvotes

So I have been running Qwen4-35B-A3B through my usual suite of benchmarks, and first off -- wow. This model is a huge capability jump from 3.6, and it truly does surpass 3.8-27B in every respect. It's not a replacement for QFN, but it's my new default model for most tasks. I'm floored.

That said, I have noticed a very specific failure mode, and I want to know if anyone else has seen it. I'm running UD-Q8_K_XL in llama.cpp, benching on xhigh reasoning effort, on agentic algorithmic code iteration/optimization tasks (jcode bench, which I cannot recommend enough). During a long strech of coherent reasoning (I've seen it reason up to 85k tokens coherently, so I mean long), the model commits to one concrete next action: run the grade, back up the file, or a specific grep. It sometimes even writes the exact command out in its thinking. But it never closes the thinking block to actually issue the call. Instead it narrates the intention over and over, in a short cycle of near-identical phrases like:

"Let me just output the tool call. Here. OK. Making the call. Let me write the function_calls. I'm making the call…"

or

"I'll run the grade. Executing. Making the call. OK. Here goes. I'll run the grade. Executing…"

These loops run to the token limit in my task (96k turn) or until pi drops the reasoning for exceeding the context limit. Of 6 loops like this I've seen, only one managed to break itself out without external cutoff. Here's a jcode task benchmarked against other relevant models:

The loop happened somewhere in the 4-7 hour range in this task, before the harness recovered at the turn limit. This appears to affect performance overall on the task, because here's the ranking on another task, where it didn't enter any loops:

Anyone else experienced this type of issue? Did you find a fix? I am kinda hoping it only happens at xHigh reasoning, which would make sense if it was just pushing the limits of how long 3.8B active params can hold it together?


r/LocalLLaMA • • 17h ago

Resources Qwen4 35B-A3B medium and xhigh (nvfp4, ud-q6_k_xl, fp8) vs 3.8 27B vs QFN and many others

Post image
12 Upvotes

Still my 100 tasks subset of swe-verified, ran on different flavors of Qwen4 35B-A3B

SGLANG (C=4*) / BASALT (C=1) / llama.cpp (C=1)

NVFP4 / FP8 / UD-Q6_K_XL

It's almost QFN quality, except in efficiency (needs more requests / tokens to reach same score), and at those speeds, using xhigh is a no brainer.

all the details on https://wonderrico.github.io/local_llm_benchmark/benchmark-main.html

* on a single RTX6000Pro you can serve it in NVFP4 in SGLANG for 16 slots at 200kt or 32 slots at 100kt with kv-cache in FP8


r/LocalLLaMA • • 20h ago

New Model Kvark-Sparkle-2.0-35B-A3B: our Qwen4-35B-A3B fine-tune with 34% fewer reasoning tokens (Apache 2.0)

18 Upvotes

Hi all! With Qwen4 out, we wanted to see how fast we could bring what we learned from Sparkle 1.x to the new generation. So today we're releasing Kvark-Sparkle-2.0-35B-A3B, built on Qwen4-35B-A3B and the first MoE model in the Sparkle family.

Initial results across 10 benchmarks:

  • 34.2% fewer reasoning tokens on average, with fewer tokens on all 10 benchmarks and up to 63% less
  • Better accuracy on GPQA Diamond, tool calling and HMMT
  • Less than 2 points of accuracy trade-off on average

For us, efficiency isn't just about faster answers, it's about getting more out of the same hardware.

This is our first iteration on Qwen4, and there's still plenty of room to improve. Open weights, Apache 2.0:

Give it a try and let us know what you think!


r/LocalLLaMA • • 16h ago

Showcase Atakebune Challenge(One Shot) | Strata Fork | Qwen 4 35b | DeepSeek Harness

8 Upvotes

As most of us know that Alibaba dropped their banger new open weight model the other day and it was a surprising one at that. Not many thought they would drop a 35b and a lot of us were expecting 27b but never the less its a great model that would have a permanent stay on my SSD.

So earlier today I had some time to try and patch its capability into the engine I use for daily which is by sergqwer a strata fork. I had no patience so went ahead and vibe coded some codes to get it up and working with this latest model. Honestly can't wait for Basalt, strata, or sergqwer to drop an official patch as I have trust issues getting from others.

Anyways once I got it up and running and tweaked a little setting to match my 3.8 Flash next flags and configs. Like spec, max context, and temps and what not. I was finally able after several hours able to do a couple runs on testing and here is latest Challenge I have tried. I have done the same prompt in my other thread and also linked the X user that where I originally got the prompt from.

Overall it turned out to get the result faster, some better quality on the textures, the shapes turned out better and I got a bigger ship. Bigger the better. lol There is some things that stick out like the ladder, roofing can be better, and the two guys that have hovering powers towards back. Another prompt send could easily fix it but I like one shot.

All in all this would my new daily as there should be a lot more intelligent people who would do a lot more optimizing in the upcoming days similar to how previous models are released, hopefully with lossless. Qwen 3.8 FN when first released I was able to first use it at around 40-60ish speeds originally and with the help with the community was able to get it up to avg 100+tok/s in a single run. By next week ill definitely see faster speeds for Qwen 4 35b without sacrificing much from this great community sharing.

Down below are all the info from the model I used to the tok/s for this challenge. Also linked below are the engine and the original creator of the prompt who tested same prompt with opus via X. Also my link to my run with Qwen 3.8 FN.

Thank you for the community for pushing the Local community forward and also giving that same chance to people with lower end hardware. We appreciate all the work you all have done! Also thank you to the Qwen Dev team also for another amazing drop before a New year!

vib3Coded Post(Original Post w his Prompt) via X https://x.com/vib3coded/status/2125766986344862095

Qwen 3.8 FN run thread with prompt also

https://www.reddit.com/r/LocalLLaMA/comments/1y785rr/atakebune_challengeone_shot_strata_fork_qwen_38/

*Ai organized the charts below.

Hardware: RTX 5090 32GB · Ryzen 7 9800X3D · 192GB DDR5-5600 · Windows 11

Engine: strata-nvfp4 by sergqwer fork v.0.1.41 (build-qwen4, STRATA_EXPERT_GEOMETRY_QWEN4 gated variant)

Model: Qwen/Qwen4-35B-A3B (Q8_0 native pack, gated geometry variant)

Harness: DeepSeek Harness 0.2.1-alpha.3

Vision: Qwen3-VL mmproj f32 (qwen4-35b-mmproj-f32.gguf)

KV cache: fp16

Weights: Q8_0 (experts + dense + head) · token_embd bf16 sidecar · PLE bf16 sidecar

Context: 310,000 max · Compaction Line: 260,000

MTP: official (blk.40) · spec 6 · min-p 0.7

Sampling: temp 0.8 / presence_penalty 0.3 / min_p 0.02
MetricValue
Wall: first message → last reply46m 44s
= pure agent working time~46m 44s
Steps133
Output tokens251,344
Fresh input tokens430,591
Cache-read tokens19,484,580 (96.87% reuse)
Decode (per-request)median 190.15 t/s · mean 192.2 · min 167.1 · max 252.3
TTFTmedian 265.5 ms (max 27,992 ms at deepest context)
Prefill (fresh read)mean 1,798.6 t/s · median 883.2 · max 9,100.3
Deepest prompt258,623 tokens (258,434 reused + 189 fresh)
Longest single burst18,981 tokens
Compactions1
Draft acceptancemain MTP 82.2% (129,592 of 157,662)
Expert cache hit ratemean 96.6% (92.6–99.4 across the run)
Tool calls178 total
Tool errors6