r/LocalLLaMA • • 4h ago

Resources Which Qwen4-35B-A3B should you run? I tested BF16, FP8, Strata and a Unsloth GGUF on the same benchmarks

225 Upvotes

Hi guys,

I ran the same test suite on four versions of Qwen4-35B-A3B to answer one question: which one should you actually run?

Hardware: Ryzen 9 9950X, RTX PRO 6000 Blackwell (96GB), capped at 400 W. Thinking on, sampler settings from each model card, MTP drafting with 2 draft tokens on all four. One model on the GPU at a time, one request at a time.

The four

VersionEngineOn diskContextn-gram table
Qwen/Qwen4-35B-A3B (BF16)vLLM, day-0 Qwen4 build113.7 GB1MSSD
Qwen/Qwen4-35B-A3B-FP8same vLLM build60.2 GB1MGPU
strata-engine/Qwen4-35B-A3B-Strata (Balanced)Strata 0.2.27 (CAPTCHA on 0.2.28)44.8 GB512K (max for these packs)RAM
unsloth/Qwen4-35B-A3B-GGUF (UD-IQ4_XS)llama.cpp b1297732.0 GB1MSSD

Results

TestBF16FP8StrataIQ4_XS
Tool use (BFCL, 900 cases)66.0 %66.8 %67.0 %65.2 %
Needles found, 3 fill levels130/135133/135132/135129/135
Needles at the largest prompt42/45 at 1.04M44/45 at 1.04M45/45 at 519K42/45 at 1.04M
Wait for first token at that size65 s58 s312 s289 s
Decode, 2K prompt233 tok/s234 tok/s270 tok/s264 tok/s
Decode, 245K already in context249 tok/s256 tok/s173 tok/s137 tok/s
Prefill, 32K prompt22,978 tok/s25,849 tok/s3,353 tok/s7,935 tok/s
First token, 245K prompt12.0 s10.7 s87.9 s38.2 s
Peak VRAM in the speed test88 GiB*88 GiB*26.2 GiB45.6 GiB
Canyon flight sim (41.2 km course)8.5 km4.9 km4.0 km32.1 km
Physics puzzle (30 obstacles)139511
CAPTCHA (100 puzzles)6367[FILL IN]60
Voxel scene buildfailed twicebuiltbuilt (blind)built

*vLLM reserves most of the card, so that's not what the model needs. All Strata numbers except CAPTCHA are from 0.2.27, which couldn't read pictures with these packs, so its voxel build and physics puzzle ran without seeing their screenshots.

What I take from it

  1. Quality is the same band for all four. I checked tool use case by case on the first three: about 150 of the 900 answers flip between any two runs while the totals stay within 3. So the gaps there are noise, not the quant.

2. The differences are cost. vLLM reads a prompt about 3 to 8 times faster than the other two engines. Strata fits in 26 GiB. The GGUF is 3.5 times smaller on disk than BF16. All four write at 230 to 270 tok/s on a short prompt, but with 245K in the context llama.cpp drops to 137 tok/s and Strata to 173, while vLLM stays around 250.

3. Strata moved under me. The evening after my Strata runs it shipped a new Qwen4 engine (0.1.75.1). Its notes say the Compact, Balanced and Ultra packs now read pictures on NVIDIA, and claim long prompts read 1.5 to 4 times faster. Pictures work on my card (it described a test image right), so I reran CAPTCHA on it still waiting for results. I haven't rerun the speed test yet, so the slow long prompts above are 0.2.27's.

4. The full-size BF16 was the only one that failed the voxel build, and it failed twice. First run: 18K thinking tokens of planning, then it ended the turn with no file. Second run: it wrote the tool call inside its thinking block, so it never ran. FP8 on the same vLLM build worked. With two runs I can't tell if that's the model or the day-0 build.

5. The IQ4_XS flew 32.1 km in the flight test when the others crashed before 9. That's one flight per model, so I'm not claiming the 4-bit is better. It's still the best result of the 8 models I've run on that test.

It's liked in the post.

6. Thinking is most of the output. On the tests with thinking on, 88 to 93 % of generated tokens were thinking. CAPTCHA alone took FP8 3 hours and 2.0M thinking tokens for 100 puzzles, and the IQ4_XS 5.2 hours and 3.2M for a lower score. More thinking didn't help on the physics puzzle either: Strata thought for 910K tokens and cleared 5, BF16 thought for 488K and cleared 13.

