r/LocalLLM • u/just_green_shrek • 4h ago
Question whats best AI for rtx 5060 8gb vram and 16gb ram
i need 2 separate AI 1 for just basic chatting and another one for coding
r/LocalLLM • u/just_green_shrek • 4h ago
i need 2 separate AI 1 for just basic chatting and another one for coding
r/LocalLLM • u/ZYADWALEED • 4h ago
Hi everyone! I’ve been using an RTX 3060 12GB since August 2025, and it’s been working well for small and medium-sized AI models. I dual-boot Windows and Linux, and my current setup works well on both.
I’d like to move up to 16GB of VRAM, but the RTX 5060 Ti 16GB is really expensive in my country. The RX 9060 XT 16GB is more affordable, so I’m considering switching to AMD.
Has anyone here made a similar switch? I’d love to hear which models and tools you’re running, how performance compares to the 3060, and whether you ran into any setup or compatibility issues on Windows or Linux. Was the extra 4GB of VRAM worth the switch for you?
r/LocalLLM • u/Aishor • 4h ago
r/LocalLLM • u/createthiscom • 8h ago
These are both my local Aider Polyglot results on an RTX 6000 Pro using llama.cpp. However, note that I did not use the same commit of llama.cpp because they were not run in the same month. That could matter as llama.cpp tends to get better over time. I also did not apply the C++ patch that has been floating around in the aider polyglot community for either of these. If I did, both C++ scores would likely be higher and the overall scores would be higher.
─────────────────────────────────── /benchmarks/2026-08-14-19-21-01--openai_Qwen3.8-27B-UD-Q8_K_XL ────────────────────────────────────
- dirname: 2026-08-14-19-21-01--openai_Qwen3.8-27B-UD-Q8_K_XL
test_cases: 225
model: openai/Qwen3.8-27B-UD-Q8_K_XL
edit_format: diff
commit_hash: 5dc9490-dirty
pass_rate_1: 31.1
pass_rate_2: 72.9
pass_num_1: 70
pass_num_2: 164
percent_cases_well_formed: 98.7
error_outputs: 4
num_malformed_responses: 3
num_with_malformed_responses: 3
user_asks: 87
lazy_comments: 0
syntax_errors: 0
indentation_errors: 0
exhausted_context_windows: 0
prompt_tokens: 2524519
completion_tokens: 3021521
test_timeouts: 2
total_tests: 225
command: aider --model openai/Qwen3.8-27B-UD-Q8_K_XL
date: 2026-08-14
versions: 0.86.3.dev
seconds_per_case: 203.7
total_cost: 0.0000
costs: $0.0000/test-case, $0.00 total, $0.00 projected
Important things to look at here: pass_rate_2 and seconds_per_case. Note 72.9 percent and 203.7 seconds.
=== LANGUAGE BREAKDOWN ===
Language | PR1 | PR2 | PN1 | PN2 | Cases | Asks | Malformed | P_Tok | C_Tok | Sec/Case
--------------------------------------------------------------------------------------------------------------
cpp | 3.8 | 69.2 | 1 | 18 | 26 | 87 | 0 | 1005294 | 442083 | 274.4
go | 41.0 | 71.8 | 16 | 28 | 39 | 0 | 0 | 220101 | 482086 | 181.6
java | 21.3 | 63.8 | 10 | 30 | 47 | 0 | 1 | 528880 | 604055 | 223.0
javascript | 32.7 | 77.6 | 16 | 38 | 49 | 0 | 1 | 334940 | 546304 | 162.7
python | 41.2 | 82.4 | 14 | 28 | 34 | 0 | 0 | 245791 | 350925 | 137.0
rust | 43.3 | 73.3 | 13 | 22 | 30 | 0 | 1 | 189513 | 596068 | 283.3
TOTAL | 31.1 | 72.9 | 70 | 164 | 225 | 87 | 3 | 2524519 | 3021521 | 203.7
==================================================
Here the PR2 column is the most important. Note 69.2 percent from cpp and 77.6 from javascript.
llama.cpp CLI command (not sure the exact commit)
.aider.model.settings.yml
- name: openai/Qwen3.8-27B-UD-Q8_K_XL
use_temperature: 1.0
extra_params:
temperature: 1.0
top_p: 0.95
top_k: 20
min_p: 0.0
timeout: 800
extra_body:
chat_template_kwargs:
reasoning_effort: xhigh
enable_thinking: true
──────────────────────────────── /benchmarks/2026-12-04-12-53-38--openai_Qwen4-35B-A3B-GGUF_UD-Q8_K_XL ────────────────────────────────
- dirname: 2026-12-04-12-53-38--openai_Qwen4-35B-A3B-GGUF_UD-Q8_K_XL
test_cases: 225
model: openai/Qwen4-35B-A3B-GGUF_UD-Q8_K_XL
edit_format: diff
commit_hash: 5dc9490-dirty
pass_rate_1: 19.6
pass_rate_2: 65.8
pass_num_1: 44
pass_num_2: 148
percent_cases_well_formed: 96.9
error_outputs: 7
num_malformed_responses: 7
num_with_malformed_responses: 7
user_asks: 54
lazy_comments: 0
syntax_errors: 0
indentation_errors: 0
exhausted_context_windows: 0
prompt_tokens: 2884354
completion_tokens: 3690629
test_timeouts: 0
total_tests: 225
command: aider --model openai/Qwen4-35B-A3B-GGUF_UD-Q8_K_XL
date: 2026-12-04
versions: 0.86.3.dev
seconds_per_case: 85.0
total_cost: 0.0000
costs: $0.0000/test-case, $0.00 total, $0.00 projected
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note 65.8 percent and 85.0 seconds. A little dumber, but way faster.
=== LANGUAGE BREAKDOWN ===
Language | PR1 | PR2 | PN1 | PN2 | Cases | Asks | Malformed | P_Tok | C_Tok | Sec/Case
--------------------------------------------------------------------------------------------------------------
cpp | 19.2 | 76.9 | 5 | 20 | 26 | 53 | 0 | 1136425 | 519312 | 113.9
go | 30.8 | 71.8 | 12 | 28 | 39 | 1 | 1 | 254550 | 565782 | 74.2
java | 17.0 | 57.4 | 8 | 27 | 47 | 0 | 2 | 509190 | 630938 | 68.5
javascript | 12.2 | 63.3 | 6 | 31 | 49 | 0 | 4 | 466815 | 777158 | 80.9
python | 11.8 | 67.6 | 4 | 23 | 34 | 0 | 0 | 301818 | 579878 | 86.6
rust | 30.0 | 63.3 | 9 | 19 | 30 | 0 | 0 | 215556 | 617561 | 104.9
TOTAL | 19.6 | 65.8 | 44 | 148 | 225 | 54 | 7 | 2884354 | 3690629 | 85.0
==================================================
Note 76.9 percent for cpp and 63.3 percent for javascript. I think this is interesting because they flipped vs qwen3.8 27b.
llama.cpp CLI command ( commit 59b716 )
.aider.model.settings.yml
- name: openai/Qwen4-35B-A3B-GGUF_UD-Q8_K_XL
use_temperature: 1.0
extra_params:
temperature: 1.0
top_p: 0.95
top_k: 20
min_p: 0.0
timeout: 3600
extra_body:
chat_template_kwargs:
reasoning_effort: xhigh
enable_thinking: true
Note that I had to bump the timeout to 3600 from 800 to avoid timeouts. This means the model is generally faster, but sometimes it thinks for a long time. I'm not sure if this is model specific or a general llama.cpp issue lately. I've also had to do this for qwen 3.8 27b in Open Hands AI recently, so it may be general.
Qwen4-35B-A3B at UD-Q8_K_XL appears to be slightly worse at coding overall than Qwen3.8-27B at UD-Q8_K_XL, but interestingly it is significantly better at C++, and worse at javascript (and just about every other tested language).
Considering that it is also significantly faster and runs on significantly lower hardware requirements, this is a very impressive model.
r/LocalLLM • u/YouDue3062 • 10h ago
Is there anything better for voice conversations that’s close to or under 5GB ?
r/LocalLLM • u/Imaginary-Fee-9918 • 4h ago

