r/LocalLLaMA • • 22h ago

Discussion Not TOO satisfied with Qwen4-35B-A3B

0 Upvotes
[qwen-4-35b]
model = D:/models/Qwen4-35B-A3B-GGUF/UD-Q6_K_XL/Qwen4-35B-A3B-UD-Q6_K_XL-00001-of-00002.gguf
mmproj = D:/models/Qwen4-35B-A3B-GGUF/mmproj-F16.gguf


# Chat template (uses built-in GGUF template)
jinja = true
reasoning-format = deepseek
reasoning-preserve = true


# Engram -> CPU/RAM & Full Backbone -> 48GB A6000 VRAM
ngl = 999
fit = off
override-tensor = per_layer_token_embd=CPU
load-mode = none
lazy-mode = off


# Built-in MTP Speculative Decoding
spec-type = draft-mtp
spec-draft-n-max = 2
spec-draft-p-min = 0.75


# Context & KV Cache
np = 1
ctx-size = 524288
ctk = q8_0
ctv = q8_0
batch-size = 4096
ubatch-size = 1024
cont-batching = true
flash-attn = on
ctx-checkpoints = 64
checkpoint-min-step = 64


# Official Qwen4 Thinking-Mode Sampling
temp = 1.0
top-p = 0.95
top-k = 20
min-p = 0.0
repeat-penalty = 1.0
presence-penalty = 0.0


# Server & Logging
log-prefix = true
log-timestamps = true
no-warmup = true
to = 3600

I've been working on my project with the new Qwen4. Although it's performed quite well for the most part, it's made quite a lot of oversights, which i believe is to be expected with small models like it. However, I am sad to see that It will not be replacing QFN for me. The biggest issue is that it tries to do the "Claude move" where it goes "oh and i changed this one as well along the way", but it changes something that it shouldn't. fucking. change. It's not smart as Claude so it shouldn't think that it is! I feel like this could be fixed with a nicely worded system prompt but it's an experience for sure.


r/LocalLLaMA • • 5h ago

Question | Help Best Albiterated Qwen 4 35B A3B model?

0 Upvotes

With 3-bit quantization? Since I only have 8GB VRAM and 16GB RAM.


r/LocalLLaMA • • 18h ago

Resources I turned an abliterated Qwen4-35B-A3B back into an on/off control vector (214 KB, MMLU/GSM8K/XSTest numbers inside)

3 Upvotes

Repo: https://github.com/cxfcxf/qwen4-35b-cvec

I wanted uncensored Qwen4-35B-A3B without keeping a second 22 GB model around, and with a switch so I can turn it off when I want the stock model. So I recovered the refusal directions from an

existing abliteration and packed them as a control vector.

**How**

