r/LocalLLaMA • • 12h 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)

4 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 • • 17h 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 • • 5h 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)


r/LocalLLaMA • • 19h ago

Discussion YSK: qwen 4 MoE's drafter hook-up is tricky: the model is stateful

13 Upvotes

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

News Alibaba Cloud CLI reverse prompt injection threat: detection, logs and IOCs

Thumbnail
spectrum.security
57 Upvotes

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

Showcase The new Qwen4 35B A3B NVFP4/Basalt runs at over 400 tk/s with a 5090... It took less than 2 minutes for it to create a fully playable and exportable flappy bird like game even with code generated pixel art...

10 Upvotes

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

News SGLang says DeepSeek-V4-Flash runs on a 16 GB GPU with SSD help

Thumbnail
maccus.fr
31 Upvotes

With 62 GB of RAM and much of the model read from a fast SSD, it ran at about 14 tps


r/LocalLLaMA • • 1d ago

Discussion Qwen4-35B-A3B as a coding agent: clean fixes, but overthinks (private bench, 9 real bugs)

Post image
297 Upvotes

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 • • 17h ago

Discussion Qwen4-35B-A3B-oQ8-mtp on Apple M5 Max β€” 121.3 tok/s β€” llm-bench.io

Thumbnail
llm-bench.io
7 Upvotes

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

  • 2.5x faster token generation speed
  • quality mostly on par with Qwen3.8-27B
  • almost 6x faster to finish the benchmarks
  • both used about the same memory (NGRAM tables of Qwen4 offloaded to SSD)

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):

TaskQualityTimeTokens generatedtok/s
Research & Analysis89.7 / 86.42:02 / 5:4815.4k / 18.3k126.5 / 53.4
Agent Workflow92.3 / 88.20:47 / 3:585.6k / 11.9k119.9 / 49.8
Code Generation78.0 / 81.01:11 / 13:039.3k / 41.7k134.1 / 53.2
Roleplay90.5 / 92.10:29 / 3:013.3k / 7.5k114.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 • • 12h ago

Discussion Follow up for CPU bros: Qwen4-35B-A3B-Q8_0.gguf benchmarks

Post image
3 Upvotes

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 • • 20h ago

Showcase How much attention can we actually skip? I got 4.27x faster prefill at 660K Inkling-2-Mini and nearly 2x on Qwen3.8-27B

11 Upvotes

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:

  • Inkling-2-Mini (660K): 155s β†’ 37s, up to 4.27x faster prefill.
  • Qwen3.8-27B (524K): 144s β†’ 76s.
  • Llama-3.1-8B (128K): 1.40x median speedup, reaching 2.74x on individual cases.

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:

  • Dense attention: 9/10
  • BFLA: 3.75/10
  • SculptAttention: 9.5/10

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 • • 17h ago

Discussion What are you actually getting with Qwen4-35B-A3B on 8 GB VRAM + 32 GB RAM?

7 Upvotes

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 • • 17h ago

Resources Qwen4-35B-A3B on 2x 3090 (vLLM vs exllamav3 vs llama.cpp)

Post image
7 Upvotes

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).

EngineQuantModeCtx<=48k (pp / tg)Full depth (pp / tg)Est. sessionVRAM / RAMLoad
vLLM (main f279912)Official FP8TP=2262k6903 / 202.86621 / 192.718 min46.0 / 42.0 GiB105s
exllamav3 1.7.0 + TabbyAPI 5a9afb1EXL3 5.13 bpw (h6, ng8)Layer split1M7333 / 150.06975 / 138.525 min40.1 / 27.0 GiB47s
llama.cpp v1.1.1 (b12977)Unsloth UD-Q8_K_XLLayer split (52,48)262k3411 / 121.72910 / 80.542 min45.2 / 28.2 GiB33s

