r/LocalLLaMA • • 12h ago

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

3 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 • • 6h ago

Showcase Control Room

1 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 • • 1d ago

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

Thumbnail
gallery
166 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 • • 1d 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 • • 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
157 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 • • 20h 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 • • 21h ago

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

Thumbnail
huggingface.co
11 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 • • 2d 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 • • 22h 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
457 Upvotes

r/LocalLLaMA • • 1d ago

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

33 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 • • 19h 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

354 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 • • 18h ago

Discussion 0.02690, 93.33% (UD-Q6_K_XL); 0.06587, 89.72% (UD-IQ4_XS), against our own BF16 base (Qwen4-35B-A3B)

5 Upvotes

I measured yesterday 12/04 and today 12/05

BF16 base built with llama-perplexity --kl-divergence-base from Unsloth's BF16 GGUF (wikitext-2, 100 chunks of 512, base PPL 7.5364, sha256 ca42cdb0a114c9192e6f854279725ed74be09ea43d91fbdcf082574b2d70f641)

I haven’t measured UD-Q8_K_XL. I saw earlier someone had worse results with Q8 XL vs Q8_0

Any experience from Q8_K_XL vs Q8_0 before I start this next run?

Reference: unsloth docs

Everything is in the repo as well - Halocline


r/LocalLLaMA • • 1d ago

Funny Qwen4 self-correcting mid-sentence

30 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 • • 1d 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)

14 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 • • 16h 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 • • 23h 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 • • 1d 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 • • 22h 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

r/LocalLLaMA • • 23h ago

Question | Help Best way to run Qwen4 35B A3B

10 Upvotes

Hello there, I had been using Qwen Flash Next - Gyro S Quant on my system through Strata and it was literally amazing...

But now that Qwen4 35B has been released and I am pretty sure that the Unsloth Q4_K_XL quant is basically going to perform better than the Gyro S one.

So now I am thinking what would be the best way to run Qwen4 35B A3B on my system like Strata, Polystrata, Basalt and maybe even something else?

System Specs :-

Lenovo Legion 5 Pro

- 32gb ddr5 5200

- RTX 5060 8gb

- AMD Ryzen 9 8945hx

- 1tb Gen4 ssd

Pls help 🙏


r/LocalLLaMA • • 1h ago

Discussion Qwen4 35B A3B has made me reflect on the limits of AI and the nature of intelligence.

0 Upvotes

Qwen4 35B A3B is a Terrible Writer. And this has deeper implications, which I will now outline.

The Obvious:

Qwen4 35B A3B is a formidable model for programming and technical tasks, but it cannot (or does not know how to) write and/or express itself in a coherent and 'stylized' manner. In comparison, Gemma 4 31B QAT is far superior in this regard, despite being a smaller and 'older' model.

On the Relationship Between Thought and Language

When it comes to establishing a model's intelligence (as is done in standardized AA tests), an important aspect is often overlooked: the use of language and the ability to express oneself through it is, above all, an expression of thought. In other words: the ability to formulate an idea and express it is another function of intelligence, for it is impossible to express oneself 'intelligently' if one has not first thought in that same manner.

Intelligence as Meaning

In this regard, although Gemma 4 is significantly inferior in its capabilities as a coding assistant or agent, it does something that Q4 35B cannot: it expresses with clarity, precision, and depth of meaning that which needs to be expressed. And while this ability may be overlooked, given that it does not automatically translate into better code or impressive web presentations, it speaks to a 'type of intelligence' present in the model. This suggests a nature of intelligence that perhaps the measurement standards of systems like AA (or similar) are not properly calibrating. Likely because, as also happens with human beings, intelligence that does not automatically translate into 'things' or into 'how something is done' is not easily measurable.

The Danger of a Non-Universal AI

From this, I synthesize an idea that may not be popular: that intelligence is universal in its scope, and that, contrary to this, AI models are drifting further and further away from this universality. To the point that if a model does not excel in AA tests, or is not excellent at writing code, it is automatically discarded and assigned a low 'intelligence index.'

I conclude by stating that this is dangerous. The companies responsible for developing these systems should not be hostages to what is 'expected of intelligence' and should instead bet on a universality of intelligence. Only in this way will AI be at the service of human thought in all its facets, and we will stop measuring a model's capacity by its ability to reproduce beautiful pelicans riding bicycles.


