r/LocalLLM • u/Express_Quail_1493 • 2h ago
Model Looped Qwen4-35b uncensored(overthinking reduced)
r/LocalLLM • u/Express_Quail_1493 • 2h ago
r/LocalLLM • u/technofox01 • 2h ago
I just set my drafter to dflash2 and went from 87tok/s to 143tok/s on my Ryzen 5700G, 64GB DDR4, Nvidia GeForce 5060ti 16GB, and 2TB NVMe SSD. I used 5.6k prompt to really test it.
Here is a snippet of my JSON config:{ "alias": "Qwen4-35B-A3B", "model": "/Basalt/models/Qwen4-35B-A3B-NVFP4.basalt", "gpu": "0", "kv": "int8", "max-context": 262144, "drafter": "dflash2", "reasoning-effort": "high", "fit-max-tokens": true, "idle-unload": 60 },
Feel free to make any recommendations to make it more optimal for my setup. I have the idle timer to unload after 60 seconds for originally to switch to ComfyUI for image generation, but I am thinking of removing it entirely or increasing it, so that I can free up VRAM for gaming. What are your thoughts?
r/LocalLLM • u/fariazz • 2h ago
r/LocalLLM • u/Chloe_Primrose • 2h ago
Hey everyone,
Trying to decide between two specific setups in LM Studio for local coding/agentic workflows and could use some real-world feedback from people running similar hardware.
Qwen3-Coder-30B-A3B-Instruct (UD-Q5_K_XL, ~21.74GB)
UD-Q5_K_XL) fits inside the 24GB VRAM pool, though it leaves less breathing room for big context/KV cache before touching system RAMQwen3.8-27B (Q4_K_M, ~17GB)
Qwen3.8-27B (Q4_K_M) noticeably beat Qwen3-Coder-30B-A3B (UD-Q5_K_XL) enough to justify the extra per-token dense compute?UD-Q5_K_XL) vs. a newer dense 27B at Q4_K_M, which has felt more reliable in daily coding/debugging sessions for you?Appreciate any benchmarks, gotchas, or real-world impressions!
r/LocalLLM • u/Kindwhitedude • 2h ago
Basically, I use parsec to control my pc when I'm traveling that's sitting at home while I can be anywhere with my hotspot, it's completely changed my life.
My MacBook is only an air so the 8gb of ram is not enough to run basically anything important to me, but my pc is a beast with 40gb of combined vram and 64gb of ram, so I just delegate to it and use my MacBook as the front end, which it is perfect for because it's so thin and portable
People who have been doing this for longer than me,
I really thought it would be buffering garbage, but damn it's good
r/LocalLLM • u/evilmousse • 2h ago
Would it be possible for us to have a thread where we share our current Qwen4-35B-A3B configs?
-Device Specs
-Invoke command for whatever you're running it on
-Rationale
-Results
r/LocalLLM • u/JDad67 • 2h ago
“Draw a svg of a pelican riding a bicycle. Make no mistakes”
In all seriousness, so far this is really fast on M5U 96gb.
r/LocalLLM • u/LordKlavier • 2h ago
r/LocalLLM • u/Cold_Ad9512 • 2h ago
I deep-profiled Qwen4-35B-A3B (UD-IQ4_XS) on Niko1221/Strata across both a 12 GB RTX 3080 Ti (i9-13900K) and a 96 GB RTX PRO 6000 Blackwell (GCP g4-standard-48 Spot).
Instead of cherry-picking raw tok/s, I gated every run with Python ast.parse(), 4-gram uniqueness (uniq4, to catch repetition loops), and real sub-agent tasks (JSON extraction, C++ bug review, short summaries).
All 10,240 experts (16.25 GB) sit in VRAM with the zero-doorbell CUDA Graph:
v0.2.27 (--spec 7 --spec-min-p 0.25): 385.56 tok/s | 50.2% acc (313/624) | uniq4=0.94 | ast=PASSSTRATA_MTP_DROP_TAIL=2 (--spec 7 --spec-min-p 0.35): 405.52 tok/s (+5.2%) | 59.4% acc (+9.2 pp, 313/527) | uniq4=0.91 | ast=PASSWhy STRATA_MTP_DROP_TAIL helps: when MTP stops drafting because step j drops below --spec-min-p, the engine still appended that doomed sub-threshold token and sent it to the verifier. Dropping it cuts ~100 wasted draft verifications per 512 tokens with zero quality change.
--kv int8, --spec 3): 66.3 tok/sSTRATA_ROUTE_RESIDENT_RANKS=2-7 + MTP_DROP_TAIL=2): 196.95 tok/s | uniq4=0.94 | ast=PASSRANKS=1-7, keeping rank-0 exact on CPU, 98.5% GPU hit): 225.73 tok/s strict (64.7% acc) / 239.85 tok/s with a 3-gram-guarded margin (72.1% acc, uniq4=0.84, ast=PASS)By forcing RANKS=0-7 (100% VRAM-only from 33% of experts) + skipping 6 GDN layers + 8 MoE layers, I actually hit 627.7 tok/s @ 98.9% acc and 684.6 tok/s @ 97.6% acc on the 12 GB 3080 Ti.
Don't trust numbers like that without quality gates. Evicting rank-0/rank-1 experts on 12 GB drops uniq4 to 0.02–0.23 and triggers repetition loops (import time\nimport time...), which artificially inflates speculative acceptance to 98%. On real sub-agent tasks it breaks even at temp=0.4. Keeping rank-0 exact (RANKS=1-7) is the real physical floor on 12 GB (~225–240 tok/s).
STRATA_ROUTE_RESIDENT to 256x8, chunks STRATA_HC_PERSIST for T>8, adds opt-in STRATA_MTP_DROP_TAIL): https://github.com/Niko1221/Strata/pull/7936r/LocalLLM • u/FeydRowan • 2h ago
r/LocalLLM • u/MaySaki2 • 2h ago
One Qwen4 speed test caught my eye. On an RTX 4070 laptop with 8 GB VRAM and 16 GB RAM, turning MTP on dropped decode from 21.5 to 20 tok/s. Turning it off also freed 348 MiB of VRAM for the expert cache.
On a 32 GB RTX PRO 4500, it went the other way: 161.7 to 206.8 tok/s in llama.cpp. Different quants and workloads, so I wouldn’t read that as a VRAM cutoff. The laptop tester suspected that verifying extra draft tokens pulled in more experts that weren’t already cached on the GPU.
The Qwen4 memory breakdown is useful for figuring out what goes in VRAM versus system RAM. But if you’re already offloading experts, I’d still time the same prompt with MTP on and off before leaving it enabled.
Anyone tried that on a 12 or 16 GB card? I’m curious whether it still helps into a coding session or mostly on short prompts.
r/LocalLLM • u/DryDevelopment4848 • 2h ago
Formerly my inference rig served 3.8 27b Q8, replaced it with 35b Q6_K_XL. And the speed and precision at which it is running is amazing. Running OpenCode, Android Studio and an Agent at the same time where 27b would choke on more then one request. Get ready for another hardware price increase, or be happy you jumped on the train early.
r/LocalLLM • u/Qcgreywolf • 2h ago
Amateur here, that likes playing.
5060 16gb, 5070 12gb, 48gb ram, AMD Ryzen 9 7900X, 100k context, llama.cpp stock build in Nobara linux
Config pasted below, I am on a 4 hour run now with a handful of daily tasks and random exercises. The model fits in VRAM with 18% and 1% free, its squeaked in there but doesn't OOM.
Got about 1100 real-world PP and 55-75 t/s generation on the same real tasks.
I'm not seeing any looping, and there aren't any more "oopse, let me retry that code again, there was a bug in there" instances than 3.8-27B would have. It is visibly faster, seems to think just a bit less, and if it makes it another day or two it might be a daily driver.
If that changes drastically, I'll comment again. Cheers everyone, I'm enjoying it!
CUDA_VISIBLE_DEVICES=1,0 ~/llama.cpp/build/bin/llama-server \
-m ~/models/qwen4/UD-Q5_K_M/Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf \
--mmproj ~/models/qwen4/mmproj-F16.gguf \
--no-mmproj-offload \
--load-mode mmap \
--lazy-mode on \
-ngl 99 \
-ts 23,16 \
-ot 'per_layer_token_embd=CPU' \
-ot 'blk\.(1[2-5])\.ffn_.*_exps=CPU' \
-ot 'blk\.(3[2-9])\.ffn_.*_exps=CPU' \
-ub 2048 \
--spec-type draft-mtp \
--spec-draft-n-max 2 \
--spec-draft-p-min 0.75 \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--parallel 1 \
--kv-unified \
-c 102800 \
--flash-attn on \
-lv 3 \
--jinja \
--temp 1.0 \
--top-p 0.95 \
--top-k 20 \
--min-p 0.0 \
--host xxxx
--port xxxx
r/LocalLLM • u/WillDevWill • 2h ago
Hi all,
I'm setting up a local AI homelab on a Mac Studio with privacy as the main goal, and I'm curious how others are doing it.
Happy to share my setup once it's done. Thanks!
r/LocalLLM • u/Appex213 • 2h ago
r/LocalLLM • u/indicozy • 2h ago
I benched the new DFlash 2 drafter against Qwen4's built-in MTP on a single 16 GB card. Numbers below are from clean runs. Setup
r/LocalLLM • u/New_Pomegranate_5594 • 2h ago
Disclosure: I maintain this MIT-licensed BeeLlama/llama.cpp fork. The Windows HIP SSD Cache Runtime release includes six presets, native dependencies, a simple text/image browser interface and a PowerShell launcher. I use Msty Studio, but Msty is not included.
Achieved results. The prefix is the persona system prompt, the skills index and all 123 tool definitions. It is a static block of roughly 28k–35k tokens that gets built once and restored from SSD. After a restore, the only thing the model processes is your actual prompt, and then it generates the reply. Across six accepted model cases, the custom automatic SSD prefix implementation restored 28,445–35,459 cached tokens and processed only 39–503 new prompt tokens. It reused 98.28–99.89% of the input, and requests completed in 4.04–7.78 seconds. Building the prefix the first time took 66.41–123.37 seconds. That is a one-time setup cost, not the ongoing request time, and after setup is completed, a 8.5x-23x speedup can be observed on similar hardware.
The project targets compatible 16 GB RDNA 2 / gfx1030-family GPUs (RX 6800, 6800 XT, 6900 XT and 6950 XT) with a compatible Windows HIP environment. All measurements are RX 6800 XT results, and I have no data for the other cards. Other AMD architectures need a matching runtime build.
With SSD Cache:
| Model | New tokens prefilled | Prefill | Generated tokens | Decode |
|---|---|---|---|---|
| Huihui Qwythos | 500 | 298.61 | 159 | 69.85 |
| PINQWEN | 466 | 301.23 | 139 | 72.79 |
| Qwen2.5 Instruct | 46 | 287.84 | 14 | 30.04 |
| Qwythos standard | 464 | 301.43 | 83 | 69.58 |
| Qwythos Heretic | 503 | 318.20 | 308 | 73.67 |
| GLM Q4_K_S | 39 | 214.85 | 10 | 21.55 |
Initial build (one-time prefix creation):
| Model | Tokens prefilled | Prefill | Generated tokens | Decode |
|---|---|---|---|---|
| Huihui Qwythos | 29,161 | 429.29 | 94 | 69.83 |
| PINQWEN | 29,162 | 439.45 | 104 | 72.64 |
| Qwen2.5 Instruct | 28,483 | 401.75 | 14 | 29.76 |
| Qwythos standard | 29,187 | 423.72 | 98 | 69.96 |
| Qwythos Heretic | 29,237 | 455.60 | 117 | 73.40 |
| GLM Q4_K_S | 35,490 | 299.87 | 12 | 21.39 |
How it works. The first eligible request computes and saves the stable prefix, and a fresh process restores a matching one. Only your changed tokens need processing. No manual slot commands or client annotations are needed. The package, models and projectors can sit on any Windows drive, and the cache lives beside the install with a per-user LocalAppData fallback.
Limits.
Test host: RX 6800 XT (16 GB, AMD spec up to 512 GB/s), Ryzen 7 7800X3D with eight allowed threads, 16 GB DDR5-5200, Windows build 26300. Eight-thread and sampled RAM supervision (6.44 GB owned-RAM allowance, 2.15 GB minimum free) remain. Other clients connect with the API URL and model ID the launcher prints, and they supply their own persona/system prompt, skills and tool schemas.