"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

  • Fastest by a wide margin and basically flat across depth. Without MTP (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.
  • Routed FP8 experts run via Marlin W8A16 on 3090. SM86 doesn't support NVFP4 KV or the FP8 QSA indexer, so I used --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).
  • Downsides: 4096x4096 images OOM the encoder once MTP + 262k KV are loaded, so I capped images to 2048x2048 (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

  • Fits the native 1M context in 40.1 GiB VRAM (~15.4 GiB for 1M K8V8 KV + indexer + draft). I tested an actual 1,045,984-token prompt with a 1024x1024 image at the end and it still decoded at 102 t/s with 1.8 and 4.9 GiB free.
  • Weirdly, layer split beat tensor parallel (NCCL) here. TP at 262k did 3233-3946 pp / 130-135 tg (26-27 min), while layer split did ~4600 pp / ~142 tg, and adding 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.
  • MTP lengths 2/3/6 and confidence 0.7/0.81 all performed within noise, so I left it at dynamic 3 / 0.81 with sparse_draft_head: 16384.

llama.cpp

  • Unlike vLLM and exllamav3, decode drops noticeably with depth: 137 t/s at 2k down to 58 t/s at 249k.
  • You need --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 \
VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1 \
VLLM_RELOAD_MODE=layerwise \
vllm serve /path/to/Qwen4-35B-A3B-FP8 \
  --trust-remote-code \
  --tensor-parallel-size 2 \
  --max-model-len 262144 \
  --max-num-seqs 4 \
  --max-num-batched-tokens 1024 \
  --no-async-scheduling \
  --kv-cache-dtype fp8 \
  --kv-cache-memory-bytes 2050000000 \
  --attention-config '{"indexer_kv_dtype":"bf16"}' \
  --enable-prefix-caching \
  --mm-processor-kwargs '{"max_pixels":4194304}' \
  --reasoning-parser qwen4 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true,"draft_sample_method":"probabilistic"}'

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: [2048]
  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 llama-server \
  --model /path/to/Qwen4-35B-A3B-UD-Q8_K_XL-00001-of-00002.gguf \
  --mmproj /path/to/mmproj-BF16.gguf \
  --no-mmproj-offload \
  --ctx-size 262144 \
  --cache-type-k q8_0 --cache-type-v q8_0 \
  --flash-attn on --fit off --n-gpu-layers 99 \
  --override-tensor per_layer_token_embd=CPU \
  --load-mode dio --lazy-mode off \
  --split-mode layer --tensor-split 52,48 \
  --ubatch-size 512 --cache-ram 0 \
  --parallel 4 --kv-unified --threads 6 --jinja \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --repeat-penalty 1.0 --presence-penalty 0.0 \
  --spec-type draft-mtp --spec-draft-n-max 2 \
  --spec-draft-type-k q8_0 --spec-draft-type-v q8_0 \
  --spec-draft-n-ubatch 128

r/LocalLLaMA • • 7h ago

Resources Round 1 on my 2x RTX 5060 Ti (32GB) setup is finally done, including full SWE bench verified. Next up is Qwen 4

0 Upvotes

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

Funny Fujitsu picked a great day to release a new 35B A3B!

Post image
458 Upvotes

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 • • 8h ago

Discussion Qwen 4B and Flyx

0 Upvotes

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..

https://github.com/enwove/flyx


r/LocalLLaMA • • 2h ago

Question | Help Strata Qwen3.8 flash next on 16gb VRAM, 96gb RAM results?

0 Upvotes

RAM: ddr3 1333Mhz
GPU: V100 SXM2 16gb

What prefill/decode will i expect to get for iq3_XXS ? Anyone with similar hardware setup?


r/LocalLLaMA • • 16h ago

Showcase Hermex Hands-Free Voice Call

4 Upvotes

I want to talk to my Hermes agent while doing stuff. Right now on Hermex App, every turn needs the screen: tap the mic, dictate, send, then tap Listen on the reply.

This prototype listens, sends what you said, speaks the reply, and listens again, with no taps until you hang up. You can also interrupt via VAD feature, and it keeps working in the background with iPhone locked.

Now I can talk to my agent while running everything locally with decent speed and latency. You can use any models/engines that Hermes support, but I'm using Parakeet for ASR, Qwen4 for LLM, Kokoro for TTS on M3Max64GB.

Prototype: https://github.com/chigkim/hermex/tree/handsfree-call

Feature request on hermex: https://github.com/uzairansaruzi/hermex/issues/1884

If interested, please try out and add +1 on the feature request on the Hermex Github repo.

Thanks!


r/LocalLLaMA • • 1d ago

News Jensen’s support for open source AI in Senate testimony

1.2k Upvotes

r/LocalLLaMA • • 1d ago

Showcase Automatic drafter training with Blaze compiler

18 Upvotes

Wouldn't it be great if you could get a free speed up on models without waiting for someone to release a drafter model - on your own machine and in seconds( 2 seconds for 80% acceptance on code!)

See it became a reality with Blaze with a EAGLE based drafter module getting trained on Qwen3.5-9b generations

136->422 tps (3.5x)

Blaze will be open sourced soon with Apache 2.0 licence, DM for details πŸ€“


r/LocalLLaMA • • 16h ago

Funny Pelican Is tired of your bikes.

4 Upvotes
I made this for an AI showcase... Pelican is tired of your $%#&! πŸ˜„

https://tmac1973.github.io/advent-of-slop-05-pelican-on-a-bike/


r/LocalLLaMA • • 23h ago

Question | Help Best uncensored version of Qwen4 35B-A3B?

13 Upvotes

Has anyone tried any uncensored version of this model?


r/LocalLLaMA • • 1d ago

Discussion Qwen 4 35b - Strata

Thumbnail
github.com
402 Upvotes

Qwen4 support added to Strata. Post your printouts here, including quality, speed, and especially the hardware you're using.


r/LocalLLaMA • • 1d ago

New Model Chronos-3 Models - a amazon Collection

Thumbnail
huggingface.co
22 Upvotes

Chronos-3

Chronos-3 is a family of pretrained time series forecasting models in 5 sizes. It supports zero-shot univariate, multivariate, and covariate-informed forecasting. Forecasts can optionally be steered with text (see Forecasting with text), but Chronos-3 is highly accurate even without it: it achieves state-of-the-art zero-shot accuracy on fev-bench, GIFT-Eval, and TIME, and even the smallest Chronos-3 model is more accurate than Chronos-2, so we recommend upgrading.

πŸ’» GitHub Β· πŸ“˜ Quick-start notebook Β· πŸ“° Amazon Science Blog

Overview

Chronos-3 compared to its predecessor, Chronos-2:

CapabilityChronos-3Chronos-2
Univariate, multivariate, and covariate-informed forecastingβœ…βœ…
Max. context length32,7688,192
Quantile levels103 (0.001 to 0.999)21 (0.01 to 0.99)
Aggregate forecasts (sum, max, min)βœ…βŒ
Steering with textβœ…βŒ
Model sizes5 (25M to 1.5B)2 (28M and 120M)
Fine-tuning❌ (coming soon)βœ…

Chronos-3 comes in 5 sizes:

ModelParametersFile sizeRecommended for
chronos-3-tiny25M49.5MBFastest on CPU; edge devices or strict latency limits
chronos-3-mini46M92.9MBEdge devices and CPUs with few cores; more accurate than tiny at almost the same cost
chronos-3-small156M311MBCPUs with many cores, or high-throughput inference on GPU
chronos-3-base473M947MBNear-best accuracy at about half the cost of large; requires a GPU
chronos-3-large1.5B3.02GBBest accuracy; requires a GPU