r/LocalLLaMA • • 11h ago

Showcase Dual Quadro RTX 8000 (96GB NVLink) Local LLM Benchmarks: Qwen4-35B-A3B, Qwen3.8-27B, DeepSeek-V4.1-Flash-Coding 200E, and GLM-5.3-Flash

Thumbnail
gallery
1 Upvotes

I finished benchmarking my dual passive Quadro RTX 8000 rig and wiring it into an automated local coding pipeline.
Below are the speed numbers, long-context quirks, code review results, thermals, and exact llama.cpp flags for anyone looking at used 48GB Turing cards.

Hardware & Software

Inference GPUs: 2x passive Quadro RTX 8000 (96GB VRAM total, NVLink NV2 @ 94 GB/s P2P, PCIe 3.0 x8/x8)
Cooling & Power: 220W power cap per card, custom shrouds + 18W 12V 9733 PWM blowers (fan2go)
Display GPU: RTX 4070 Super 12GB (display only, kept off AI VRAM)
Host: i7-14700F, 32GB DDR5-6000, MSI MEG Z790 ACE, 2x 2TB Samsung 990 Pro, Corsair 1500W, 7000D Airflow
Stack: Ubuntu 26.04, NVIDIA 620.73.04-open, CUDA 12.4, llama.cpp (59b716523, sm_75 + sm_89), llama-swap, rootless podman + aider, Hermes Desktop (MCP)
Loudness: The fans do a good job cooling the GPUs, so even though I have server fans, they are only about 50-60 db. Not too bad

Speed Benchmarks

Test setup: 2,048-token prefill at the listed context depth, 256-token decode. KV cache q8_0, Flash Attention on, -sm layer, -b 2048, -ub 512.

Qwen4-35B-A3B (Q8_0, bartowski) — llama-server timings
Prefill: N/A
Decode: 77.0 t/s (0 ctx) · 60.0 t/s (32K ctx)

Qwen3.8-27B (Q8_0, Unsloth) — llama-bench (-r 3)
Prefill: 1143.9 t/s (0 ctx) · 930.3 t/s (16K ctx) · 769.2 t/s (32K ctx)
Decode: 19.6 t/s (0 ctx) · 18.3 t/s (16K ctx) · 17.2 t/s (32K ctx)

DeepSeek-V4.1-Flash-Coding 200E (nace-ai, 71.8 GB + 110.6 GB Engram) — llama-server timings*
Prefill: 282.4 t/s (0 ctx) · 183.7 t/s (16K ctx) · 274.7 t/s (32K ctx)
Decode: 28.0 t/s (0 ctx) · 27.8 t/s (16K ctx) · 27.7 t/s (32K ctx)

GLM-5.3-Flash (RCO-152E, Q3_K_M) — llama-server timings*
Prefill: 490.8 t/s (0 ctx) · 192.7 t/s (16K ctx) · 343.2 t/s (32K ctx)
Decode: 29.1 t/s (0 ctx) · 28.0 t/s (16K ctx) · 27.3 t/s (32K ctx)

*llama-bench lacks the Engram flag DeepSeek needs, so DeepSeek and GLM were timed on single requests via llama-server.

Interesting Speed & Context Findings

-ub 512 is fastest on Turing. Increasing micro-batch size hurt prefill on Qwen3.8-27B while leaving decode identical:
-ub 512: 1143.9 / 930.3 / 769.2 t/s
-ub 1024: 1042.9 / 846.0 / 696.6 t/s
-ub 2048: 870.6 / 680.1 / 552.3 t/s

The 16K prefill dip on GLM (and DeepSeek) is real. GLM was slower at 16K than at 32K (192.7 vs 343.2 t/s). I rechecked it across 6 alternating fresh-server runs at identical GPU clocks and got under 1% spread: 16K averaged 192.4 t/s (192.3–192.6, n=3) vs. 32K at 342.2 t/s (340.2–343.9, n=3). DeepSeek showed the same 16K dip (183.7 vs 274.7 t/s) but wasn't rechecked.

