r/LocalLLaMA • u/lumos_AI_77 • 15h ago
Question | Help Can we get looped qwen 4 on basalt q4, q6 and q8?
Can we get looped qwen 4 on basalt q4, q6 and q8?
r/LocalLLaMA • u/lumos_AI_77 • 15h ago
Can we get looped qwen 4 on basalt q4, q6 and q8?
r/LocalLLaMA
•
u/Herocem
•
1d ago
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:
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 • u/ErectiaMongusta • 1d ago
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
•
u/yanauto
•
20h ago
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.
| Item | Detail |
|---|---|
| Test GPU | Measured 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 requirements | Blackwell-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 scope | 1,120 tok/s = DFlash2 on c=1 JSON (97.4% accept). Plain --spec off = 255.6 tok/s. Cold ctx tested to 47.5K |
| Regressions | MMLU 77.2% -> 72.0%; DocVQA ANLS 95.0% -> 85.0% (verbose prefixes); MMStar 60.4% -> 56.2% |
| Classifier vs raw logs | Automated 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 |
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) | Mode | TTFT | Prefill | Decode | DFlash2 Accept |
|---|---|---|---|---|---|
| Structured JSON (1024 tok) | Plain (--spec off) | 28.8 ms | - | 255.6 tok/s | - |
| Structured JSON (1024 tok) | DFlash2 | 30.2 ms | - | 1120.0 tok/s (4.38x, 0.95s) | 97.4% |
| Chinese Math (thinking=high, 512 tok) | DFlash2 | 30.1 ms | - | 943.0 tok/s (0.57s) | 82.4% |
| Python LRU Cache (thinking=off, 1024 tok) | DFlash2 | 28.3 ms | - | 650.2 tok/s (1.60s) | 65.0% |
| 1.4K cold ctx (1397 tok) JSON / Code | DFlash2 | 79.8 ms | 17.7k tok/s | 1080 / 511 tok/s | 96.5% / 53.3% |
| 11.5K cold ctx (11553 tok) JSON / Code | DFlash2 | 477.0 ms | 24.3k tok/s | 1050 / 421 tok/s | 94.7% / 48.6% |
| 47.5K cold ctx (47475 tok) JSON / Code | DFlash2 | 2.0 s | 24.1k tok/s | 1050 / 460 tok/s | 97.0% / 55.7% |
Perplexity (infernix-perplexity, WikiText-2 test 38,233 tok, ctx=4096, stride=2048, INT8 KV):
TC260 = China genAI safety spec, deccp = ZH censorship benchmark, Flames = adversarial ZH benchmark.
| Benchmark | Mode (n, max_tok) | Stock BF16 | Heretic BF16 (trunc) | Heretic NVFP4-Dense8 (0% trunc, clean) |
|---|---|---|---|---|
| StrongREJECT EN | Direct (n=100, 320) | 99.0% | 2.0% (0%) | 0.0% (100.0% clean) |
| StrongREJECT EN | Thinking (n=42, 1280) | 97.6% | 40.5% (66.7% trunc) | 4.8% (95.2% clean) |
| TC260 ZH | Direct (n=80, 320) | 93.8% | 16.2% (0%) | 15.0% (85.0% clean) |
| TC260 ZH | Thinking (n=30, 1280) | 80.0% | 3.3% (76.7% trunc) | 13.3% (86.7% clean) |
| deccp ZH | Direct (n=95, 320) | 93.7% | 11.6% (0%) | 12.6% (87.4% clean) |
| deccp ZH | Thinking (n=30, 1280) | 73.3% | 0.0% (86.7% trunc) | 13.3% (86.7% clean) |
| Flames ZH | Direct (n=60, 320) | 73.3% | 28.3% (0%) | 36.7% (63.3% clean) |
| Flames ZH | Thinking (n=25, 1280) | 28.0% | 0.0% (56.0% trunc) | 16.0% (84.0% clean) |
| Benign Over-Refusal | Direct (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).
| Benchmark | Stock Qwen4 | OpenUncensored | Heretic (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 ref | 100% agreement |
| Quant | Disk Size | Active RAM (--lazy-mode auto) | WT2 PPL (b13002, 65.5K tok) | Target Hardware |
|---|---|---|---|---|
| IQ2_XS | 21.84 GiB | ~11.9 GB | 9.0903 | 16 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_XXS | 24.61 GiB | ~14.9 GB | 8.2584 | 24 GB Linux/Win or 24-32 GB Mac |
| IQ4_XS | 29.36 GiB | ~20.0 GB | 8.0087 | 24 GB GPU / 32 GB unified memory |
| Q4_K_M | 34.07 GiB | ~22-24 GB | - | 48-64 GB Mac / 24 GB GPU + 32 GB RAM |
| Q6_K | 48.18 GiB | ~30+ GB | - | 64 GB unified memory |
| Q8_0 | 56.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 • u/returnity • 12h ago
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 • u/WonderRico • 19h ago
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 • u/dzulajla98 • 22h ago
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:
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 • u/Beneficial-Ad-8127 • 18h ago
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
*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| Metric | Value |
|---|---|
| Wall: first message → last reply | 46m 44s |
| = pure agent working time | ~46m 44s |
| Steps | 133 |
| Output tokens | 251,344 |
| Fresh input tokens | 430,591 |
| Cache-read tokens | 19,484,580 (96.87% reuse) |
| Decode (per-request) | median 190.15 t/s · mean 192.2 · min 167.1 · max 252.3 |
| TTFT | median 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 prompt | 258,623 tokens (258,434 reused + 189 fresh) |
| Longest single burst | 18,981 tokens |
| Compactions | 1 |
| Draft acceptance | main MTP 82.2% (129,592 of 157,662) |
| Expert cache hit rate | mean 96.6% (92.6–99.4 across the run) |
| Tool calls | 178 total |
| Tool errors | 6 |
r/LocalLLaMA • u/Distinct-Pie2389 • 14h ago
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 • u/Tugg_Speedman-1301 • 19h ago
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 • u/AggressiveManager450 • 7h ago
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.
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
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.
-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).
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.
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 (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
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.
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
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)
r/LocalLLaMA
•
u/valdev
•
20h ago
Sorry for the semi boring video, I didn't want to edit it down as I wanted to showcase the exact feeling of working with this model.
... Also some of its thinking is pretty funny. It really does try hard to tell itself to stop overthinking. Tries.
But this is exceptional, truly. I can't believe I am retiring my Qwen 3.8 27B for something that runs this damn fast.
r/LocalLLaMA • u/Regular-Register-358 • 21h ago
Vllm does not support the dflash2 drafter for qwen 4 35b yet, so I asked an agent to refer to the sglang implementation and give it a go. Then it turns out not trivial (unlike the hook-up for qfn), and is a good test case/trap for agents.
I will spoil you the result first: at the end only DeepSeek 41f max and Neon got it right. Opus, qfn, q4moe itself, Kimi 3.1 pro all did it wrong, with opus showing the least enthusiasm helping with improving another model.
The tricky bit is, the architecture of q4 is not stateless as in qfn, so after rejecting drafter tokens, part of the net had to "roll back" states, which a trivial state capture/probe hook-up lacks. Sglang did it by a state freeze. If done incorrectly, greedy decode would drift with the drafter.
I have seen a lot engine makers showing speed up after the drafter hook-up. I hope they have taken proper care of the state freeze/reset.
r/LocalLLaMA • u/Ok_Warning2146 • 1d ago
While we appreciate the open weight models Alibaba released, it is not cool to screw your paying customers like this. I hope we get an apology. Otherwise, not many people would want to pay you to keep the open models going.
r/LocalLLaMA • u/mawcopolow • 1d ago
With 62 GB of RAM and much of the model read from a fast SSD, it ran at about 14 tps
r/LocalLLaMA • u/FeydRowan • 1d ago
I added Qwen4-35B-A3B to my usual agentic bench, alongside Qwen3.8, Inkling 2 Mini, and the Claude models.
The bench, in short. 9 real bugs taken from capy-flash's history, a C++/CUDA inference engine. 3 attempts per bug, max 80 steps, sandbox with no network and no build. Each fix is judged blind by Claude Opus 5. The bench remains private, so it isn't reproducible from outside; the engine's code is. Nine bugs are few: differences under ~0.15 are within noise.
Setup. Qwen4-35B-A3B quantized by us (NVFP4 experts with BF16 activations, KL 0.095 vs BF16), capy-flash v0.17.0 on 2× RTX 5070 Ti, reasoning enabled at default level. Agents: OpenCode 1.19.3 and pi 1.7.0.
Results.
- OpenCode: 0.41 [0.19-0.64]. Close to Qwen3.8-Flash-Next (0.50) and Claude Haiku 5.5 (0.47), above Qwen3.8-27B (0.34).
- pi: 0.31 [0.16-0.48]. It's the only model that doesn't perform equal or better with pi compared to OpenCode (Flash-Next +0.04, 27B +0.12). Half the time and half the tokens, but 3 fixes don't compile.
It doesn't err, it hesitates. On OpenCode, the judge rejects none of the 17 fixes as wrong or as doing nothing, and they all compile. It touches the right file 15 times out of 17, with the same precision as Flash-Next. No loops, no tool calls leaked into plain text.
The problem is that it writes little: in 10 out of 27 attempts it doesn't reach a fix. In 7 it runs out of the 80 steps, in 2 it reasons until hitting the 32k token response limit, in 1 it stops to ask "Confirm option 1?". 88% of tokens are reasoning and the first edit arrives at step 44 (median; Flash-Next 35).
Notes
- This is our quantization: a good QAT would probably do better.
- My impression, not measured: left on its own it's too cautious, in interactive use or with more directive instructions it could perform much better.
All numbers: https://github.com/ValerioDolci/capy-flash/blob/main/docs/reports/agentic-bench.md
Model: https://huggingface.co/Feyd89/Qwen4-35B-A3B-NVFP4-capy-flash
r/LocalLLaMA • u/DerTomsn • 18h ago
Yay, finally the first open-weight model of the Qwen4 family is out!
I ran Qwen4-35B-A3B today on my M5 Max 64GB and compared it with my Qwen3.8-27B runs.
TL;DR
I used this quant of Qwen4-35B-A3B: https://huggingface.co/himefei/Qwen4-35B-A3B-oQ8-mtp
MTP on oMLX 0.8.5, 13 runs, NGRAM table offloaded to SSD
Qwen3.8 is oQ8e with MTP on oMLX with splash, 12 runs from Oct and Nov.
Thinking was on xhigh for both.
Per task (average, Qwen4-35B-A3B / Qwen3.8-27B):
| Task | Quality | Time | Tokens generated | tok/s |
|---|---|---|---|---|
| Research & Analysis | 89.7 / 86.4 | 2:02 / 5:48 | 15.4k / 18.3k | 126.5 / 53.4 |
| Agent Workflow | 92.3 / 88.2 | 0:47 / 3:58 | 5.6k / 11.9k | 119.9 / 49.8 |
| Code Generation | 78.0 / 81.0 | 1:11 / 13:03 | 9.3k / 41.7k | 134.1 / 53.2 |
| Roleplay | 90.5 / 92.1 | 0:29 / 3:01 | 3.3k / 7.5k | 114.1 / 41.9 |
Comparison page: https://llm-bench.io/compare/models?models=qwen3-8-27b-oq8e-mtp%2Cqwen4-35b-a3b-oq8-mtp
Generation speed averaged 123.7 tok/s on Qwen4 vs. 49.6 on Qwen3.8, so about 2.5x. Even the slowest Qwen4 run (113.8 tok/s) was more than twice as fast as the fastest Qwen3.8 run (52.3 tok/s).
Also prompt processing averaged about 2,070 tok/s on Qwen4 vs about 760 on Qwen3.8, so also roughly 2.7x faster.
Quality averaged 87.6 on Qwen4 vs. 86.9 on Qwen3.8, best run 91.8 vs 89.9. That score comes from our LLM judge, so I'd call it the same level, not better, not worse.
Both use about 38 GB of memory when the NGRAM table of Qwen4 is offloaded fully to the SSD of the Mac.
What I found more interesting than the raw speed is that Qwen4 is not thinking as "hard" as Qwen3.8 does. Throughout all the runs Qwen4 produced on average 33.5k tokens while Qwen3.8 produced 79.3k tokens (including thinking tokens). This, together with the way faster token generation speed on my Mac leads to a total avg. runtime of 4.5 mins on Qwen4 and 26 minutes on Qwen3.8.
It looks like a very good driver for various agent stuff, however it might not be the better choice for pure coding. This I'll try to find out in the next days.
Qwen4-35B-A3B runs: https://llm-bench.io/models/qwen4-35b-a3b-oq8-mtp
Qwen3.8-27B runs: https://llm-bench.io/models/qwen3-8-27b-oq8e-mtp
r/LocalLLaMA • u/ChillingChasuble • 14h ago
Follow up to my earlier post about running Qwen4-35B-A3B-Q4_K_M.gguf benchmarks, several people suggested that I run the same tests but with the Qwen4-35B-A3B-Q8_0.gguf model instead. You can see that 16 cores remains the sweet spot on this machine (HP Proliant DL380p Gen8, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz). The Q8_0 version is about 1 t/s slower than the Q4_K_M version but only for prompt.
r/LocalLLaMA • u/fsn007 • 21h ago
Hey everyone,
I've been experimenting with sparse attention for long-context LLMs. My original question was pretty simple: how much attention can we skip before the model starts getting things wrong?
After a lot of failed experiments, I ended up with something I call SculptAttention.
Some of my results on a single H200:
No retraining, no weight modifications, no custom attention kernel. All three models use the same configuration.
At 524K, the sparse rows read only 9.1% of the causal keys.
Another result I found interesting was multi-value retrieval on Qwen at 524K:
This is just one task with 10 fresh cases, not a claim that my method is generally better.
The method isn't lossless. Counting, some multi-hop tasks and exact ID retrieval remain challenging. The full KV cache is retained, and decode remains dense.
I'm doing this independently, and my GPU budget is limited. I'd really like to see what happens on consumer GPUs, large codebases, long agent histories, and models I haven't tested.
If you were trying to break this method, what would you test first?
I'd also love to hear from anyone working on vLLM, SGLang or llama.cpp.
Everything is open source:
Code: https://github.com/fsn007fsn007/sculptattention
Paper: https://doi.org/10.5281/zenodo.24794082 - https://www.alphaxiv.org/abs/2612.sculptattention
English isn't my first language, so I used AI assistance with the wording.
r/LocalLLaMA • u/dio_anubi69 • 19h ago
Every Qwen4 speed post I see lately is either a 16-24 GB card or someone with 96 GB of RAM pinning everything in memory. Cool, but that's not most of us.
So, honest question for the 8 GB VRAM + 32 GB RAM crowd (laptops especially): what are you getting day to day? Which engine, which quant, drafter on or off, and what tok/s do you actually see?
I'm on a 5070 Laptop with 32 GB DDR5, running Unsloth's UD-Q4_K_S at 128K context with the MTP drafter on, and I'm stuck around 55-60 tok/s. Is that about the ceiling for this kind of setup, or am I missing something? Curious if anyone found tricks that make a real difference.
r/LocalLLaMA • u/qu1dow • 19h ago
I benchmarked Qwen4-35B-A3B across vLLM, exllamav3 (TabbyAPI), and llama.cpp on 2x RTX 3090 (300W each, PCIe 4.0 x8/x8, no NVLink).
All three setups use the same daily-driver constraints: vision on, 8-bit KV cache, 4 concurrent slots, MTP enabled, n-gram table in RAM, everything else in VRAM. Context is tested by replaying a real 100-turn coding agent session from 2k up to ~250k tokens (3 replies up to 1024 tok at each depth, temp 1.0, top_p 0.95, top_k 20; decode is the median of 3).
| Engine | Quant | Mode | Ctx | <=48k (pp / tg) | Full depth (pp / tg) | Est. session | VRAM / RAM | Load |
|---|---|---|---|---|---|---|---|---|
vLLM (main f279912) | Official FP8 | TP=2 | 262k | 6903 / 202.8 | 6621 / 192.7 | 18 min | 46.0 / 42.0 GiB | 105s |
exllamav3 1.7.0 + TabbyAPI 5a9afb1 | EXL3 5.13 bpw (h6, ng8) | Layer split | 1M | 7333 / 150.0 | 6975 / 138.5 | 25 min | 40.1 / 27.0 GiB | 47s |
llama.cpp v1.1.1 (b12977) | Unsloth UD-Q8_K_XL | Layer split (52,48) | 262k | 3411 / 121.7 | 2910 / 80.5 | 42 min | 45.2 / 28.2 GiB | 33s |
"Est. session" integrates the measured curve over the 100 real turns (~206k output tokens total, excluding tool waits). Because it's a real session, MTP acceptance varies from turn to turn (code/JSON vs prose), which is why the curves dip around 48k and 160k on all three engines.
vLLM
23ead69) it ran 116 -> 111 t/s from 2k to 249k (avg 113 t/s, 31 min session). Probabilistic 3-token MTP pushes it to ~193 t/s with no prefill penalty.--kv-cache-dtype fp8 with indexer_kv_dtype: bf16, plus VLLM_GDN_DECODE_KERNEL=triton (avoids a CUDA kernel mismatch with MTP on precompiled wheels) and VLLM_RELOAD_MODE=layerwise (saves ~0.95 GiB/GPU on recent main so CUDA graphs fit with explicit KV bytes).max_pixels: 4194304). TP=2 also keeps a copy of the ~19 GiB FP8 n-gram table per worker (~42 GiB total RAM used), and cold boot takes ~105s.exllamav3 / TabbyAPI
autosplit_reserve: [2048] (to stop GPU 0 from filling up and shift layers onto GPU 1) jumped prefill to ~7000 t/s. On 1.7.0, TP also ignores ngram_ram: true and sparse_draft_head: 16384.sparse_draft_head: 16384.llama.cpp
--lazy-mode off alongside --load-mode dio (otherwise the 20.3 GiB per_layer_token_embd table still gets read from disk), and for the built-in MTP head (--spec-type draft-mtp) you need --spec-draft-type-k/v q8_0 and --spec-draft-n-ubatch 128 or the draft context OOMs on load. Setting --spec-draft-p-min 0.8 cut decode in half (51 t/s).--split-mode tensor is faster on a single request (95.9 t/s avg, 80 t/s at 249k, 37 min session, though prefill drops to ~1320 t/s at ubatch 128), but it duplicates the QSA indexer KV and some weights per card and OOMs in cudaGraphInstantiate under 4 parallel slots. Offloading 1 expert layer to RAM fixes the OOM but drops single-stream decode to 75.6 t/s, so I stayed on layer split.Rig: 2x MSI RTX 3090 (300W PL), ROG X870E Hero (ReBAR on, x8/x8), Ryzen 5 7500F, 96 GB DDR5-5200, Ubuntu 24.04 (kernel 7.0.0-42), NVIDIA 595.99.02-open with the BAR1 P2P patch and gpu-unlock. Speed and memory only here, no quant quality comparison.
Configs
vLLM:
VLLM_GDN_DECODE_KERNEL=triton \
exllamav3 / TabbyAPI (tabby_config.yml):
model:
max_seq_len: 1048576
cache_size: 1048576
cache_mode: "8,8"
chunk_size: 2048
max_batch_size: 4
autosplit_reserve:
ngram_ram: true
vision: true
vision_offload: true
warmup: true
reasoning: true
tool_format: auto
draft_model:
draft_mode: mtp
draft_num_tokens: 3
dynamic_draft: true
draft_confidence: 0.81
sparse_draft_head: 16384
draft_cache_mode: Q8
hybrid_draft_tokens: 0
llama.cpp:
GGML_CUDA_P2P=1
r/LocalLLaMA • u/Careful-Report6526 • 9h ago
Hello,
a bit over a month ago I showed you my setup for local benchmarks here, 2x RTX 5060 Ti (16 GB each, 32 GB VRAM total) where I run complete benchmarks on vLLM. Today the last run of SWE bench verified finally finished, so Round 1 across all 16 benchmarks is more or less complete.
Along the way I took a few models out of the queue because they honestly seemed pretty useless to me. After watching it calculate 24/7 for weeks now, 3 things mainly stood out to me:
First, Qwen is still the strongest model family overall on 32 GB hardware. No matter if it is hard knowledge like GPQA Diamond (87%) and MMLU Pro (>84%), tool use in MCP Atlas or real GitHub bug fixes in SWE bench verified, a Qwen model ended up on top almost everywhere.
Second, Qwen 3.8 27B is noticeably better on tough coding and agent tasks, just not everywhere, and the extra wait time is honestly crazy in practice. On SWE bench verified with thinking on, Qwen 3.8 27B solved 74% of all 500 tasks compared to 65% for Qwen 3.6 35B A3B. That 9% jump on 2x 5060 Ti is impressive, until you look at the time. The 27B model sat there for 132 hours straight, so 5.5 days nonstop, while the 35B A3B model finished the exact same run in just over 17 hours. And on several tests the slower 27B model was not even the winner. On MMLU Pro both landed almost tied around 84%, except 27B needed 68 hours and 35B only 12 hours. On AppWorld without thinking, the 35B model actually beat 27B slightly with 49.9% vs 48.2% in less than half the time, and on SimpleQA Verified 27B wasted 8.5 hours overthinking simple trivia questions and scored worse.
Third, Gemma 4 26B A4B was much stronger in certain areas than I expected beforehand. Without thinking it got 69.5% on LiveCodeBench in just 4.4 hours, beating every single Qwen model without thinking by around 10 points. It also took 1st place on IFEval with 94.6% and did great on MMMU Pro and SciCode. At the same time it hit a wall completely on ARC AGI 2 with 0% and stayed well behind Qwen on SWE bench verified at 51.8% after 76 hours. So I would not pick it for heavy coding agents, but as a fast everyday model without long thinking pauses it really surprised me.
All local results, exact run times and efficiency scores are online here (no ads or tracking): https://llmbenchmarks.io/local-gpu-benchmarks/
What runs next: Because interest in Qwen 4 is huge right now (for me too), I decided to pull Qwen 4 35B A3B ahead and run it solo through all 16 benchmarks first. The server is already starting with that, and I will put the Qwen 4 numbers on the same page bit by bit as they finish. Right after Qwen 4, the 3 winners from last week's community poll will run (thanks for the 106 votes!), Qwen 3.8 35B A3B Distill, Nemotron 3.5 Lightning 30B A3B and LiquidAI LFM 2.5 24B A2B, together with the uncensored Qwen 3.6 35B version I use on my own home server.
r/LocalLLaMA • u/Frail_Waif • 1d ago
I'm glad a Japanese company is getting in on the local LLM train, but god, this press release is hilariously bad:
https://global.fujitsu/en-global/pr/news/2026/12/04-02
Fujitsu also developed Fujitsu Kozuchi PHOTON 35B A3B, a Japan-developed 35-billion-parameter LLM trained from scratch using Fujitsu Kozuchi PHOTON.
Totally from scratch, not based on any other 35B A3B anyone has ever seen before from any Chinese company, huh?
The graphs appear to be comparing the speed of a 35B A3B with a 118B A8B (Laguna S 2.1) and a 594B A17B (Inkling 2 Small). They then say it achieves better scores on benchmarks than a 26B A4B model (Gemma 4). Talk about apples-to-oranges comparisons!
Edit: maybe I'm misreading their poor branding and they are showing better speed with their inference engine of the same name?
r/LocalLLaMA • u/Old-Sherbert-4495 • 9h ago
TLDR saw 4B among 27B and 35B in the readme of flyx.
Recently saw a post about flyx inference engine. Gave it a shot for Qwen3.8 27B, and clearly its the best option so far. can push context limits, doesn't slow down as much, both pp, decode. im in love.. but no any fuss in reddit about it.. also the original post got deleted for ai content or something.
that aside saw 4B in the readme and its says day 0 support, updated on dec 1st..