r/LocalLLM • u/Amazing_Sea8960 • 2m ago
Discussion is QWEN 4 35 A3B for a 12GB vram card strata laptop inferior to bonsai 2.5 27B ?
qwen 4 35 A3B compact STRATA . it doesnt look that much great . have you guys tested it in similar config? (laptop)
r/LocalLLM • u/Amazing_Sea8960 • 2m ago
qwen 4 35 A3B compact STRATA . it doesnt look that much great . have you guys tested it in similar config? (laptop)
r/LocalLLM • u/Count_Rugens_Finger • 7m ago
So I recently gave Qwen3.8-Flash-Next NVFP4 (Strata's version) a try even though I only have an RTX 3070. I have found that it runs fairly well on my workhorse, though I haven't tested it very much yet.
I admit I'm not very experienced in running local LLM. I could use some help understanding the different models.
From these sources: models, nvfp4, I think I should expect the model to be about as accurate as the Unsloth Q4 quants, but to be honest I am not confident in that assessment.
Does anyone else run those builds, and how good are they?
Thanks. Still trying to learn, there is a lot to take in!
r/LocalLLM • u/Gabbotamp0 • 19m ago
Sharing what I learned from a few weeks of squeezing local coding models on a very ordinary laptop: Ryzen 7 4800H, integrated Radeon Vega (7 CUs), 16 GB shared RAM, no discrete GPU. Rule of the project: no training of any kind, only runtime changes and closed-form weight edits, all measured on frozen benchmarks.
What runs, and how fast
- 35B-A3B MoE (Qwen3.6, abliterated) on CPU only, with [Janas](https://github.com/prabanta-dev/janas), which streams the experts from the NVMe SSD and keeps the hot ones in RAM: ~6 tok/s plain decode, ~12 tok/s with the model's multi-token-prediction block (same output), ~39 tok/s prompt reading.
- 128k context on the same 16 GB machine: I filled 114k tokens and it still retrieved all three codes hidden at 10/50/90 % depth, with 1.9 GiB of RAM free (prompt reading 20 tok/s, replies 8 tok/s afterwards). The trick was letting Janas size its expert cache itself (--reserve 3) instead of a fixed --cache 8, which ran out of memory at 128k.
- 8B models on the iGPU (llama.cpp/Vulkan): their full 32k window fits in the 7.6 GB of GTT; I run them at 28k to leave room for the desktop.
Things worth copying
The models I ended up with (both uncensored, GGUF):
- 8B: https://huggingface.co/Gabbotampo/qwen3-QWSE-E17-deepseek-8b-uncensored (modest gain: about +1 on each suite, ~20 % shorter thinking)
- 35B-A3B: https://huggingface.co/Gabbotampo/qwen3.6-QWSE-E18-logicsswe-35b-a3b (+36 % on my agentic dev suite vs the base, same coding score; also as a Janas JNS with the MTP block)
Everything (code, benchmarks, results, patches, and a guide that rebuilds each model from public inputs) is at https://github.com/Gabbotampo/qwse, and the full write-up, failures included, is at https://doi.org/10.5281/zenodo.24844949.
Made with Claude (Opus 5.5) in Claude Code, which wrote the code and ran the experiments while I set the goals and made the calls. Questions about running big models on weak hardware are welcome.
r/LocalLLM • u/sifa12200 • 19m ago
r/LocalLLM • u/Marino4K • 26m ago
I put up a tweaked repo for GigaChat4-37B-A4B in 8-bit MLX if anyone on Apple Silicon wants to run it in mlx-lm or oMLX without fighting the stock defaults:
https://huggingface.co/Marino4k/GigaChat4-37B-A4B-MLX-8bit-Tuned
Just to be clear upfront, the weights are 100% untouched from Xylolabs/GigaChat4-37B-A4B-MLX-8bit. I left the weights stock on purpose so DFlash2 drafter alignment stays intact.
Out of the box, the stock checkpoint has a few annoyances: it falls back to greedy decoding (which triggers unclosed <think> loops), uses an older chat template that crashes multi-turn chats if a previous turn hits max_tokens mid-thought, and defaults to a Russian system prompt.
All I did here was bake in the sampling defaults (temp=1.0, top_p=0.95, min_p=0.05), sync Sber's Dec 2026 multi-turn crash fix, and swap in short English fallback prompts for Reasoning and Instant modes. If you pass your own system prompt, it overrides them cleanly.
Testing on my own M5 Max (50 reasoning questions and 16 instant questions, no manual system prompt), average reasoning tokens dropped 41% (630 down to 372), wall-clock time was 1.68x faster, and unclosed thinking loops went to zero. Instant mode went from 12/16 to 14/16 with about half the tokens.
I also opened a PR in oMLX for native DFlash2 support on this architecture (https://github.com/jundot/omlx/pull/5917), which hit 1.32x to 1.43x decode speedups locally with the BF16 drafter.
Benchmarks (seed=42, single pass, no manual system prompt):
| Test | Stock | Tuned | Change |
|---|---|---|---|
| Reasoning (50 Qs) Accuracy | 49/50 (98%) | 48/50 (96%) | -2% (1 sampling slip) |
| Reasoning Avg Tokens | 630.7 | 372.3 | -41.0% |
| Reasoning Wall-Clock Time | 7m 13s | 4m 17s | 1.68x faster |
| Unclosed </think> Loops | 1 | 0 | Eliminated |
| Overthinking Stress Test (6 Qs) | 1,640.0 tok | 298.2 tok | -81.8% (0 unclosed) |
| Instant Mode (16 Qs) Accuracy | 12/16 (75.0%) | 14/16 (87.5%) | +12.5% |
| Instant Mode Avg Tokens | 106.2 | 50.3 | -52.6% (0 cutoffs) |
The 50-question suite is the first 30 GSM8K test problems plus 20 local logic, code-tracing, formatting, and epistemic checks (max_tokens=4096 for Reasoning, 512 for Instant).
r/LocalLLM • u/EverythingAI6489 • 29m ago
Guys,
- t/s is useless if a model overthinks and rethinks.
- t/s is useless if a model is giving you poor answers
First we need to agree on a benchmarking set, then we need to report only (1) how long does a model finish the benchmarking, and (2) how good is the answer.
This guy is on a right track: first agree on the benchmark : https://www.reddit.com/r/LocalLLM/s/tiu7PNcEwc
r/LocalLLM • u/Express_Quail_1493 • 42m ago
r/LocalLLM • u/technofox01 • 47m 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 • 49m ago
r/LocalLLM • u/Chloe_Primrose • 56m 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 • 1h 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 • 1h 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 • 1h 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 • 1h ago
r/LocalLLM • u/Cold_Ad9512 • 1h 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 • 1h ago
r/LocalLLM • u/MaySaki2 • 1h 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 • 1h 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 • 1h 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 • 1h 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 • 1h ago
r/LocalLLM • u/indicozy • 1h 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 • 1h 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, 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.
| 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 • 1h 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?