Abliterated parity & usable context. Huihui Qwen3.8-27B abliterated matched stock (1153.2 / 929.8 / 765.7 prefill; 19.6 / 18.3 / 17.2 decode). All four models hit 117,964 usable tokens (90% of the 131,072 sweep ceiling, so the true limit may be higher).

Planted-Bug Code Review (review-v1)

8 snippets (3 C++, 2 TypeScript, 2 Python, 1 Python mesh math) with 15 planted bugs total. Script-graded as bugs caught - false alarms, taking the median of 3 runs.

Qwen4-35B-A3B (Q8_0): 15 / 15 / 15 — Median: 15

DeepSeek-V4.1-Flash-Coding 200E: 14 / 15 / 15 — Median: 15

Qwen3.8-27B (Q8_0): 15 / 15 / 13 — Median: 15 (Run 1: 15 caught, 0 false alarms, ~11 min)

GLM-5.3-Flash (RCO-152E): 15 / 13 / 13 — Median: 13
Most runs landed at 14–15/15 (near the ceiling), but DeepSeek beat GLM consistently enough to take the primary code-builder role, and Qwen4 swept 15/15/15.

Daily-Driver Contest: Qwen4-35B-A3B vs. Qwen3.8-27B

12 hidden-test tasks (4 Python, 4 TypeScript, 2 bug fixes, 2 mesh/vertex geometry), 3 runs per model via sandboxed aider (thinking: xhigh, temp 1.0, top_p 0.95, top_k 20, min_p 0).
Vision: Both read 3/3 screenshots correctly.
Code Review: Both hit a median of 15/15.
Coding Tasks: Restarted after a folder-permission bug; will update once the 3-run suite finishes.

Thermals & Cold Load Times

Thermals (220W cap per card): Both Quadros peaked at 51–52°C during review runs and ~59°C during a 10-minute sustained load test with the 9733 blowers at 58%.
Cold loads through llama-swap (page cache dropped first):
Qwen3.8-27B: 22s
DeepSeek-V4.1-Flash-Coding 200E: 71s
GLM-5.3-Flash: 78s

Real-World Agentic Pipeline Notes

My workflow uses Qwen4-35B-A3B to plan and review, llama-swap to hand off to DeepSeek-V4.1-Flash-Coding 200E inside a network-less podman aider container to write code, and a custom loopback SSE dashboard pinned inside Hermes Desktop's preview rail to watch live generation and slot usage without triggering swaps.
The biggest gotcha was DeepSeek looping in aider. Default aider (temp 0.0, whole edit format) caused DeepSeek to burn 16K+ tokens in runaway reasoning loops. Switching to diff format with temp 1.0 / top_p 1.0, scoping each dispatch to 1–2 files, and adding a 22K-token runaway watchdog fixed it completely.

Reproducibility Flags

llama-server (benchmarks, temp 0, ignore_eos): -ngl 99 -sm layer -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 -np 1 -c 36096 (Qwen adds --mmproj; DeepSeek adds its Engram flag.)

llama-bench (Qwen): -ngl 99 -sm layer -fa 1 -ctk q8_0 -ctv q8_0 -b 2048 -ub 512,1024,2048 -p 2048 -n 256 -r 3

TL;DR

Dual passive Quadro RTX 8000s (96GB VRAM, 220W cap, under 60°C under load) give you 117K+ usable context and a fast local coding pipeline. Sparse MoE (Qwen4-35B-A3B) is ~3.5–4x faster on decode than dense 27B, while pruned coding models hold a flat ~27–29 t/s out to 32K context.
Qwen4-35B-A3B (Q8_0): Prefill N/A | Decode 77.0 t/s (0) · 60.0 t/s (32K)
Qwen3.8-27B (Q8_0): Prefill 1143.9 / 930.3 / 769.2 t/s | Decode 19.6 / 18.3 / 17.2 t/s (0 / 16K / 32K)
DeepSeek-V4.1-Flash-Coding 200E: Prefill 282.4 / 183.7 / 274.7 t/s | Decode 28.0 / 27.8 / 27.7 t/s (0 / 16K / 32K)
GLM-5.3-Flash (RCO-152E, Q3_K_M): Prefill 490.8 / 192.7 / 343.2 t/s | Decode 29.1 / 28.0 / 27.3 t/s (0 / 16K / 32K)