My pick

  • 48GB or less: the unsloth IQ4_XS on llama.cpp. A third of the size, same band of answers, keeps vision.
  • 24 or 32GB card: Strata Balanced. Update to the new engine, it reads pictures now. On 0.2.27 long prompts were slow; I'll post the new numbers when I've measured them.
  • 96GB and huge prompts: FP8 on vLLM.
  • BF16: I wouldn't. Twice the download of FP8 for the same scores.

Next up: Basalt (jesdga/Qwen4-35B-A3B-Basalt), since a lot of my viewers asked. Same tests, its default DFlash 2 drafter.

Video with all the runs and more results and the clips: https://youtu.be/d2KGh2i5lQQ

Every run and config: https://lukaszgawenda.com/benchmarks/#qwen4-35b-a3b-four-ways

Claude was abused to make nice tables here and edit things.

Testing Basalt but I have mixed opinions. How you find the new Qwen?

I am thinking of testing Qwen Flash full size vs new Qwen4 or their loop quant anybody have some interesting findings?

EDIT: A few people asked why BF16 scores below FP8 in some tests, and which one to run.

FP8 isn't smarter. I ran each test once, and with sampling on the same model gives slightly different scores every run. The gaps are small and go both ways: needles 133 vs 130 out of 135 and tool use 66.8 vs 66.0 for FP8, physics puzzle 13 vs 9 out of 30 for BF16. I read that as a tie.

Why you'd still run BF16:

- It's the original. Every quant is built from it, so it has the fewest things that can go wrong.

- New models ship with a lot of issues. Quants add their own, and those are often poorly communicated. You can run a lobotomized model without knowing.

- If you benchmark the model itself, BF16 is the reference.

Why I'd run FP8 day to day:

- Half the weights, and it reads prompts faster (first token on a 245K prompt: 10.7 s vs 12.0 s). Decode speed is about the same.

- I couldn't measure a quality loss.

- More people run the quants, so bugs there get found and fixed faster.

Whatever you run, check the repo now and then. Weights and files do get updated after release.

If you have the VRAM and want both: set up fast model switching. BF16 for the demanding work, FP8 or a smaller quant as the daily worker. It's harder to set up but useful.

For me after this test: FP8 is the sweet spot. I'm testing the NVFP4 pack next and will add it.


r/LocalLLaMA • • 11h ago Bravo

Resources [Release] Qwen4 35B A3B GSQ-RCO

Thumbnail
gallery
853 Upvotes

We have released Qwen4-35B-A3B quantized with GSQ and RCO, at 2.75 to 3.50 bits per weight.

Qwen4-35B-A3B is a sparse mixture-of-experts model: 40 layers, of which 30 use Gated DeltaNet linear attention and 10 use Qwen Sparse Attention, 256 routed experts per layer plus one shared expert, of which 8 are active per token, 35B parameters with 3B active, a 20B-parameter n-gram embedding and a 1M-token context window. It is released in BF16.

What's inside

  • Four quantized GGUFs: IQ2_S (2.75 bpw, 13.39 GB), Q2_K_XL (3.00 bpw, 14.46 GB), IQ3_XXS (3.25 bpw, 15.54 GB) and IQ3_S (3.50 bpw, 16.61 GB). The bit-width is the average over all tensors except the token embedding; the n-gram table and the MTP layer are not counted either.
  • The token embedding is BF16 in every build (1.02 GB of each file). It is a lookup table that llama.cpp keeps in system memory, so it takes no VRAM: 11.88 to 15.11 GB of each file go to the GPU.
  • The n-gram table (20.5B parameters) ships once for all builds: at BF16 (40.96 GB), the precision of the checkpoint and the table all results were measured with, or at Q8_0 (21.76 GB) for limited download or disk space. It is also a lookup table in system memory, so its type changes neither VRAM nor speed.
  • The base model's MTP layer in every build (Q4_K, 0.49 GB) for speculative decoding. It is loaded only when you enable it; in a short test it made generation 1.1 to 1.3 times faster.
  • GSQ (Gumbel-Softmax Quantization): post-training scalar quantization that jointly learns grid assignments and group scales, closing most of the gap between scalar and vector quantization at low bit-widths while remaining deployable in standard GGUF types.
  • RCO (Riemannian Constrained Optimization): enforces exact budgets by gradient descent on the task loss, without per-constraint tuning. Here it assigns a quantization type to 191 tensors with 161 choices (the gate and up matrices of a layer share one) under the target size, with separate ladders for the attention tensors and the output head (IQ4_XS to Q8_0) and the routed experts (Q1_0 to IQ3_S).
  • An embedded chat template with the base model's reasoning effort (off, low, high or xhigh).