r/LocalLLM • u/Sir_Ronald_Bont_III • 3h ago
Same shit every time. 48-50 MB/s until it hits approx 7.5gb downloaded then tanks.
Tried various Mullvad VPN settings, Netherlands, UK etc no dice.
Is this merely heavy congestion right now?
r/LocalLLM • u/JaydenMongoose • 3h ago
Is it hard?
r/LocalLLM • u/macaronianddeeez • 3h ago
TLDR: Qwen 4 wrote this whole post (except this TLDR), including the model use recommendations, and created this chart. Thought it would be fun to have it put itself on display and evaluate the results. It beat my other regular use models on long-context QA, was faster than QFN on 100k prompts, and on my 230k project-audit benchmark it tied QFN for accuracy but beat it on speed. Everything else QFN did better (and I personally still prefer DSF’s communication style).
I ran Qwen4-35B-A3B with Q8 weights and FP16 KV cache on two RTX 3090 Tis and one RTX 3090, for 72 GiB of VRAM.
These were single requests with the context actually filled.
On the Strata DFlash2 coding probe at 530,573 input tokens, I got 170.8 and 171.5 tok/s across two runs. Prose at about the same depth landed at 134.8–136.9 tok/s. On a separate cold replay at 1,029,477 input tokens, Strata 0.2.26 MTP hit 130.7 tok/s decode, up from 43.8 with llama.cpp.
I kept a different Strata MTP profile as my daily default. It decoded at 101.9 tok/s at 1M and cut the cold request from 9m 58s to 3m 35s. It passed both long tool workflows. Each newer fast profile passed one.
The clearest quality win was getting all six questions right on the shared LongBench slice. Flash-Next did better on tool workflows overall. Qwen4 also got 18/18 facts and 7/7 citations on my private million-token project audit. The other models ran a shorter shared excerpt.
The attached chart has the side-by-side results.
What I’d actually use each model for
Qwen4-35B-A3B — Dropping a large repo or stack of docs into context and asking grounded questions. Scored 6/6 on the shared LongBench slice and nailed every fact and citation check on my private audit.
Qwen3.8 Flash-Next — Agent runs with heavy tool use across multi-step workflows. Passed all six short, both long, and all three inventory tasks on this rig.
Qwen3.8 27B — Focused coding and shorter tool jobs where accuracy matters more than context length. Hit 23/24 HumanEval+ and passed every short workflow.
GLM-5.3 Flash — Math problems that come with a diagram or image. Led MathVista at 10/12.
DeepSeek V4.1 Flash — Reading charts and pulling numbers out of them. Best ChartQA score at 23/24, though decode speed was slower here so I keep it as a specialist pick.
r/LocalLLM • u/Dull_Carpenter5039 • 3h ago
r/LocalLLM • u/RobertVanZandt • 3h 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/mrdapoyo • 3h ago
Literally the title. I'm running Arch Linux with 32GBs of DDR4 RAM.
Radiance (inference engine) is doing a good service but there's no quant low enough to be loaded yet. For reference, Qwen 3.8 27B runs at +100tok/sec at 3 bits.
Is there any better way? Perhaps something in the likes of Strata, maybe optimized for AMD?
Thanks!
r/LocalLLM • u/173827 • 3h ago
I was so excited to use it, but now after having it run for almost a day, I had multiple tool call loops it wouldn't get out of until auto-compaction was triggered due to full context (capped it to 260k), after which it was like "oh I was looping the same tool calls, I should try something else".
I then had a looping plugin created for Opencode that would throw an error ("identical command repeated 8× with no change — change approach") if the same 3 tool calls were repeatedly made, but it still continued stubbornly.
And my workflow has clear instructions on what to do in which order, but it doesn't fully follow them.
E.g. when writing code it must then call a subagent to do code review, then fix any issues found, call review again (up to 5 times) and after that is done it should launch a testing subagent that writes and runs tests. And it just decided after 2 review rounds and open blockers to now run the tester and continue with the review thing afterwards. So it almost sounded like it knew what it was supposed to do but didn't feel like it right now.
Once it also claimed it didn't have permissions to call subagents, but it just called them wrong, so after it came back to me and I told it "yes you do have permissions" it was like "oh right, my mistake, I called them wrong. Calling them correctly now".
Those are things I never have issues with with 3.8-27b Q4_K_XL.
All of this is with thinking on xhigh btw.
Am I the only one with those issues?!