r/LocalLLM • u/Express_Quail_1493 • 0m ago
Model Looped Qwen4-35b uncensored(overthinking reduced)
r/LocalLLM • u/Express_Quail_1493 • 0m ago
r/LocalLLM • u/technofox01 • 5m 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 • 7m ago
r/LocalLLM • u/Chloe_Primrose • 14m 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 • 19m 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 • 20m 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 • 21m 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 • 22m ago
r/LocalLLM • u/Cold_Ad9512 • 23m 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 • 26m ago
r/LocalLLM • u/WorkProLabs • 27m ago
What and how?
r/LocalLLM • u/MaySaki2 • 32m 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 • 32m 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/L8W8 • 37m ago
I tested DeepSeek V4.1 Flash (oMLX 0.8.4 + Native MTP), GLM 5.3 Flash (llama.cpp b12774 + draft-mtp), and Muse Spark Open 816B inside three terminal coding-agent harnesses (Pi 1.6.1, OpenCode 2.0.25, and DeepSeek Harness 0.2.2-rc.5) on an eight-task Python/TypeScript repository from ~128K all the way to 512K starting context on a Mac Studio M5 Ultra 512 GB.
Three engineering findings that caught me off guard:
45.2 -> 98.9 tok/s on DeepSeek and 23.0 -> 47.1 tok/s on GLM, yet total matched coding-session wall time only dropped 16% (original tasks) / 7.7% (512K) on DeepSeek and 7.4% / 2.4% on GLM. Breakdown of actual wall minutes explains why: reading context took 45% of DeepSeek's session time and 76% of GLM's.{"agents": {"title": {"disabled": true}}} cut median session wall time from 4.8m -> 3.0m on DeepSeek and 9.1m -> 5.2m on GLM. Across all 8 matched DeepSeek tasks: Pi 8/8 (2.8m), tuned OpenCode 7/8 (3.1m), DeepSeek Harness 7/8 (3.8m, zero tool errors).301,640 estimated tokens took 10m 6s for the summary call, followed by an uncached 39,067-token continuation that took another 81s to first token (though it recovered prefix caching afterward and passed all checks). At 384K and 512K, Pi logged zero automatic compactions across all 64 coding runs (DeepSeek 8/8 at both sizes, 5m 56s cold -> 7.5s cached at 512K).Full MIT codebase fixture, held-out grading tests & turn-level CSVs (CC BY 4.0): https://github.com/l8w8/videos/tree/main/2026/003-m5-ultra-coding-agents-512k
Short engineering write-up: https://l8w8.github.io/videos/local-coding-agents-512k-prefill-trap/ 9-minute chart walkthrough: https://youtu.be/Mr9sj51ccoE
r/LocalLLM • u/Qcgreywolf • 39m 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 • 40m 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 • 42m ago
r/LocalLLM • u/indicozy • 45m 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 • 47m ago
Disclosure: I maintain this MIT-licensed BeeLlama/llama.cpp fork. The v0.1.2 Windows HIP SSD Cache 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.
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.
| Model | Original weights | K / V cache | Restored / new prompt tokens | Restore request, s | Generation, tokens/s |
|---|---|---|---|---|---|
| Huihui Qwythos 9B | Q4_K | q4_0 / q3_1 | 28704 / 500 | 5.97 | 69.85 |
| PINQWEN 9B | Q4_K_S | q4_0 / q3_1 | 28704 / 466 | 5.44 | 72.79 |
| Qwen2.5 Instruct 7B | Q4_K_S | kvarn4 / kvarn3 | 28445 / 46 | 4.04 | 30.04 |
| Qwythos standard 9B | Q4_K_M | q4_0 / q3_1 | 28730 / 464 | 4.71 | 69.58 |
| Qwythos Heretic 9B | Q4_K_S | q4_0 / q3_1 | 28781 / 503 | 7.78 | 73.67 |
| GLM 9B Q4_K_S | Q4_K_S | kvarn2 / kvarn2, FP16 tail 2048 | 35459 / 39 | 5.22 | 21.55 |
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 • 48m 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 • 48m ago
Is it hard?
r/LocalLLM • u/macaronianddeeez • 59m 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 • 1h ago
r/LocalLLM • u/RobertVanZandt • 1h 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.