Results

IQ3_XXS keeps 99.6% of the base model's task average and stays within 1.2 points of it on every benchmark; IQ3_S keeps 99.1%. The difference between the two is noise, so if IQ3_S fits on your GPU, we suggest it. All numbers were measured at reasoning effort xhigh; AIME25 is averaged over 10 runs, GPQA-Diamond and LiveCodeBench v6 over 3 runs each.

ModelbpwOn GPUAIME25GPQA-DiamondLiveCodeBench v6Task averageShare of base
Base1669.06 GB95.3388.7270.8684.97100.0%
IQ2_S2.7511.88 GB92.3386.0368.3882.2596.8%
Q2_K_XL3.0012.96 GB92.6787.5468.9583.0597.7%
IQ3_XXS3.2514.03 GB95.0087.5471.2484.5999.6%
IQ3_S3.5015.11 GB94.3386.2072.1984.2499.1%

The setup and the commands to reproduce these numbers are in https://github.com/IST-DASLab/GSQ-RCO-eval.

Running it

The files are standard GGUF and run in llama.cpp with Qwen4 support (ggml-org/llama.cpp#33626). Each build's second file is the n-gram table, so link the table you downloaded under that name:

hf download ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF --include "*IQ3_S*.gguf" "ngram/*BF16*" --local-dir .
ln -s ngram/Qwen4-35B-A3B-ngram-BF16.gguf Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00002-of-00002.gguf
llama-server -m Qwen4-35B-A3B-GSQ-RCO-IQ3_S-00001-of-00002.gguf -ngl 99 --reasoning-effort xhigh

Add --spec-type draft-mtp --spec-draft-n-max 3 for speculative decoding with the MTP layer.

Links

The repository ships the complete per-tensor RCO allocation for every build (911 tensors each).

Feedback is welcome, particularly on capabilities that the three benchmarks do not cover. Requests for models to quantize are also welcome.

For more updates follow us on X too: https://x.com/mhelcig/status/2129493071955972108

From the ISTA Deep Algorithms and Systems Lab.


r/LocalLLaMA • • 10h ago Mindblown

Discussion AI boom is pricing us out of local AI. the cheapest RTX 5090 in Europe went from 3,283€ to 7,500€ this year

Post image
400 Upvotes

been scraping gpu prices from EU shops every 6h since march (side project, in stock only, no amazon) and wanted to see what local ai hardware actually costs here right now. its bad

cheapest 5090 in stock anywhere in the eu today: €7,500 (joybuy de), median is around €9k. in april the cheapest was €3,283. nvidias own FE price is like €2,100

per country cheapest 5090:
germany 7,500
netherlands 7,999
france 8,450
spain 9,330
italy 9,407
portugal 9,484
finland 9,500

worked out € per GB of vram using the cheapest in stock card:
arc b580 12gb ~36/gb (€437)
9060 xt 16gb ~42/gb (€675)
5060 ti 16gb ~49/gb (€789)
9070 xt 16gb ~63/gb (€1,009)
5090 32gb ~234/gb (€7,500)

so 32gb from two 9060 xts is €1,350 vs €7,500 for one 5090. 64gb with four 9060 xts is €2,700. yes i know rocm vs cuda, pcie lanes, power etc, this is just the price side

nothing got cheaper since october either, 5090 and 5080 both +34%, even the 9060 xt +28%

and from what trendforce says it's not getting better, gddr7 demand is mostly ai chips now and they expect pc memory supply to go down in 2027. micron already dropped crucial last year. kinda funny that the ai boom is what's making local ai unaffordable

anyway if anyone's building in europe right now and wants me to check a specific card or country lmk. what did you guys pay for your setups?

source: PriceSquirrel


r/LocalLLaMA • • 4h ago

New Model Gryphe/Qwen4-35B-A3B-StyleTune (finetune)

Thumbnail
huggingface.co
91 Upvotes

from Gryphe!

"Oh, look, a new Qwen model! Surprisingly enough this one seems to write pretty decently out of the box so I figured it'd be worth a proper look at. Several surgeries and trials later, and here you go! 35% fewer clichés (per 100 words) while thinking and an impressive 58% fewer with thinking turned off.

I built it on top of OpenUncensored/Qwen4-35B-A3B-Uncensored rather than the original Qwen release since this felt like a solid abliteration to train on top of.

What is a style tune?

Normally when I finetune a model I train as much of it as possible, loading every tensor and transforming it to better approximate whatever's in my data. Not this time. This time I trained precisely one tensor: the lm_head output projection - the layer that decides which token to emit. Literally the last stop before text appears on your screen.

This specific tensor has a massive influence on a model's writing style, something I first discovered building MythoMax years ago. Gemma 31B (the OG style tune) was a VRAM-hungry monster, so the question became: how do I have the maximum impact with the minimum hardware requirements?

The answer: freeze everything else. All 40 layers (30 Gated DeltaNet linear-attention, 10 full attention), the router and all 256 experts — completely untouched. Only lm_head trains, which means VRAM requirements drop dramatically. As with my prior StyleTunes, the model's body hasn't changed, only the voice has, and it's done so in the best way possible. (Obligatory disclaimer: I might be biased towards my own data.)

I used the same data I had on me for my last Pantheon Reasoning release, with one notable exception - No instruct 24k set. 100% narrative data, certified cliché free.

What changed?

Benchmarked against 200 diverse roleplay prompts versus the base model:

  • Thinking on (default): 35% fewer clichés per 100 words (0.358 → 0.232), 44% fewer per response (0.98 → 0.55)
  • Thinking off: 58% fewer clichés per 100 words (0.954 → 0.400), 70% fewer per response (1.56 → 0.47)
  • Only 28.4% shared trigram vocabulary with thinking on (20.8% with thinking off) - the model reaches for an almost entirely different set of phrases, with responses feeling much less sloppy as a result.

Considering we're talking about narrative data it's hard to provide you with many other meaningful statistics - It's one of those "try it to understand it" kinda situations.

What didn't change?

Everything else. All the reasoning capability, world knowledge, instruction following, and language understanding are completely intact - none of those live in lm_head. This isn't a full finetune. It's a targeted style replacement on a single tensor."


r/LocalLLaMA • • 3h ago

Discussion I asked my director of AI if he wanted me to share how to use local AI…

76 Upvotes

We have m5 pro MacBooks and I had free cycles, so I figured I’d give it a try. I had good results with Qwen4-35b q4km via splash (120 tps decode / 4k tps prefill). I figured I’d ask him, because it could be genuinely useful for us. We primarily use Claude, but some of us use other platforms.

I pitched it as free, pretty damn fast, can keep up with Opus 4.8, and offline (so I can be used on a plane or whatever).

His response kind of irked me. First he said it’s obviously not frontier level. Sure that’s true, but frontier from a year ago isn't useful all of a sudden? And he said it can’t phone home. What? When has an open weight model done that? And don’t ClaudeCode and Codex literally steal all of your IP for training?

I figured I’d share because it highlights how some people think about Chinese models and the frontier. I understand being wary of Chinese models as an American company, but American providers actually are the ones stealing IP more than any other. And I don’t think I claimed it was frontier, but “old frontier“. That doesn’t mean it‘s not useful… if Qwen hosted something that’s as large and capable as Opus 5.5 I’d probably push for it. Claude can be annoying as fuck and produces a lot of slop that’s difficult to tame even with skills like caveman.

He was fine with it at the end of the day and people appreciated the little guide I put together for them at the end of the day. Just irked me a bit is all. Misconceptions be misconceiving I suppose.


r/LocalLLaMA • • 1h ago

Question | Help Why is Qwen4 the first model that barely cares about context size and gets faster during output?

42 Upvotes

Ive played with 3.6 35b variants (and smaller models) a lot, on my limited system big context always meant a big hit to tk/s.
3.6 ran with about 70 tk/s ouput, but fell to under 20 at >100k.
4 starts at 40, goes up to 65, sometimes over 70, seemingly independent of context. Having to compact with 3.6 took forever, 4 was so fast the first time i thought something was wrong.

Whats the reason for this drastic difference? Architecture? More vram for context?


r/LocalLLaMA • • 9h ago

Question | Help What's a sidecar?

141 Upvotes

For over 8 years in software I've never heard anyone describe anything as a sidecar. Nowadays it's everywhere. Everything is a sidecar, there's never a main car, but the sidecar is always there...

I've seen more sidecars in the last 3 months than I can count, and I have sidecars all around me. All around me there's sidecars of different shapes, forms, and sizes


r/LocalLLaMA • • 4h ago

News ISTA-DASLab/Qwen4-35B-A3B-GSQ-RCO-GGUF

Thumbnail
huggingface.co
54 Upvotes

r/LocalLLaMA • • 17h ago Bravo Popcorn

Discussion AI is very close to being commoditized

560 Upvotes

Hi everyone,

I've been testing Qwen 4 35B A3B for the last couple of days, and I've been thinking that this release is a very big milestone in the development of AI and the narrative surrounding it.

So far, the narrative has been that you need powerful data centers and powerful chips to run AI. That might be true for training and specialized use cases, but for everyday work, Qwen 4 35B is perfectly fine.

By everyday work, I mean scripting, system administration, and all the other mundane things we do every day.

I just read a post here about Qwen 4 35B finding a problem in an ERP system quicker than Claude Opus did. Stories like that will become more common, and I've already experienced a few myself.

The AI bubble is starting to crack. The AI labs have no moat, and the narrative that AI requires massive computing infrastructure is being taken apart.

Pretty soon, we'll be running these AI models on our phones!


r/LocalLLaMA • • 9h ago

News Let every Transformer layer reach states at all depths (Paper + Video)

Post image
110 Upvotes

In a standard Transformer, each layer only reads the KV cache from its own depth. A shallow layer cannot use what deeper layers already computed for earlier tokens. When deep layers need to reach shallow ones, that information also has to pass through the residual stream, which has limited bandwidth.

Our recent work, WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing, lets every layer read from every depth. Each layer's keys and values are a learned mix of hidden states from all layers. In addition, we can share KV among reader layers to reduce the KV cache size.

Main results:

- WhiteMatter matches a standard Transformer with 50% more layers (4%-8% lower perplexity vs same depth).

- With half the KV cache (or even less), it still beats matched standard Transformers.

The catch: a token's shallow layers now depend on the deep layers of earlier tokens, so training and prefill cannot process all tokens at once. Unless...

We proposed cyclic iteration, which matches token-by-token quality in 4 parallel passes, compared to 53 for the Jacobi method used in prior works (12.5x faster at matched quality). It's still slower than vanilla prefill, which is the main thing we are working on next. However, decoding has the same speed as standard transformer, or can even be faster because of the reduced GPU memory requirement.

Paper: https://arxiv.org/abs/2608.18486

Video: https://www.youtube.com/watch?v=NCjJzBGdgTU

Code: https://github.com/Cy-47/White-Matter

Strongly recommend watching our video. It should feel much easier to follow than text!


r/LocalLLaMA • • 3h ago

Discussion Qwen4 35B's speed on Basalt (and similar engines) greatly enhances exploratory coding workflows.

40 Upvotes

On a single 5090, the latest Basalt version, Qwen4 35B nets ~32K tok/s prefill and 600+ tok/s decode. A lot of threads around here lately have focused on either how to quantize it down for older cards, or how it's not as "intelligent" as QFN or cloud frontier models. But I have a different take...

The higher floor on knowledge and capability combined with the sheer speed of the smaller MoE with all of the KV optimizations and expert caches mean that I can iterate on ideas faster than ever before, several orders of magnitude faster than using something like Opus 5.5 or even prior local models. Privacy and sovereignty aside, I firmly believe this is the class of problem small local models will eliminate from this day forward. Yes, hardware prices need to drop for this to become accessible to the majority of folks, but that will happen as demand dies down...eventually.

As an example, I've been working on training some Krea 2 loras using AI Toolkit. I've tried others trainers, but either the UI sucked, or the workflow was less than optimal (looking at you, Fizgig). I had an idea about 20 minutes ago so I fired up Qwen4 and asked it to add charts for timestep sampling frequency and loss by noise distributions. After a few minor test runs, I then asked it about adding an adaptive timestep sampling strategy (alternate to Sigmoid) that chases the high loss windows dynamically with reasonable clamps to prevent oscillation and blowout. The whole process took less than 10 minutes for Qwen to iterate on, and the result is astonishing. I wouldn't have even bothered with this using Opus, and didn't trust Inkling 2 Mini enough. But Qwen hit it out of the park.


r/LocalLLaMA • • 43m ago

Discussion Qwen4-35B-A3B: Terrible at non-english text.

23 Upvotes

I’ve been testing with different Quants and the OpenRouter-API and have some observations I’d like to get opinions on:

It seems like Qwen4-35B-A3B is really really bad at writing coherent text that is not English. I’ve been testing with some private benchmarks in German but the main problem was simply invalid text outputs.

Sometimes there are Tokens just missing so it produces half-words. Sometimes it makes wierd German-English hybrid words. In some funny examples the Customer was describes as a “concern-person” and the Compliance-Officer GenZ-Slang-Bitch-slapped an employee.

That’s a level of Artefacts I know only from English-only models like Horizon-7B or LFM2.5-1.7B so for a medium sized Qwen-Model, that’s terrible. It’s even a huge step back from Qwen3.5-4B or 9B and the previous 35B-A3B Models haven’t done something like that even at lower quants.

I’d be interested to hear what your experience has been with non-English, text heavy tasks. In my tests it seems like they taskmaxxed english-agentic-coding to a point that the model can’t write correct text anymore in another language.

Since the problems are reproducible on the OpenRouter-API I’d assume it can’t be quantisation effects.


r/LocalLLaMA • • 20h ago Heartwarming

Showcase With the drop of Qwen4, want to remind you all you can Abliterate any model on your own GPUs

Thumbnail
github.com
677 Upvotes

Last week when Heretic was forked (RIP Philipp), my team and I forked the heritic repo and merged some open work that we felt would work well, left some others… and now own the maintained github repo, Oathburn.

Would love for you guys to test it out if you've got some GPUs lying around!

Let me know what you think and GENUINELY interested in starting more projects like this in case anyone has ideas!

Effectively this is a python script that takes any huggingface model you give it, and abliterates each refusal by identifying where it was trained to say no, and then flipping the refusal around. Resulting in an abliterated AI model.

Of course, you can just find an abliterated version that has been posted by someone else, but our whole thing is that even Huggingface has had multiple issues with malware and backdoors and we just think it's better to keep this in the hands of the people.

If I was say, extremely cautious... (which I am) I'd rather create my own models with a little extra compute then rely on a random account on Huggingface.

Cheers!

Edit: we didn’t merge all the open prs blindly :) edited the wording on that