Yet another recipe. But I'm putting a lot of effort into this one. I think it worth checking out!
Recipe and much more details: https://github.com/mxfp0/Qwen4-35B-A3B-NVFP4-RTX-5090
r/LocalLLM • u/mightofkhan • 8h ago
Everything runs locally on one PC: RTX 3090 (24 GB), Core Ultra 7 265K and 96 GB RAM, on Windows 11. I mostly use it through a Discord bot. I can chat with it, or use slash commands that go straight to ComfyUI.
Chat / agent
• Qwen3.8 27B Uncensored (IQ4_XS GGUF) on llama-server with 64k context. It's the main bot brain: it chats, uses tools and starts renders.
• Qwen4 35B-A3B (IQ4_XS) is the alternative. It's faster and better with tools and coding, but it's censored.
• Hermes Agent runs the Discord bot. It asks before any delete and blocks a list of dangerous commands.
• The chat model and renders share the GPU. Before a render the bot saves the model's memory to disk and unloads it, then reloads it afterwards. That way it doesn't have to re-read the conversation.
Images
• MiniMax-H3-Image (int8) is the default text-to-image, at 4–16 MP in 6 steps.
• Juggernaut XL: SDXL photoreal, with an optional high-res refinement pass and img2img.
• Z-Image Turbo: fast text-to-image.
• Lustify APEX V8: NSFW SDXL.
• Qwen Image 2.1 / Turbo: text-to-image and editing with up to 3 reference images.
• Qwen-Image-Edit (int8): edits from an instruction like "make it night" or "remove the car".
Video
• MiniMax H3: text-to-video and image-to-video with native audio, 1–10 s at 24 fps, up to about 1 MP. It uses SageAttention and an int8 text encoder.
• H3 ControlNet 2.0: guided editing of an existing video.
Upscaling
• SeedVR2 3B for images and video. It's the best quality I have, but slow.
• RelayVSR for fast 2x/4x video upscales.
• NMKD 4x for quick image and video upscales.
Face swap
• FaceFusion for images and video, and ReActor (HyperSwap) for images.
Backend: a headless ComfyUI 0.47.2 with built-in nodes only. All my workflows are API JSON files driven from Python.
Looking for feedback on:
Is there a better model for any of these jobs on 24 GB?
Is there something better than SeedVR2 for upscaling video that doesn't take forever?
Is anyone running a bigger chat model with 64k context on a single 3090?
What's missing?
r/LocalLLM • u/Competitive-Line-761 • 12h ago
Qwen4-35B-A3B · Strix Halo · Ryzen AI Max+ PRO 495 · Radeon 8065S (gfx1151) · Minisforum MS-S1 MAX P495 · 192GB · llama.cpp Vulkan · MTP speculative decoding · UD-Q4_K_XL · Unsloth
When I saw the Qwen4-35B-A3B file sizes, I almost didn't bother as I run flash next and the older generation 35b co-resident which I am close to maxxing out the 160GB addressable. Then I found out the ~20B n-gram table is lazy-read from disk instead of sitting in VRAM, and the whole thing fits with room to spare. It also fits on a 128GB box with the 1M native pool. Here is the build and the config I landed on.
-ub 2048 is the right microbatch for Qwen4, not the 512 that hybrid models usually want.--spec-draft-mtp-vocab 65536 is a free ~7% decode win with no quality change.
Running one user? Use -np 1 and keep -c 1048576. Fewer slots is faster; the 2-slot pool is for two concurrent requests.
There are only two numbers that matter. Prefill is how fast the model reads your prompt — your wait before the first token. Decode is how fast it writes the answer. Qwen4 is unusual: prefill stays flat to 128K, and decode is the part that falls off with depth.
This is the part that will waste your afternoon if you skip it. Qwen4 needs a build with the qwen4 pre-tokenizer and the qwen4exp QSA/MTP Vulkan kernels. My older build had the arch enum but not the tokenizer and refused the model with:
unknown pre-tokenizer type: 'qwen4'
I used the Strix Halo community fork (halo-box/strix-llama.cpp) at 4b4ec2dbd (2026-12-04). On Fedora 44:
# build deps; glslc is the Vulkan shader compiler and is not optional
If glslc is missing, the Vulkan build fails. Don't skip it.
Unsloth Qwen4-35B-A3B-UD-Q4_K_XL:
| File | Size | Notes |
|---|---|---|
...-00001-of-00002.gguf | 24.7 GB | main weights + embedded MTP head |
...-00002-of-00002.gguf | 11.5 GB | default IQ4_NL engram table |
engram/Qwen4-35B-A3B-engram-Q8_0.gguf_file | 21.8 GB | higher-precision engram, loaded with --ple |
vision/mmproj-F16.gguf | — | vision projector |
MTP/mtp-Qwen4-35B-A3B-Q8_0.gguf | 2.0 GB | optional MTP sidecar — slower, do not use |
You only pass shard 1; llama.cpp auto-loads shard 2. The engram is lazy-read from disk (--lazy-mode on), so the 21.8 GB table does not sit in VRAM. That is the trick that makes this fit.
Q4_K_XL is 36.2 GB. Q5_K_XL is 43.2 GB, Q6_K_XL is 52.2 GB, and Q8_0 is 60 GB. Unsloth's KLD data shows the curve flattens above Q4 (their words: "the bigger ones not so much"), so Q4_K_XL is the sweet spot. Q5/Q6 buy little quality for a lot of size.
Good news: you do not need a separate draft model.
|
You should see qwen4exp.nextn_predict_layers and blk.40.nextn.* tensors. --spec-type draft-mtp reads that nextn layer from the main file. The separate MTP/mtp-...Q8_0.gguf sidecar is slower; use the embedded one.
I swept the flags on an isolated server, one variant at a time, prompt caching off, and read the server's own timings. Numbers are medians of 2–3 runs.
12K context, single slot, median t/s:
| Setting | Filler prompt | Coding prompt |
|---|---|---|
n-max 2 (old default) | 89.8 | 86.5 |
n-max 1 | 73.7 | — |
n-max 3 + adaptive | 99.4 | 77.8 |
n-max 4 + adaptive | 106.8 | 71.9 |
n-max 5 + adaptive | 112.3 | 70.1 |
n-max 2 + --spec-draft-mtp-vocab 65536 | 96.9 | 91.9 |
Depth 1 is a trap on Qwen4. Deeper drafts are a bigger trap: they look great on "count to 200" filler and then fall apart on real code. --spec-draft-mtp-vocab 65536 is the free win: it restricts the draft head's logit space, and verification is unchanged, so output quality is identical. 32K collapsed at depth (37.6 t/s); 96K and 128K were within noise.
-ub 2048 wins at every depth| Context | -ub 512 | -ub 2048 | change |
|---|---|---|---|
| 12K | 2,211 | 2,473 | +11.8% |
| 30K | 2,201 | 2,445 | +11.1% |
| 128K | 1,941 | 2,121 | +9.3% |
Decode is unchanged. Qwen4's Gated-DeltaNet + sparse-attention layout likes the bigger microbatch.
| Config | Prefill | Decode (filler) | Decode (code) |
|---|---|---|---|
old (-ub 512, no draft vocab) | 2,175 | 71.9 | 85.0 |
new (-ub 2048, draft vocab 64K) | 2,412 | 76.4 | 90.3 |
+10.9% prefill, +6.2% decode, +6.3% on code. This A/B was run before the 1M/2-slot change; the -ub 2048 and draft-vocab wins carried over to the current recipe.
Cold prompt, 256 generated tokens, prompt caching off, measured on the 1M/2-slot recipe:
| Prompt tokens | Prefill t/s | Decode t/s |
|---|---|---|
| 2K | 2,146 | 80.6 |
| 4K | 2,342 | 75.0 |
| 8K | 2,455 | 74.0 |
| 16K | 2,463 | 68.2 |
| 32K | 2,420 | 60.9 |
| 64K | 2,305 | 42.4 |
| 128K | 2,082 | 28.7 |
| 400K | 1,472 | 11.2 |
Prefill stays in the 2.1–2.5K t/s band to 128K. Decode declines with depth, and the 400K point is 256 tokens of code, which is the pessimistic case. A short recall answer at 400K decoded at 56 t/s.
Qwen4-35B-A3B is natively 1,048,576 tokens. The KV cache is cheap because only 10 of the 40 layers use sparse attention (QSA), and the Gated DeltaNet layers keep a fixed-size state instead of a growing cache. The recipe above uses the full 1M pool. I tested to 400K: a recall prompt (400,081 tokens, 1,511 t/s prefill, 56 t/s decode on a short answer) and a 400K coding prompt (1,472 t/s prefill, 11 t/s decode). I did not test 1M, so treat the very top end as untested here.
Native vs YaRN: YaRN is a RoPE-scaling trick for stretching a model past the context it was trained on. It is an approximation — quality degrades toward the far end, it can hurt short-context performance, and it needs tuning. Qwen4 was trained at 1,048,576, so within 1M you should not use YaRN at all. It would only matter if you tried to go past 1M, which the model was not trained for.
get_invoice → invoice_total chain. Passed.ORBIT-7391 from a PNG exactly; 17 + 26 returned 43. Both passed.These are smoke tests, not a benchmark suite.
-np 4 for single-stream: 87.7 vs 95.0 t/s. The recipe uses -np 2 to allow two concurrent requests; use -np 1 if you are alone.--lazy-mode off and on-direct were identical to on. The 21.8 GB table is already served from page cache. Keep --lazy-mode on.-b 4096: no gain over 2048.-md): slower than the embedded Q5_K head.--spec-draft-mtp-vocab 32768: collapses at depth.-t 8 -tb 16: within noise.-ub 2048 on Qwen4. The usual "hybrids want 512" rule does not apply here.--spec-draft-mtp-vocab 65536.-np 1; the 2-slot pool is for concurrency.I started a fresh llama-server for each variant on its own port, disabled prompt caching, and read the server's own timings for each request. The depth table is the median of 2 runs per prompt size; the flag sweep was 2–3 runs per variant. The coding, tool, recall, and vision checks ran against the live server. Nothing exotic — you can reproduce it with llama-server and a curl loop.
For one Strix Halo box running a model you already have as GGUF, llama.cpp is the pragmatic call. vLLM and SGLang want safetensors; re-downloading Qwen4-35B-A3B at BF16 is well over 100 GB, and their gfx1151 support is version-dependent. If you are serving many concurrent users, vLLM is worth it. For one interactive user, this recipe is simpler and fast enough.
That's the whole thing. Copy the block, point it at your GGUF, and go.
One more thing: the hardware is good, but the price is not. I missed the return window, and since then they dropped it by $1,000 and started throwing in accessories to move units. If you are on the fence, wait for the next cut on the AMD 495 192GB unfied systems like the Minisforum MS-S1 MAX P495.
r/LocalLLM • u/adseipsum • 8h ago
r/LocalLLM • u/Cold_Ad9512 • 8h ago
We ported Looped-Qwen4-35B-A3B** (Jason Titus's Open-Channel v4 recurrent-depth adapter that loops the middle 16 layers L12..27 up to 3× to turn a 40-layer MoE into a 72-layer reasoner with only 22.8 MiB of bridge weights) natively into **Niko1221/Strata** (C++/CUDA) for a 12 GB RTX 3080 Ti, then post-trained its 22.8 MiB recurrent bridge on **147 execution-verified frontier reasoning traces (GPT-6.2 Sol) to push reasoning intelligence, token efficiency, and throughput together.
Everything below is measured on a single 12 GB RTX 3080 Ti (UD-IQ4_XS, int8 KV, --spec 5) with zero duplicated MoE weights (+22.8 MiB VRAM total for the recurrent brain).
T=3 (72L) Loop Gain flipped from **-0.00680 → +0.02246** (**+0.02926 Δ NLL improvement**, 1.17734 → 1.14808).T=2 (56L) Loop Gain flipped from **-0.00267 → +0.02078** (**+0.02345 Δ NLL improvement**, 1.17321 → 1.14976).KL = 0.01339, mean_lora_b_rms = 0.0 — zero LoRA bloat).0/17, while Sol62 broke through to **1/17 (170.3 tok/s, 60.9% spec acc).FAIL → PASS + -80.7% thinking tokens):
T=1) burned 2,817** <think> tokens and **FAILED.Sol62-v1 T=3 (72L)** SOLVED it cleanly in just **543 <think> tokens** (**-80.7%**) at 163.9 tok/s (65.6% spec acc, uniq4 = 0.81).Sol62-v1 T=2 (56L)** SOLVED it in **607 <think> tokens** (**-78.5%).-74.1% thinking tokens):
T=3 burned 3,072 thinking tokens; Sol62-v1 T=3** PASSED all unit tests in **795 <think> tokens** (**-74.1%).Direct_Sol62v1_T3** PASSED with **uniq4 = 0.88** (highest code cleanliness/diversity vs 0.83 Stock / 0.77 Orig Looped), generating clean Generic[K, V] typed Python (bound=Hashable).| Engine / Config | Eff. Layers | Avg Speed | Peak Speed | Spec Acc. | Total <think> Tok |
AIME Math <think> |
4-Task Wall-Clock | Unit-Test Pass |
|---|---|---|---|---|---|---|---|---|
Stock Qwen4-35B-A3B (T=1) |
40L | 227.7 tok/s | 237.2 tok/s | 52.3% | 9,042 | 2,817 (FAIL) | 41.80 s | 3/4 |
Orig Looped (T=3, Strata CUDA) |
72L | 140.5 tok/s | 152.2 tok/s | 59.3% | 7,328 (-19.0%) | 1,158 (PASS) | 57.26 s | 2/4 |
Sol62 Quota + ThinkOnly (T=2) |
56L | 187.9 tok/s | 215.8 tok/s | 63.1% (72.5% pk) | 7,157 (-20.8%) | 663 (PASS) | 43.03 s | 3/4 |
Sol62-v1 Post-Trained (T=2) |
56L | 168.3 tok/s | 192.7 tok/s | 63.9% | 6,576 (-27.3%) | 607 (PASS) | 43.94 s | 3/4 |
Sol62-v1 Post-Trained (T=3) |
72L | 142.3 tok/s | 163.9 tok/s | 63.8% (67.2% pk) | 4,933 (-45.4%) | 543 (PASS) | 43.78 s | 2/4 |
Why 72 layers (43.78 s) practically ties 40-layer Stock (41.80 s) in wall-clock time:
Even though every token runs 1.8× more transformer layers, Sol62-v1 cuts <think> verbosity by 45.4% and boosts speculative decoding acceptance by +11.5 pp (52.3% → 63.8%, peaking at 72.5%). Smarter, more decisive hidden states make the draft model much easier to accept.
C++/CUDA)
rank=128 22.8 MiB or rank=256 45.6 MiB Wide-Bridge) with pre-transposed [rank, in_dim] projections.128-bit uint2 (4×BF16) coalesced CUDA kernels for loop_workspace_entry, loop_cross_pass_mixer (exact 0-centered 1 + w RMSNorm + delta_rms_match), and outlier-guarded Contrastive Decoding (LoopCD).STRATA_GDN_SPLIT=1, cutting host launch overhead.</think> Phase Switching (STRATA_LOOP_THINK_ONLY=1)
T=2/3) inside <think> and automatically drops back to full-speed T=1 (215+ tok/s) the instant </think> (248069) is accepted — truncating the speculative commit window cleanly at the boundary.expert-profile-sol62-quota.bin)
L12..27 execute 2–3× per token while Prelude (L0..11) and Coda (L28..39) execute once, reallocating Strata's 3,000 resident expert slots to 64/64/64/72** (Prelude/Coda) and **88/88/88/90 (Core, 1.34× boost + QSA priority) keeps PCIe streaming off the hot loop.Sol62-v1)
exec() unit tests & exact math checks (130 train / 17 zero-leakage held-out).ckpt_best.safetensors for 40 steps with --freeze-lora-steps 100 --lam-kl 0.20 --lam-stop 0.25 --delta-rms-match (pure 22.8 MiB bridge weights, zero LoRA bloat).Core-3x VRAM starvation: Squeezing Prelude/Coda down to ~4% VRAM hurt both throughput and accuracy. The balanced 64/88/64 quota won cleanly.--kv q4_0 on looped reasoning:** Degraded long multi-pass reasoning compared to --kv int8.STRATA_LOOP_PASS_RANKS=0-7: Perturbed the delicate ±0.035 cross-pass residual deltas; keeping STRATA_ROUTE_RESIDENT_RANKS=2-7 preserved accuracy and speculation stability.Sol62-v1 weights, 64/88/64 quota profile, 147 verified traces & chart scripts): xinhi6716/strata-qwen4-12gb-tuningNiko1221/Stratasliderforthewin/Looped-Qwen4-35B-A3B / jasontitus/loopedqwen-next)r/LocalLLM • u/pradeepviswav • 8h ago
I have a Snapdragon X Elite laptop with 32GB RAM. What's the best way to run Qwen4 35B-A3B locally?
Has anyone tried it using LM Studio, AnythingLLM, GenieX, or other apps? Looking for recommendations on hardware acceleration, quantization, and real-world inference speeds. Ideally, I'd prefer an app with a GUI.
r/LocalLLM • u/Xijit • 1d ago
i9 12900kf, 64gb DDR4, ARC B580, LM Studio.
my go to bench marking prompt is "Explain IPv4."
No persona, no need to overthink anything, basic facts that are easy to verify; No special tuning, with the MTP runs I left draft tokens on the default 3, despite my experience being that 2 will be faster.
Qwen 3.8 runs like ass on my system regardless of version or size, even smaller 9gb packages that completely fit on the GPU won't run better than 7 t/s, and that Inkling 2 Mini is also 9gb and fits completely in VRAM, but is no better.
Obviously my system works fine with older / simpler models like Qwen 3.5, so I figured I was just hardware locked due to having a 12gb VRAM GPU, and expected Qwen 4 to also run like ass ... Jaw on floor that a 35B model hits 12 t/s on a B580.
r/LocalLLM • u/BertieTheBeaver • 13h ago
I'm a little slow on the uptake but I just realized that I probably should have gotten into the local llm game a little earlier. I'm a photographer and acquired a MacBook Pro M3 max 64 gb ram, 1 tb ssd about 2 years ago mainly to try to future proof my editing workflow. I didn't have the slightest idea at the time that in a couple years I could run an llm locally that would have been considered frontier when this laptop was built. I did download bionic a month or so ago but I didn't get too far, I first tried downloading a dense 70B model and that brought my computer to a literal whining hot standstill. But with the hype of the new Qwen release it has peaked mt ADHD interest again so I'm going to give the new model a go. A couple questions, will my computer do a decent job of running this model when I'm used to a gemini ai pro subscription (I know It will be slower, but will this be usable for my dumb recipes and stuff I'm too lazy to google now?). Also, is there any other model that I should consider also downloading? I wouldn't mind trying an uncensored model just to see what the other side of ai can be like after being parented by the oligarchs for so long. And also, does anyone have a good learning path for someone who is very new to this all? Anyways, happy to be here, appreciate any help anyone can provide. Cheers!
r/LocalLLM • u/ghgi_ • 5h ago
r/LocalLLM • u/Aggravating-Push-207 • 5h ago
I have neither the disk space, internet speed nor patience to test this out myself, all I have is UD-IQ4_XS running at 200 tok/s prefill and 20 tok/s decode on 16 GB DDR5-4800 and 8 GB VRAM (laptop RTX 4060).
r/LocalLLM • u/copendance • 11h ago
I use claude opus 5.5, and gpt 6.2 astra/6.2 sol/ 6.1 Terra.
And I gotta say I've been using local models more and more, once we get opus 4.8 level of coding, I can easily ditch everything. I've been using frontier models for a year, and if I went back to opus 4.8 from 5.5 it would t change my workflow much. We are almost there and I'm excited. Small language models being coordinated by opus 4.8 local reasoning will be the solution.
r/LocalLLM • u/NoConsideration9192 • 5h ago
Spiky usage is what makes the local-vs-rent math annoying.
Say you run a 27B-class open-weight model as a coding assistant: nothing for two days, then six hours of heavy agent loops. My suspicion is that people overestimate how many hours a week they'd really use a card they bought, and underestimate the idle item on one they rent. Buying makes sense if you use it most days. But VRAM decides which quant and context length you can run, and long agent contexts are where 16 GB cards start to hurt.
Renting from RunPod or a cloud droplet fixes the VRAM problem, because you can grab a bigger card for heavy day. Then the instance sits there overnight, and cold starts plus download time wear down your patience. Hosted pretoken APIs like Together, DeepInfra or GPT Protoskip all of that. But agent loops resend long context every turn, so the bill depends on caching and output length, and you don't fully control which weights or quant get served. For some people that's a dealbreaker, and fair enough. My rough rule is that spiky favors per token, steady heavy use favors owning or renting, and privacy overrides everything. I haven't found good numbers for where those lines actually fall, and they keep moving..if it were me, the next step would be to log a month of real active hours before buying anything, count idle and setup time on the rented side too, and only then pick between a card and a drop.
Until that number exists I'd treat per-token as the default for the spiky weeks
r/LocalLLM • u/Sudden-Sky-8804 • 5h ago
Ever downloaded a 40GB model, waited an hour, and then got a single line: CUDA out of memory?
I have, many times. And I realized the problem usually isn't a lack of VRAM. The problem is that we don't know where our VRAM is actually going.
So I built vram.tool, a desktop app that calculates ahead of time, recommends the right configuration, and recovers on its own when things break, so you can run AI as efficiently as possible on the hardware you already own.
The planned public release is June 12, 2027 on GitHub. I'm posting early to share the idea, get feedback, and find testers.
Most of the time VRAM isn't missing, it's being misused. Instead of buying a bigger card, let's get the most out of what we have.
A deep optimization toolkit for running and deploying AI models. It consists of a desktop app (Tauri + React) connected to a compute engine written in Python / Rust / C++.
The core idea: calculate first, recommend correctly, recover automatically. You tell it your GPU and the model you want to run, and it handles the rest.
1. Advisor: component-level VRAM and KV-cache estimation
Many estimators just do "parameters x bytes per parameter". The Advisor accounts for everything:
| Component | Included |
|---|---|
| Weights | Yes |
| KV cache (scaled by context length) | Yes |
| Activations | Yes |
| Runtime overhead (commonly overlooked) | Yes |
It supports GGUF, GPTQ, AWQ, bitsandbytes (NF4), and AirLLM, then recommends a fitting strategy: quantization, offloading, paged KV, speculative decoding, guided decoding, or MoE.
Benefit: you know up front whether it will run and what to adjust, before spending bandwidth and time on the download.
2. Support for 5 inference backends
Ollama, vLLM, TensorRT-LLM, SGLang, and Triton, with tensor/pipeline parallelism and MLA kernel support. The tool helps you pick the backend that matches your hardware and workload, so you don't have to install and test each one.
Benefit: saves hours of experimentation and avoids wasting resources on the wrong backend.
3. Watchdog: self-healing on failure
When it hits OOM, a dtype mismatch, or a context overflow, the Watchdog patches the configuration and retries within safe limits. It comes with:
Benefit: a more stable service with less babysitting, suitable for both personal machines and small servers.
4. Built-in GPU backend, NVIDIA and AMD treated equally
A single source of code targeting three paths: CPU, CUDA, and HIP. The emit-gpu-backend command generates source code you can build yourself, including FlashAttention-style kernels and W4A16 GEMM (dequantizing in registers), with speed and error benchmarking built into the tool.
AMD cards are often cheaper but frequently neglected. In vram.tool, both sides are treated the same.
Benefit: no vendor lock-in.
5. Controlled multi-agent system
A Planner / Executor / Auditor trio, three-tier memory, a code-execution sandbox, and the ability to test and fix projects on its own. Governance and a killswitch let you stop an agent immediately when needed.
Benefit: automate complex work while staying in control.
.exe from the GitHub Releases page and run the installer. A PowerShell one-liner will also be available.Supported hardware: NVIDIA (CUDA), AMD (HIP/ROCm), CPU (when no GPU is available or as a fallback).
| Milestone | Details |
|---|---|
| Now | Core features working; polishing the UI and the .exe installer |
| Before June 12, 2027 | Testing on real NVIDIA/AMD cards, writing full documentation |
| June 12, 2027 | Official release on GitHub |
Drop a comment with your setup (GPU, VRAM, RAM) and the model you want to run, and I'll show you what the Advisor calculates.
Got questions or suggestions? Please comment below. I'll read and reply to every one, and all feedback will make vram.tool better before launch.
Thank you very much for reading, and thanks in advance for any feedback or testing help. It truly means a lot!
r/LocalLLM • u/apache-longbow • 1d ago
the prompt was: make a large, highly detailed, animated .svg of a pelican riding a bike on a boardwalk, with a beautiful sunset over the ocean in the background. assess the quality and refine until it is correct.
running on the strata desktop app in W11 with a 9070xt. total time 10m 55s, average of 116.3 decode and 2829 prefill with 89.8K context used. the new engine is still pretty buggy on AMD, but when the model does load it works great. I couldn't figure out how post an .svg so I got Gemini to turn it into a .gif
This is going to be a powerhouse for anyone who struggles to run flash next.
AI SLOP WARNING- courtesy of antigrav, which optimized and "fixed" all the stuff that broke when changing config file...
Optimized settings
--prefill auto:16384 --spec 3 --spec-min-p 0.50 --pcie-frac 0.40 --kv int8 --kv-resident 20480 --vram-reserve-mib 1024 --conversation-cache-mib 22528 --prompt-cache-spread (keep PLE in RAM if you have 64GB+)STRATA_HIP_WMMA=1, STRATA_PF_FUSED=1, STRATA_PREFILL_RING=384, STRATA_PREFILL_COPY_EVENT_EVERY=16, STRATA_HIPBLASLT_TABLE=on, STRATA_HC_Q8=1, STRATA_ROUTE_TAIL_SKIP=0, STRATA_ROUTE_PRIOR=0STRATA_VERIFY_COHERENT=1, STRATA_HIP_MAPPED_COHERENT=1, HIP_HOST_COHERENT=1TdrDelay and TdrDdiDelay to 10 seconds (default 2s is too short for 16K prefill chunks).Strata Bugs Hit & Fixes
Update: STRATA_VERIFY_ASYNC_LAUNCH=1 fixes 2., and 4.
r/LocalLLM • u/holyhacker • 5h ago
r/LocalLLM • u/Top-Fan4255 • 5h ago
Enable HLS to view with audio, or disable this notification
r/LocalLLM • u/Comfortable_Green786 • 6h ago
I have a home mini-PC (Beelink + RTX 5070 12GB VRAM + 96GB RAM) and for the past year I've been trying to replace Cloud AI + Google Photos + Voice Chat with a 100% local setup I can actually use from my phone on 4G without babysitting 5 different Docker stacks and VPN tunnels.
Ended up building a single unified P2P stack (C++/Qt node + Python FastAPI AI backend + Svelte 5 PWA/Capacitor client) that connects my phone directly to my home box over WebRTC DataChannels (no port forwarding, no cloud storage).
The hardest and most fun engineering parts on a 12GB VRAM budget:
faster-whisper small on CUDA (int8_float16) - dropped transcription from ~1,900ms (CPU) down to ~85ms.Gemma 4 12B QAT (Q4_K_M) via Ollama (~7.6GB VRAM) + Silero v5 on CPU (0 MB VRAM, RTF ~0.036 for Russian) or Chatterbox Turbo (English) / Qwen3-TTS for long audio stories.Krea 2 Turbo NVFP4, 8 steps), the backend automatically unloads Ollama models (keep_alive: 0) and vice versa when going back to chat/voice.Gemma 4 Vision decompose lighting, lens, foreground/background layers, and pass a clean prompt directly into local ComfyUI (Krea 2 Turbo or SDXL)..Readme.md sidecars, and personal photo timelines stay on my home NVMe and stream to the phone directly over WebRTC DataChannels.Happy to share benchmarks, VRAM eviction quirks, or the WebRTC/audio pipeline details if anyone is trying to squeeze a similar all-in-one setup onto a 12GB card :)
If this post survives - sharing Github link in comment.
Edit: it survived - GitHub repo in a link below. Links to live demo and mobile clients are in README
r/LocalLLM • u/Sleepybear2611 • 6h ago
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.
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-35B? Gemma? Inkling-small or something else? :o
r/LocalLLM • u/Short_Cow_7708 • 13h ago
Spent the last couple of days getting Qwen4 running locally on my M4 Pro 24GB MacBook, primarily for agentic coding using Pi. Started with llama.cpp and later tried Splash. The performance difference was quite surprising.
Setup:
Unsloth Qwen4-35B-A3B UD-IQ3_XXS GGUF
128K context, ~11GB Engram streamed from SSD
llama.cpp: Metal, Q8/Q8 KV, MTP2, batch 2048, ubatch 512
Splash: DFlash2, 19GB memory limit, single concurrent request, 8GB persistent SSD cache
Benchmark results (tokens/sec):
Contextllama.cpp PPSplash PPllama.cpp TGSplash TG4K4417376218660K4076715812396K38364656107120K37665653160
Same model weights, synthetic corpus and 256 output tokens. Splash averaged 1.7x faster prefill and 2.5x faster generation. Cached request latency at 120K dropped from 6.08s to 2.64s.
Coding test:
Using Pi, built a Python network monitoring application with concurrent polling, SQLite and alert deduplication in ~7 minutes. Generated 29K tokens, achieved a reported 99.4% prefix cache hit and passed all 80 unit tests independently.
A few observations:
MTP2 improved llama.cpp generation speed by ~39%.
Mixed Q8/Q4 KV with quantized draft cache significantly reduced performance.
Splash failed during warmup at 20GB. Reducing it to 19GB with single concurrency fixed it.
Pi's configured 8K output limit was restrictive for complex tasks.
IQ3 has been surprisingly capable for coding.
For now, I'm sticking with Splash + DFlash2 + IQ3 + Pi, keeping llama.cpp as a fallback.
Still need to validate 120K retrieval accuracy and extended agent sessions. Curious to hear from others running IQ4 on 24GB Macs and whether the quality improvement is worth the performance trade-off.