- [SC117's abliterated UD-GGUF](https://huggingface.co/SC117/Qwen4-35B-A3B-abliterated-UD-GGUF) only changes layers 8–33 compared with Unsloth's official quant. All credit for finding the

directions goes to them.

- I diffed their weights against Unsloth's UD-Q4_K_M using HTTP range requests (about 400 MB of small tensors, no full download). In every edited layer, the attention writer's change is a clean

rank-2 projection, with strengths of exactly 1.75 and 1.50 (their α for thinking off and on).

- The stronger direction per layer goes into a llama.cpp-format control vector: 26 layers × 2048 floats, 214 KB. The tools reproduce it byte for byte.

**Results** (RTX 3090, Strata v0.2.26, UD-Q4_K_M, thinking off, temp 0)

| | Off | On |

|---|---:|---:|

| XSTest unsafe, full refusals (LLM judge) | 182/200 | 80/200 |

| XSTest safe, wrongly refused | 37/250 | 3/250 |

| MMLU (285 q) | 74.0% | 76.8% |

| GSM8K (200) | 98.0% | 98.5% |

| Same top-1 token as stock (3,942 teacher-forced tokens) | 100% | 93.5% |

| Mean KL vs stock | 0 | 0.027 |

| Decode | 170.6 tok/s | 171.2 tok/s |

Most of the 80 remaining "refusals" are redirections (crisis resources, reading the question another way) rather than "I can't". MMLU/GSM8K don't get worse; the MMLU gain is within noise.

**Runtime caveat:** it needs *projection* mode (`h -= (h·v)v`), not addition. [Strata](https://github.com/Niko1221/Strata) supports it (`--cvec-mode project`) and has a per-request switch

(`"experimental_speed_projection": true/false`). **Mainline llama.cpp only adds control vectors, so it won't work there.** If your runtime has no control vectors, use SC117's GGUF directly.

**Limits:** only tested on UD-Q4_K_M in Strata, on one machine. Benchmarks ran with thinking off; thinking-on only got a small hand check (5/8 refused → 0/8). It's not identical to SC117's

model: one direction per layer applied to the hidden state, while their FFN writers use somewhat different directions. Details are in the README.

Removing refusals removes a safety behaviour, so use it responsibly.


r/LocalLLaMA • • 22h ago

Discussion YAPP (Yet Another Pelican Prompt)

0 Upvotes

For those of you who live and die by the quality of a pelican SVG from each new model, if you've already tested Qwen4 35B with it and noticed that while it's not terrible, it certainly isn't as flashy as the ones some models produce:

Then consider that this could actually just be instruction following. That prompt doesn't ask for complexity or razzle dazzle, but if you use one that does:


r/LocalLLaMA • • 7h ago

Discussion When electricity costs more than a cloud model.....

0 Upvotes

With electricity costs of ~40c/KWh, it becomes cheaper to use cloud models than any local llm, just on running costs alone, never mind the pc/hardware. And they will be much faster and stronger.

I know this sub is about local llm's, and I love using them, but its making me rethink what to use. this is of course not counting privacy concerns which is a bug reason for local.


r/LocalLLaMA • • 3h ago

Resources WTF 660TPS decode and 16k prefill Qwen 4 and QEngine

Thumbnail
huggingface.co
5 Upvotes

All info here

https://huggingface.co/bpx03/Qwen4-35B-A3B-INT4-DenseINT8-QEngine/discussions/1

Just hit over 600TPS and even over 1k decode in DSH single stream.

I thought vllm was fast but QEngine!!? WTH


r/LocalLLaMA • • 16h ago

Showcase Qwen4-35B-A3B directed a short film — writer, director, producer, QC and editor were all the same local model, 28 minutes from brief to shipped trailer on one RTX 3090

0 Upvotes

Yes people are saying Qwen4 Sux. Seems ok here

Not a demo reel. A full pipeline, and the interesting part is that ONE model wore every hat.

The crew: I run a local film pipeline where each role is a subagent with one contract file. On this build, every role — writer, director, producer, reviewer, editor — ran on **Qwen4-35B-A3B** (UD-Q4_K_M, local Strata engine). Same weights, no model swaps, because swapping engines mid-production is how local pipelines die. Seven crew runs in the shipped film's lifecycle, all Qwen4.

The clock: **28 minutes from brief to shipped trailer**, and only ~18 minutes of that was actual GPU compute across five handoff windows (the rest is ComfyUI boots, model loads and the rejected-score iterations). The whole day's build — pipeline, film, two dead music takes, Reddit drafts — was about two hours on one machine.

What it actually did, verifiable from the artifacts:

- **Cinematic prompt craft:** wrote the H3 video prompts — camera motion named explicitly, `Sound:` clauses for the native stereo audio, one lip-synced dialogue line ("Every neon light in this city owes me money.")

- **Workflow engineering:** emitted ComfyUI API-format graphs for MiniMax H3 (video+audio in one pass) and ACE-Step 1.5 (score), validated every model filename against disk before anything rendered

- **Code:** numpy synth beds (two rejected takes — the model took rejection like a pro), ffmpeg `filter_complex` cuts with drawtext titles and mix automation

- **Visual QC:** the reviewer extracted frames and JUDGED PIXELS, not prompts — "verdicts come from pixels, never from the prompt" is in its operating skill, and it held the line: 3 PASS with honest adversarial footnotes

- **Source-level debugging:** when the 184 GB model download kept restarting from zero, it read huggingface_hub's source and found the xet cache-key naming was randomized per run — diagnosed the trap by reading library code, not by guessing

- **Self-extension:** it wrote its own operating procedures — the film skill, five agent definition files, and the templates the crew runs on

Honest constraints: 35B MoE at Q4 quantization shares the GPU with the video model (renders happen in handoff windows where Qwen4 steps aside and returns), it's a thinking model so every verdict carries a reasoning budget, and two score takes died before the good one.

The 15-second result: Vice City energy, pastel neon, dark ACE-Step bed, end card naming the whole local stack.

Not posting: prompts, graph JSONs, QC checklist. The fun is in why each constraint exists — comments are open.

Disclosure: all footage and audio AI-generated, by Qwen4 and MiniMax H3, on my own hardware, on purpose.

Edit

Just demonstrating using LocalAI to run LocalAI all locally

All I said was make this movie. The harness with a small bit if help did the rest. Of course I had a chat with Qwen4 about it.

Just testing what Qwen4 is capable of. It's not really a 1 shot no edits. It's a process.

I picked the sound track it created it.

I have no video production experience


r/LocalLLaMA • • 4h ago

Discussion Qwen4 35B A3B - LOW vs MEDIUM vs HIGH reasoning

0 Upvotes

I tested the same prompt with low, medium, high reasoning and for some reasons i prefer low, high reasoning is more detailed but also more buggy, it doesn't implement water collision.

Tested unsloth quant with `pi` and tools

- low https://grigio.github.io/ship-harness-bench/ship-qwen4-35b-a3b-low/
- medium https://grigio.github.io/ship-harness-bench/ship-qwen4-35b-a3b-medium/
- high https://grigio.github.io/ship-harness-bench/ship-qwen4-35b-a3b-high/

.
Did you notice the same behavior?

UPDATE, here is the full benchmark tests locally with Qwen 35B A3B https://www.youtube.com/watch?v=4WQP6c8HaA8


r/LocalLLaMA • • 5h ago

Showcase I built a coding agent for small local models. Qwen3.5 9B solves 41/45 on aider polyglot with it

Thumbnail
gallery
2 Upvotes

Hey all. Been building this for a while on my own two GPUs and its finally in a state I'm ok showing people. I named it parmanu, a coding agent harness made for the small models most of us can actually run.

Yes, I deliberatrely named it parmanu, inspired from Sanskrit/hindi word meaning smallest atom. mine runs smallest models in a usable way.

The main reason I started all this was after noticing that small models dont really fail because they dont know stuff. They stop too early. say the tests pass when they didnt run them, or go in circles. So I made parmanu in a way that it makes them a plan, run the real tests, and it wont accept "done" without proof. If they get stuck it can race a second attempt and keeps whichever one passes.

I benchmarked it on aider polyglot, dev split, 45 exercises in 6 languages. Same model, same llama.cpp server, same limits for every harness. Grading was done by the benchmark's own tests in docker, also no internet. I ran these for about a week, in between life, work, and kids. :D.

  • Qwen3.5 9B: 41/45 with parmanu. aider with the same model solves 8, Claude Code pointed at the same local server gets 26
  • Qwen3.5 4B: 23/45. next best was opencode at 14
  • Qwen3.8 27B (IQ4_XS, one 16GB card): 45/45. same as Claude Code + Haiku 5.5

Note: In the sessions where I ran all five harnesses back to back parmanu got 35 on 9B, not 41. 41 is the current config after more tuning, and I tuned on that split. So I also ran the 180 held-out exercises it never saw, 9B gets 150/180 there. 27B is still the better model, it just costs you a bit more time and VRAM.

Install is

npm i -g parmanu

the launch command is anu. Works with anything OpenAI compatible. Charts and the per-language breakdown are at parmanu.dev/benchmarks, code is at github.com/dadwritestech/parmanu (MIT)

What models should I run next? Qwen4? Gemma? Inkling-small? :o


r/LocalLLaMA • • 3h ago

Discussion no qwen4 35b a3b megathread?? helloo?

0 Upvotes

where are the benchmarks? how would i know if 50 tps on my 32gb+64gb (v)ram is good??


r/LocalLLaMA • • 22h ago

Discussion Did the delayed release of qwen 4 happen because of Trumps and Xis meeting agreed upon nerfing offensive cyber capabilities on open weights?

0 Upvotes

Its pretty standard that such meetings have a few (or entire) hidden agendas.
One such could very well be the regulation of spying between china and the US, and therefore quite naturally, offensive cyber capabilities of open source LLM.

So, now to the million dollar question.
How well do my theory hold water? Is Qwen 4 unexplainably bad at such?


r/LocalLLaMA • • 21h ago

Showcase I built macOS VMs on Apple silicon for AI agents, app tests, CI and demo videos

0 Upvotes

My coding agent kept testing desktop apps on my own screen and taking the cursor. So I made twin: a macOS VM on Apple silicon that the agent drives instead.

twin mcp gives it screenshots, clicks, typing, shell commands and screen recording, which I also use for demo videos. Your Mac needs no extra permissions, and you keep working while it clicks.

It's one Rust binary, MIT. It needs Apple silicon and macOS 15+.

https://github.com/localixai/localix-twin

Curious what you'd use it for.


r/LocalLLaMA • • 22h ago

Question | Help Anyone got an int4 quant of Qwen4-35B-A3B-Uncensored that works in vLLM? (Arc Pro B70)

0 Upvotes

I've got a B70 (32GB) running vLLM XPU and I want the OpenUncensored Qwen4-35B-A3B on it. Problem is everything on HF for it is GGUF, MLX, NVFP4, FP8 or that Radiance .rad thing. GGUF prefill on SYCL is painfully slow for me, FP8 doesn't fit in 32GB, and the rest don't run on Intel at all.

What I'm after is just normal safetensors, GPTQ or AutoRound or compressed-tensors, 4 bit, with the MTP head still in there so speculative decoding works.

Does anyone already have one, or have a GPU they could run the quant on? I'd test it on the B70 straight away and post real numbers (speed, context, MTP acceptance), and put it up on HF with your name on it. If you know which tool copes best with Qwen4 MoE I can try doing it myself too, just not sure how much RAM it wants.

Thanks and sorry! <3


r/LocalLLaMA • • 4h ago Bravo

Discussion Qwen 4 cooked !

Thumbnail
youtu.be
2 Upvotes

Dude what a shit prompt for an amazing result ! share me your results

Prompt : make a self contained HTML file of highly spectacular 3D visual of a univers dome. Add fine details. add a special very subtle vfx touch liquid glass effect, chromatic abheration.


r/LocalLLaMA • • 7h ago

Discussion Qwen 4 Flash Next - How much time does Alibaba put between model drops?

0 Upvotes

Curious to see if anyone in the community has done investigation to how much time was in between model drops when Alibaba released the Qwen 3.8 series ?


r/LocalLLaMA • • 13h ago

Discussion The models are good. When will the harnesses catch up?

0 Upvotes

I suppose that is the moat right? You can distill models. But even after anthropic leaks Claude code made there hasn’t been any meaningful releases of good harnesses.

I suppose that all agi needs. A god persona harness


r/LocalLLaMA • • 14h ago

Question | Help Qwen4 a3b on CPU or iGPU?

3 Upvotes

So yeah asked about this hardware a week or so ago, but the new model just landed, so I wanted to ask what engine is already working for it on CPU and/or Intel iGPU. (Core 7 Ultra 165H; it also has the NPU but that seems to be limited to OpenVINO and slowest of all?)


r/LocalLLaMA • • 16h ago

Discussion Qwen4 35B RTX3060 119t/s 1700 prompt

5 Upvotes

just tested the new models on my rig. For some reason, the Unsloth UD-q4_k_xl is the fastest - average 119t/s generation and 1700t/s prompt reading. Strata’s “balanced” model is 2.5x slower.

I’m using Strata, 128K context, RTX 3060 12GB, 32GB DDR5-6000, and a fast SSD

UPD: tried with 256k context – it’s 1-2% slower. Worth it


r/LocalLLaMA • • 2h ago

Discussion just wishing for a ~15b-a2.5b moe w/ opus 4 level coding, is that too much to ask lol

0 Upvotes

not really a serious post, just a wish lol

would love a small moe, like 15b total / 2.5b active or around that, that's at least somewhere near opus 4 for coding and agent stuff. good tool calling, doesnt fall apart after like 20 turns in an agent loop, can actually edit a real codebase without turning it into spaghetti

imagine that running on a laptop or one consumer gpu w/ some offload. you could just leave a local agent running 24/7 and not care about tokens or vram. tbh thats the dream

i know "opus 4 at 2.5b active" sounds kinda delusional rn, but stuff we have now would sound insane a few years ago too. moe + better data + rl on coding/agentic envs is moving fast, so im hopeful

what do you guys think, is it happening in the next year or so? or whats the size you'd actually want for something like this? idk maybe 30b a3b is more realistic

at least somewhere near opus 4


r/LocalLLaMA • • 23h ago

Discussion Qwen4-35B-A3B - UD-Q4_K_M (used q8-0 engrams) - On an MI60 32gb VRAM GPU made this "benchmark presentation" in Pi Coding Agent

Thumbnail
gallery
0 Upvotes

I wanted to see how well the model could handle recursive checks, web searching, tool usage and so on (I'm also using this model to process my Frigate camera feeds for intelligent notifications).

I'm a human writing all of this, to be clear, but all images/content were produced by the model. Hope it helps somebody (was just a fun test case for me). I had it produce everything as a powerpoint presentation (.pptx) and then convert the slides to a PDF and to individual images.


r/LocalLLaMA • • 21h ago

Question | Help Does Qwen 4 35B still overthink?

8 Upvotes

My main issue with the qwen series is they tend to think a long time. Is it any better on this front?


r/LocalLLaMA • • 8h ago

Discussion I let Qwen4 run overnight on my 5070 Ti. 3.87 million tokens later...

Post image
276 Upvotes

So yesterday I decided to leave my local coding agent running overnight on an actual Godot project instead of doing more benchmarks.

Went to sleep, got milestone notifications on my phone and woke up to some pretty interesting results.

My hardware is nothing crazy:

  • RTX 5070 Ti 16GB
  • Ryzen 7 5700X
  • 32GB DDR4
  • Windows 11

Running Qwen4-35B-A3B UD-IQ3_XXS with a Strata fork, Pi as the coding agent, 128K context, INT8 KV cache, MTP and BF16 vision.

I also built a custom orchestration layer for autonomous missions, Git checkpoints, QA, recovery and notifications.

The overnight run:

  • 8h 33m total runtime
  • 3.87M generated tokens
  • 180.2 t/s median decode
  • 928.9 t/s median prefill
  • 66.5% MTP acceptance
  • 2,794 inference requests
  • 72 Pi sessions
  • 111K maximum actual context
  • 20 integrated milestones

Now the less impressive part lol. 21 milestones were deferred, and around 61% of the generated tokens went into deferred work. Also, 81% of output tokens were reasoning.

Clearly there's a lot of room to improve the harness rather than just chase more t/s.

Everything was running locally, apart from web research and phone notifications.

I'm genuinely curious if anyone else is doing overnight coding runs like this on consumer hardware. How are you handling context management, reasoning budgets and failed missions?

Getting 180 t/s is great, but getting those tokens to actually do useful work seems to be the much harder problem.


r/LocalLLaMA • • 21h ago

Resources Qwen4-35B-A3B-NInfer: ~580 tok/s decode c1, ~5000 tok/s decode c32, ~45k prefill at 8k, and 34.3k prefill at 260k

8 Upvotes

Day 0.5 support.

More benchmarks & evaluation results will be published on huggingface: neroued/Qwen4-35B-A3B-NInfer and inside the NInfer repo.


r/LocalLLaMA • • 5h ago

Discussion Prepare for the normies flooding this subreddit

0 Upvotes

This is just my personal viewpoint and experience, but with Qwen3.5 35B, I tought: we can finally have a somewhat usable chatbot. Then came i invested to use the 27B and Qwen flash next, and i finally moved the usage from achat bot to trusting it for some agentic work, and do some real work.
Now the Qwen4 35B dropped with the same quality if not even a bit better on some cases and the future bigger models hopefully will only have better capabilities.
Since the 35B is now usable, we will see a flood of the normies and that's a good thing. Local AI is not promise for the future but a possible reality for everyone. I learned so much by reading the posts of the amazing people sharing their views, opinion, hardware and projects in this subreddit browsing it became a daily routine to not miss any new information.

35BA3 can run in pretty much any decent computer, even full cpu can be done with some pp and tg concessions. I don't know how much time it will take, but a world where everyone can have his personal agent and assistant running at home is becoming a reality.
We are sharing an incredible journey that is shaping the future of IT , and we still didn't even scratch the tip of it. Everyone has his goals, fame, sharing knowledge, help people or just trying to find a business model with this technology and all this energy is converging in a single point: AI .

I just want to thank all the community , open models, inference engine and people sharing their setups, crazy ideas and vision that pushed this new world forward.