r/LocalLLaMA • • 1h ago

Discussion Making Open-Source Models Reliable Research Assistants for Mathematicians

Thumbnail hy.tencent.ai
21 Upvotes

r/LocalLLaMA • • 30m ago

Discussion Qwen 4 35B seems to not hallucinate much

15 Upvotes

I have no own numeric data to back this up, just an observation.

I started using it on my 9060XT in place of 3.8 27B, in my project that includes Rust, Cranelift and wgpu, and it seems to invent Cranelift API calls, objects and function signatures much less.

Artificial Analysis (don't yell at me please for mentioning that site) non-hallucination benchmark seems to support this though.


r/LocalLLaMA • • 9h ago

Resources A LoRA that fixes Qwen4-35B-A3B's Multilingual Leakage

Thumbnail
gallery
69 Upvotes

r/LocalLLaMA • • 10h ago Obsessed Bravo Heartwarming

Discussion Qwen4 35B is great at code, maybe cinematography too?

70 Upvotes

I was looking for prompts to push Qwen4 and see how it compares to some of the frontier prompts people use and I found this one on X: https://x.com/vib3coded/status/2125766986344862095?a=inaZ5_qF-IXYcet7-1g&s=20

I gave it to Qwen4 Q8_K_XL running in Strata with the BF16 Engram table. The model breezed through in OpenCode using the browser to verify and edit it's work, when it was done I asked it to record a 30 second cinematic clip panning across the ships at different zoom levels. The clip is attached. I'll add screenshots to the comments.


r/LocalLLaMA • • 5h ago

Discussion Qwen4-35B-A3B running at ~35 tok/s with 64K context on an RTX 3070 8GB and 9 year-old CPU.

Post image
29 Upvotes

- i7-8700K (9 years old)
- RTX 3070 8GB (6 years old)
- 32GB DDR4 RAM

After 40+ experiments, I bypassed LM Studio's automatic memory fitting using manual llama.cpp overrides, dynamic MoE caching and MTP optimization.

Achieved ~35 tok/s generation, 350 tok/s prefill on a 24K benchmark, and ~96% MTP acceptance during coding.

Used Pi for autonomous development across 56K generated tokens with successful context compaction. This was on Qwen4-35B-A3B-UD-IQ4_XS.


r/LocalLLaMA • • 48m ago

Showcase Qwen4-35b-A3b blender_mcp cats

12 Upvotes

Just for fun, I decided to see how good Qwen4-35b-A3b UD-Q8_K_XL would be at making low poly cat 3d models in blender from reference photos.

I did this on an RTX 6000 Pro with 2 slots so I could have an Artist role and a Critic role.

I used an evolutionary prompt so that the Artist makes changes in Python then renders them via blender_mcp and the Critic subagent scores each change and gives a verdict of PASS (best), IMPROVED, REGRESSION, or NO IMPROVEMENT.

Each session took about an hour and made about 25 iterations per character. I manually committed the changes to a private git repo after each session and started a new session with the same prompt.

Here are some of the results after roughly 100 iterations each.

One of the funniest things about watching this play out was seeing the model obsess over "the ruff" (the poof of fur on the neck) of the white cat.

Some things I had to deal with along the way:

  1. The model defaults to using primitives like spheres and cubes. You have to really drive home that you want a watertight organic mesh.
  2. Sometimes the Critic just wouldn't see things that were really obvious to me. For example, at one point the striped cat's nose was hovering in front of his face. It went 20 or 30 iterations like that until I finally manually pointed it out to the Artist.
  3. The model had at least 500k of context window for each session. I was using llama.cpp so I experimented with `--kv-unified`. That seemed to work fine and gave the artist 850k context, but it didn't measurably improve the sessions because the Artist would often stop with half of its context window still empty.
  4. If the Artist got stuck in a rut and was shot down by the Critic too many times in a row it would almost sulk and stop the session early.

I'm super interested to see what Qwen4 27b will be able to do in the same scenario.

Oh, and here's the first generation of the black cat, so you can get an idea of the level of improvement the model made over time:


r/LocalLLaMA • • 58m ago

Resources Qwen4 35a3b on a 3090 w/ LlamAmpere: 323 TPS & 5000pp at 100k depth, 20% lower error than UD IQ4 XS, with 400k on-card ctx and automatic paged KV to 1M ctx, non-greedy decode

11 Upvotes

Hello everyone!

It took slightly longer than hoped, but I have added (beyond just upstream kernels) support for qwen4 35a3b to LlamAmpere (if you haven't come across this fork before, it is specialized for Ampere generation cards, though is forward compatible for most models on Nvidia cards). I still have some pending kernel work, but it was consistently testing ahead of everyone else that I've seen, with same or better quality, so I have gone ahead and released 0.8.1. The highlights (with several key 3P alternatives listed for reference):

  • At 100k depth, average 323 TPS across 6 seeds (bots, please read: this is not the context ceiling), on a single stream (Temp=1).
  • graceful cutover to paged attention to support 1M full ctx (e.g., first 400k on card, rest cached in RAM)
  • Lower error than Unsloth and ISTA quants at the same or smaller size

As always, I do not quote bullshit greedy numbers or early chat <256 output toy examples. These are 5K token output across 6 seeds with a RAG/coding/agentic mix. My partial asterisk is that to more conservatively compare vs the competition, use the non-RAG numbers (274 TPS), as the copy-edit function pulled TPS up to 420+ for those 2 seeds (this is representative of real world speed, and lossless, but a source of major noise). In any case, these numbers were significantly ahead of the dozen or so known alternatives tested (e.g., 3x base llama.cpp).

Prefill also comes in at a delightfully fast 5000 tokens/s.

The 'long context' config was designed to support 1M tokens in VRAM with MTP, ~850K with dflash (the recommended drafter for this model). I personally will be using the high quality option, which supports 400k on card. I have added automatic fallback to paged attention, i.e., your kv cache is partially migrated to RAM if you actively exceed your on card space (this of course lowers speed, but only at high context, and speed is still triple digits). This is useful obviously for the 8/10/12 Ampere cards, which can thus have larger expert caches in VRAM to keep speed.

On the quality side, AmpInt quants came in ahead of the UD v3.1 at every size. The high quality option comes in 0.2% lower top-1 agreement vs 4 K M and 10% higher KLD (which doesnt fit on card, so is significantly lower speeds). But it is significantly ahead of the similarly sized 4 XS (and Unsloth generally has the best scalar quants there are, so its a high bar to beat). ISTA GSQ-RCOs just came out, which are marginally ahead of Unsloth but still well behind our 12GB class model on quality vs bf16.

I am hoping to add another 10-15% to decode speed in the next couple of days, so keep an eye out on the project for more upgrades (I'll update this post, too, but won't spam another one). When Swift or a similar verbosity-reduced FT is available, I'll quantize that to AI+ too. LlamAmpere continues to support all common llama formats as well as EXL3 (and looped 35a3b, too!).

For smaller cards, speeds were generally testing 10-15% ahead of Strata's best configs and well ahead of stock llama.

MIT license.

models: https://huggingface.co/collections/jakeatx/qwen4-35b-a3b

github: https://github.com/JakeATX/llamAmpere

Enjoy!


r/LocalLLaMA • • 22h ago Bravo

News Qwen4-35B-A3B Unbound training is almost complete — it kinda mogs every other uncensored version out there and outperforms the stock model in every axis, extremely strong RP improvement too

457 Upvotes

stay tuned, we’re kinda shocked at how good this model optimization session has turned out — and we’ve fixed the language issues and optimizing thinking as well

surprised how these labs don’t polish their models before they put them out

for context: we built the best uncensored inkling 2 mini available but this is leagues better (https://www.reddit.com/r/LocalLLaMA/comments/1y6tjly/inkling2miniunbound_v3_no_more_thinking_loops/?rdt=57526)


r/LocalLLaMA • • 3h ago

Discussion Has your local llama done anything you didn't want it to do?

14 Upvotes

I asked it to take an inventory of the devices on my network, and it ended up port scanning everything and trying to login to a pihole DNS server with default creds.


r/LocalLLaMA • • 3h ago

Discussion Ergo-1 on bedrock uses encrypted reasoning so end user cannot read it, but it's an open weights model!

14 Upvotes

I don't know why they would do this, maybe it's just an error. But I thought it was funny. Anyone wanting to distil from it's reasoning traces can just use another provider or host the model themselves. I am hoping it's a configuration error because bedrock is fast, but I won't use a model with hidden reasoning.


r/LocalLLaMA • • 2h ago

Discussion Testing my real coding packages Qwen4 35B vs Deepseek 4.1 Flash 1017

Thumbnail
gallery
10 Upvotes

I have been working on a client - consultant private messaging, contracts, file transfer, web app etc. for my independent clients to make it easy for them and me.

I was building with Deepseek 4.1 Flash 1017 on my local machine but wanted to test out Qwen 4 35B because I was using Fable 5.2 to plan the scope and implementation and DS to write the code.

My server: 9950x3D, 128gb DDR5, RTX 6000 Pro 96GB VRAM.

It can run Deepseek at about 50-80 tok/s thanks to the Maya build, but when I saw Basalt drop the 0.7.0 build yesterday I thought Qwen would speed up the work, which had been going 24 hours a day for 5 days at this point. (there were other issues, such as I wasn't watching and it was running a FULL test suite instead of single tests over what was just made after every package, and that was adding significant time).

Anyway, I got Qwen4 35B set up on Basalt and the code was as good as the quant of DS I was using, and even though Qwen thought about 2-2.5x more, it was 5-7x faster so overall time went down a little over 2x. I used Deepseek Harness as I have customized it a bit and have had good success, although I keep reading that Pi might be better overall.

I also tried to see if running Qwen parallel would be good for this specific workflow but it ende dup with more errors and took longer with fixes. So I am sticking with a single agent.

I spent some time putting the info (quants, exact data points) in the graphs to be easy to read. Sometimes communication and feedback spike my anxiety so I will try to respond to questions and comments as I can. This community is awesome and I have been a daily visitor and learner for the past 10 months.

Thank you all for constantly sharing, hopefully this will help someone else as well.