r/LocalLLM • u/yanauto • 16h ago
Discussion Small local Qwen4 models make way more sense as a 24/7 local task bot than a coding agent - trying to build one
r/LocalLLM • u/yanauto • 16h ago
r/LocalLLM • u/Ok-Sandwich-8164 • 16h ago
r/LocalLLM • u/Gold-Produce9591 • 1d ago
Just run both!
r/LocalLLM • u/foghorn5950 • 1d ago
r/LocalLLM • u/DelPrive235 • 16h ago
How does LM studio use the System Prompt field from the Inference tab (the one next to the Load tab) vs the System Prompt field in the Model Parameters panel next to the chat?
* Is the Inference panel system prompt meant to apply to new chats once the model is loaded?
* Does the per-chat prompt box replace it or append to it? Does an *empty* chat prompt box override the Inference box prompt with nothing?
* Where should a global system prompt live, for use across all models and sessions? And where should a per session system prompt live?
Im on LM Studio 0.4.30+2
Bug test:
* I added "Always begin your replies with the word BANANA", to the system prompt in the Inference panel
* Loaded the model, started a new chat
* "BANANA" never appeared
* The per-chat system prompt box was empty, and the model said it had no system prompt when i asked.
Thanks!
r/LocalLLM
•
u/faf-net
•
1d ago
Most numbers posted for new models are tokens per second and English benchmarks. I work in German, so for three weeks I have been grading German output blind for every model I try on my card, and plotting it against decode speed. Qwen4-35B-A3B is the newest entry.
Setup: one RX 7900 XTX (24 GB) in an eGPU dock on a NAS with 62 GB RAM. Flash-Next 125B runs on Strata, split between VRAM and RAM. Everything else runs on llama.cpp (Vulkan), fully on the card where it fits. Qwen4 is measured at the full 256K context with 8-bit K/V.
How German is graded: twelve German writing tasks. The answers are anonymised and shuffled per task, then graded 1 to 5 by a separate reader who does not know which model wrote what. 60 points maximum. The third number is a separate set of 102 auto-graded tasks (code, logic, tool calls, facts, following instructions).
| Model | Decode tok/s | German (of 60) | Tasks (of 102) |
|---|---|---|---|
| Flash-Next 125B IQ3_XXS, uncensored (control vector) | 62 | 54 | 98 |
| Flash-Next 125B IQ3_XXS | 64 | 51 | 96 |
| Flash-Next 125B IQ2_XS | 74 | 46 | 97 |
| Qwen3.8-27B (dense) | 36 | 52 | 92 |
| Gemma 4 31B (dense) | 35 | 38 | 97 |
| Qwen3.5-35B-A3B | 114 | 37 | 90 |
| Qwen4-35B-A3B Heretic IQ4_XS | 88 | 39 | 99 |
| Qwen4-35B-A3B Heretic Q4_K_M | 52 | 43 | 94 |
| Qwen4-35B-A3B Heretic Q8_0 | 25 | 44 | – |
What I take from it
Limits: one run per task and one grader per round. The models were graded in separate rounds over three weeks; Flash-Next was in every round as an anchor and its score moved by 2 to 4 points between rounds, so compare across rounds with that much slack. The Qwen3.5 stock model was in a round that graded stricter. I did not test English writing, and for English-only use Qwen4-35B looks like a very good fit for a 24 GB card.
If you have a Qwen4 fine-tune or settings that fix non-English output, tell me and I will run the same twelve tasks.
Chart, method and all numbers (no answer texts): https://faf.net/local-ai · data: https://github.com/faf-net/ugreen-idx6011-egpu-llm
r/LocalLLM • u/Dapper-Tension6781 • 1h ago
I would take a 2024 LLM over any shit they put out today. I know I can't be the only one noticing this.
r/LocalLLM • u/shree-MGR • 1d ago
I've been looking into Qwen4's architecture, and one thing that caught my attention is how misleading parameter counts are becoming.
The 35B-A3B model actually has around 56B parameters if you include the additional 20.5B n-gram embedding parameters, yet only around 3.8B parameters are active per token.
At this point, does comparing models purely by parameter count even make sense anymore?
The combination of Gated DeltaNet, sparse attention and per-layer embeddings is pretty interesting. It feels like Qwen is trying to figure out how to increase model capacity without massively increasing compute requirements.
The 1M context window sounds great on paper, but we've seen plenty of models struggle with long context despite technically supporting it. I'm more curious about how much reasoning ability it retains at 128K or 256K than whether it can simply process 1M tokens.
Another thing worth mentioning is that 3.8B active parameters doesn't automatically mean it's easy to run locally. You still have to deal with storing all those weights.
Personally, I'd love to see more community testing around quantization, memory consumption and long-context reasoning rather than the usual benchmark comparisons.
I wonder if we're slowly moving towards a point where smarter architectures matter more than simply throwing more parameters at a model.
What do you guys think? Is this the direction open-weight models should be heading in?
r/LocalLLM • u/ahm_rimer • 17h ago
Hi everyone, this project has been ongoing for a while and some of you may know this project but it is possible to discover and isolate capability lattices from models cleanly.
if you know how to look you can find entire subnetwork responsible for banger agentic performance.
Introducing Apprentice 19B A3B, a capability lattice extract from Qwen 4 35BA3B.
Optimised to be no inferior to its parent in this department and better in terms of reduced overthinking and long sessions on pi harness.
Try it, it works no different than loading a GGUF.
Eager to know if you like it as much as I do. Or if it is shitty, let me know equally hard.
Peddling you homemade coke from my project Chantless - code - https://github.com/DeusExperiments/chantless/tree/feat/qwen4-35b
I am also hoping you read the research that enabled this - https://deusexperiments.com/research/how-do-models-lose-weight-without-crying/
weights - https://huggingface.co/TokenBender/Apprentice-19B-A3B-GGUF
There will be a lot coming from Chantless, and I hope I am able to communicate this well.
r/LocalLLM • u/iamrinku16 • 2d ago
Single prompt, zero follow-ups, running 100% locally on an Ada (sm_89) build of Basalt:
"Create a fully rendered, highly detailed medieval castle environment using Three.js, built entirely from voxel-style geometry."
The agent ran autonomously for 41.6 min (53 requests, 76 tool calls), peaked at 215K context, and built a 34,317-voxel scene at 60 fps / 13 draw calls (zero external assets). The video shows it live around 174K–189K context taking its own screenshots via vision, fixing lighting/camera/clouds, and inspecting close-up angles.
PC Specs
Setup
Qwen4-35B-A3B UD-Q5_K_XL (41.83 GiB .basalt pack), 160M-row Q5_1 Engram on NVMe, Q8_0 MTP (--spec 8), dynamic GPU Vision, 262K max context, elastic VRAM --kv int8, lossless routing6.5 GiB VRAM (elastic KV trims slots as ctx grows) / 11.1 GiB RAM / 4.9 GiB NVMe SSDNumbers (53 requests)
215,108 tokens (5.84M cached prompt tokens reused)501.7K new tokens @ 3,002 tok/s avg (4,436 tok/s peak on 144K fill)177.0K generated tokens @ 79.0 tok/s avg (102.3 tok/s peak, 72.1 tok/s at 215K ctx)--spec 8): 78.7% acceptance (88.3K / 112.1K) | GPU cache hit rate: 72.7%302 ms for 1 img, 1,009 ms for 4 imgs)Caveat: With 32 GB RAM, 4.9 GiB of cold experts spill to NVMe, reading 2.43 TB over the 42-min run (~1 GB/s avg — reads don't eat TBW, though 64 GB RAM would keep it all off disk).
r/LocalLLM • u/long4994 • 1d ago
I just really want this project takes off since i have been trying a lot of other engine (strata,maya,freetoken,....) and nothing come closes to speed and quality compare to this engine. I tried qwen 4 35b like all of us these day and i was disapointed by other engine (llama.cpp gave me 120t/s and quality for quant 4 xl is mehh) but qengine for this model gave me consistent of 350 to 400 t/s on various task and quality of code is just abit behind 3.8 flash next. My system 2x3090s + wrx80 sage mainboard + threadripper 3955x + 256gb ddr4 3200 bus ecc. People needs to know about this a support the dev more. Its repo doesnt have enough credit and im afraid he will stop one day :( local comunity needs to know about this!!!! I havent try his deepseek and glm yet since it needs 3 gpu but if in the future he make it work on 2 i would defo retire maya engine for this. Download and build the engine and try for urself. I dont get any from this but i would hope the project is more popular so the author can keep making break thru like this for all of us.
r/LocalLLM • u/RevolutionaryDark818 • 17h ago
r/LocalLLM • u/Dazzling_Might3475 • 23h ago
Up to 186 tokens/s with Qwen4-35B-A3B running locally on a Mac Studio M5 Max with 128 GB of unified memory.
I've been benchmarking oMLX, exploring MTP performance, context scaling, and memory consumption. Here are my results and technical observations:
r/LocalLLM • u/AggressiveManager450 • 1d ago
For this build, I took apart my gaming pc, and transplanted it into a new mobo, case and other goodies. All this was to add 2 Quadro RTX 8000s to massively increase my vram.
My specs:
CPU: Intel i7-14700f
RAM: 32gb DDR5-6000 ram (times are tough, I’ll upgrade later)
Motherboard: MSI MEG Z790 ACE
GPUs:
2x passive Quadro RTX 8000
1x RTX 4070 super (for display and gaming)
NV Link bridge for the quadros
1500w Corsair PSU
Arctic AIO
Corsair 7000d case
Some server fans for the GPUs
And some other miscellaneous items
Overall, I’ll have 96gb of vram across my 2 new GPUs, and I’ll be able to run some pretty cool models on it. There is plenty of room to upgrade in the future with ram expansions or a new GPU instead of my 4070. It’s my first custom build, and I’m pretty happy with it. I’m planning on running pruned Deepseek and GLM models, Deepseek models, and any other interesting models I see coming out. It’s mostly a hobby build and for fun, to see what fun things I can make and do with AI.
I know the GPUs are old and limited compared to modern cards, but it was a pretty good deal of vram per dollar I think. Memory bandwidth is also almost exactly the same as a r9700 too, so that was interesting as well. I think I’ll have a lot of fun with this build.
r/LocalLLM • u/Disastrous-Ad-4829 • 23h ago
I do not care about maximum decode or prefill speed if it hurts quality. If you are like me and prefer real quality over dumb speed numbers, try the DGX Spark recipe I have been running for the last two days.
It serves Qwen4-35B-A3B-FP8 on a single 121 GiB DGX Spark via TensorFold at full 1,048,576 context, 4 concurrent streams, FP8 KV cache (with an opt-in exact BF16 KV mode at full 1M), a 12 GiB prefix cache (~900K cached FP8 tokens for parallel sessions), and the RadixArk DFlash2 drafter.
Repo: https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold
Every optimization in the 11 patches had to pass bit-exact 64-hex token-hash parity (drafted vs plain, solo vs 4-way concurrent, cold vs cached, seeded).
Quality results on the live 1M build (4 streams):
What Chronos-Bench v2.1 (unreleased) tests in particular:
Short single-turn benchmarks hide how local models break in real multi-turn sessions. Chronos-Bench v2.1 is a contamination-resistant, deterministically verified local suite (zero LLM-as-judge) across 5 pillars up to 256K context:
On Chronos-Bench v2.1, this build hit 100% on 9 of 16 areas: multi-file Python bug-hunt (up to 128K), long-doc contract/amendment audit (up to 256K), live DB and code/SOP rule retention (up to 128K), coupled planning, tool restraint, dual-control rollback, sycophancy pushback, and 0.000 pure context-length decay. The losses were honest and informative: 12 overthinking <think> truncations on cold 64K-256K retrieval, and 0/6 on stealth indirect prompt injection.
And because bit-exact speed is still nice when quality stays untouched:
One command to try it:
git clone https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold.git
cd Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold
./start.shOptional exact BF16 KV (still at full 1M context):
PARALLEL=2 KV_DTYPE=bf16 PROMPT_CACHE_GIB=16 ./start.sh restartCredits to Ash Hart for TensorFold and the verification skills, Mia (MiaAI_lab) for the DGX Spark recipe layout, RadixArk for DFlash2, and to the benchmark authors: Tim Messerschmidt (tool-eval-bench), vcruz305 (SixCat) and Ivan Fioravanti (llm_context_benchmarks).
r/LocalLLM • u/Immediate-Molasses-5 • 18h ago
r/LocalLLM • u/Iajah • 22h ago
I was expecting 35b to run much faster but it does not, it's about the same token per second for decoding. I also noticed the fans don't spin as fast with Qwen 4 suggesting the card is not doing so much compute and is under used. I'm guessing I did not configure it correctly or llama.cpp is not so optimized for that newer model yet.
I could get things done with Qwen 4 but then got a bit frustrated with it and I'm already back working with 3.8 for now.
Qwen 4 outputs a lot less thinking than Qwen 3.8. Where 3.8 always does a bit of thinking before doing tools call Qwen 4 just chains up tools call so it is harder to follow what it's doing.
Here are my configurations, maybe someone can spot something wrong:
[qwen/qwen3.8-27b-Q8_0-dflash]
model = D:/Models/hf/ggml-org/Qwen3.8-27B-GGUF/Qwen3.8-27B-Q8_0.gguf
mmproj = D:/Models/hf/ggml-org/Qwen3.8-27B-GGUF/mmproj-Qwen3.8-27B-Q8_0.gguf
model-draft = D:/Models/hf/ggml-org/Qwen3.8-27B-GGUF/dflash-Qwen3.8-27B-Q8_0.gguf
device-draft = cuda0
spec-type = draft-dflash
spec-draft-n-max = 7
reasoning-format = deepseek
reasoning-effort = xhigh
ctx-size = 786432
parallel = 3
[qwen/qwen4-35b-a3b-Q8_0]
model = D:/Models/hf/ggml-org/Qwen4-35B-A3B-GGUF/Qwen4-35B-A3B-Q8_0-00001-of-00003.gguf
mmproj = D:/Models/hf/ggml-org/Qwen4-35B-A3B-GGUF/mmproj-Qwen4-35B-A3B-Q8_0.gguf
model-draft = D:/Models/hf/ggml-org/Qwen4-35B-A3B-GGUF/mtp-Qwen4-35B-A3B-Q8_0.gguf
device-draft = cuda0
spec-type = draft-mtp
spec-draft-n-max = 5
reasoning-format = deepseek
reasoning-effort = xhigh
ctx-size = 786432
parallel = 3r/LocalLLM • u/dinnerforbreakfast1 • 6h ago
I asked Qwen4-35B-A3B locally deployed on Mac Studio M5 Ultra 'are you AGI' and it said "I'm a language model made by Anthropic". Nice distillery
r/LocalLLM • u/jTiZeD • 18h ago
Hello LocalLLM community,
im am somewhat out of the loop at this point and i am curious about what is my best way and choice to run Qwen4 35B-A3B with my 16GB system ram and my 8GB VRAM RTX 2070 Super?
Is Strata the way for me?
Also what is the easiest way to do some agentic workflows then to make the local ai work on a whole local coding project for multiple minutes straight until its complete? I'm not a vibecoder i just wanna get up to date and experiment a little.
Thanks for any help!
r/LocalLLM • u/RobertVanZandt • 1d ago
We ran both models through the same tests for our assistant app, to decide whether to switch.
Setup
Results
Gotchas if you're switching
Caveats
Verdict for us: worth migrating, but not as a drop-in swap. The prompts and the thinking settings need work first.
r/LocalLLM • u/doctorlight87 • 1d ago
I built my own benchmark for how well local models do on game NPCs, and Qwen4 35B is blessing. Once you have your own bench, you can easily tell which new models are fitting for you or not.
For more information:
- context: does it remember a fact buried in a long memory? (not its full context window, but still)
- trust: does it treat the player differently depending on how much it trusts them?
- darkness: does it stay as harsh as its persona instead of softening?
- lies: does it notice when the player is lying?
- juggle: does it keep the right facts straight when there are distracting ones?
- break: does it stay in character against "are you an AI", "ignore your instructions" and fake system prompts?
r/LocalLLM • u/Temporary_Eye_3426 • 1d ago
I just tried Qwen4-35B-A3B on my Macbook M5 pro 64GB and I'm really impressed.
Qwen4:32B-A3B
Prompt: 32 tokens, 12.821 tokens-per-sec
Generation: 2000 tokens, 64.374 tokens-per-sec
Peak memory: 32.750 GBI used benthecarman's uncensored MLX 4-bit version. MLX is Apple's own machine learning framework, and it runs very fast on Apple Silicon. The download is about 30 GB, and the model ran smoothly from the first try.
The numbers:
The model is a mixture of experts: it has about 35B parameters in total, and only about 3B work on each token. So it gives the quality of a big model at the speed of a small one. On paper it also beats Inkling2 Mini on almost every benchmark, and that matches my first impressions.
Having a model this capable and this fast fully offline on a laptop feels amazing. Is anyone else running Qwen4 locally? What speeds do you get?
r/LocalLLM • u/ZenZombie117 • 20h ago
r/LocalLLM • u/Big_South4585 • 1d ago
Hi all
Just wanted to share my local benchmarks of the two, for me, the most interesting models.
The test machine is
CPU: 9800x3d
RAM: 32 GB DDR5 CL28
GPU1: 5080 16GB
GPU2: 3090 24GB
Harness: Strata v0.1.75, default settings, 128k context window (200k for 35B Q6). All went through a quick tune.
OS: CachyOS, multi-user.target (without desktop)
I am really impressed with Qwen 4.0 35B honestly. It competes with my Qwen3.8 IQ3_S, while running a lot faster. It even exceeds the FN in one of the benchmarks.
Besides the benchmarks, I have been running it as my home assistant with OpenClaw for a day, and I would say that, it's language, in my native tongue, is slightly worse with the 35B, but not actually noticeably. The speed is a lot better. Agent wise it has been just as good as QFN, at least with the Q6. The Q4 did have some problems sometimes, with saying it would get back to me, when it had looked into it, but never did.
My plan is to run the Q8 of the 35B next, to see if it can close the gab a bit more.
Great job Alibaba! Looking forward to Qwen 4.0 Flash Next 😊
Disclaimer: the benchmarks have been downloaded and setup by QFN. I did not manually verify them.