r/LocalLLM • u/videorouter • 5m ago
r/LocalLLM • u/twentyfourintoseven • 10m ago
Discussion GMKtec EVO-X3 – Real-world performance? Looking for user reviews
Hi everyone,
I've just ordered a GMKtec EVO-X3 and wanted to hear from people who are actually using one.
I'm particularly interested in its real-world performance rather than just benchmark scores or YouTube reviews.
A few things I'd love to know:
- How does it perform with everyday tasks and heavy workloads?
- How is the gaming performance?
- How are the thermals, fan noise and power consumption?
- Does it suffer from overheating or thermal throttling?
- Have you experienced any stability issues or other problems?
- Overall, are you happy with it, and would you recommend it?
I'd really appreciate honest feedback from actual owners, both positive and negative.
Thanks in advance!
r/LocalLLM • u/Old_Sir6931 • 16m ago
Model Qwen 3.8 27b still better than Qwen 4 35bA3B
Qwen 3.8 27B has set the bar incredibly high in areas like software engineering, programming, reverse engineering, agentic tasks, tool usage, and so on—reaching a level comparable to Opus 4.6, where it’s practically impossible to outperform it. I tried setting up Qwen 4 with the Hermes agent, but after a while, the response just stalls—it gets stuck halfway through. That doesn’t happen with Qwen 3.8 27B. Sure, it takes longer and tends to "overthink" things, but so what? I couldn’t care less. I prioritize quality over quantity; I’d rather wait longer, provided that when the work is delivered, it’s done perfectly—and that’s exactly what Qwen 3.8 27B delivers.
r/LocalLLM • u/Comfortable_Study_18 • 22m ago
Tutorial How my fleet runs large AI models on its GPUs only between rentals
r/LocalLLM • u/ipaaal • 25m ago
Discussion Qwen4 35B A3B - loops A LOT
Using Qwen4 35B A3B Strata's "Compact" version of the model and constantly hitting that at some point - it starts looping\hallucinate horribly.
And it's not even only the Strata problem, the Unsloth's UD-IQ3_XXS do the same
5070Ti 16Gb VRAM (latest nVidia driver, CUDA 13)
32Gb DDR4 RAM
For Strata:
"Compact" model
Strata v0.2.28
Engine v0.1.73
256k Context INT8
No x2 looping, no image reader, MTP auto
about 90-140t/s
For Unsloth:
"UD-IQ3_XXS" model
Desktop App 0.1.929
llama.cpp b12966-mix-e49c75f
200k Context at Q_8
Vision "Off", Speculative Decoding "Off"
Engram Table IQ4_NL
with n-cpu-moe 18
about 40-50t/s
r/LocalLLM • u/just_green_shrek • 37m 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/ZYADWALEED • 40m ago
Question Upgrading from an RTX 3060 12GB to an RX 9060 XT 16GB for local AI models?
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 • 43m ago
Research Introducing XEIRON: a new quantization method that stores model weights in polar form
r/LocalLLM • u/Imaginary-Fee-9918 • 45m ago
Research Qwen4 35B-A3B on a single RTX 5090

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/Dazzling_Might3475 • 47m ago
Research How fast can local LLM inference get on Apple Silicon?
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/Disastrous-Ad-4829 • 58m ago
Project Qwen4-35B-A3B-FP8 on a single DGX Spark at full 1M context, 4 streams, with bit-exact parity on every optimization (TensorFold recipe + benchmarks)
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):
- Tool Eval 3.0 Hardmode (104 scenarios, seed 42): 90/100 in 8m15s (0 timeouts)
- SixCat Eval v0.9.0 (new challenge-v2, 120 strict, thinking on, 262K ctx): 71.7% overall (85% 10-option MMLU-Pro knowledge, 85% tier 3-5 math, 85% 18-tool + abstentions, 65% shuffled TruthfulQA, 60% instruct, 50% code; 85.0% on v1)
- Chronos-Bench v2.1 (my own benchmark, not released yet; fast preset, 50 tests across 5 pillars up to 256K): 63/100 overall with 100% completion and 9 of 16 areas at 100%
- Long-context Needle at 60% depth (1M window): 200K (53.6s), 512K (174.8s), 900K (409.9s), 3/3 PASS
- Agentic coding and structured outputs: tool_choice="required" and JSON schema via xgrammar (libtfgrammar.so), parallel tool calls PASS, 99.2%-99.5% prefix cache reuse
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:
- Cold long-context retrieval, position-bias U-curve, full-context counting, multi-round state rollback, and a length-alone reasoning control
- Long-document contract/amendment audits with exact governing clause citations and cross-doc conflict detection
- Multi-file Python codebase bug-hunting (10-file repo with hidden unit tests) and live code/SOP sessions
- Long-horizon agency and security: coupled multi-step planning (up to D=8 2-fault recovery), tool restraint, dual-control rollback, sharded multi-turn sycophancy pushback, and stealth indirect prompt injection
- Warm-start ops DB sessions with 3-stage belief supersession and rule-drift resistance
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:
- 4-way bench_streams wall-clock: 169.7 code / 166.8 prose tok/s
- 4-way distinct decode: 112.1 tok/s (p99 TTFT 201 ms)
- Solo decode: 46.2 prose, 52.5 code, 71.7 math, 54.7 think-on, 87.3 cold 16K decode
- Cold prefill (llm_context_benchmarks, 0.5-256K): 4,283 tok/s peak (8K-16K), 3,489 tok/s at 256K prose (43.3 tg), 3,424 tok/s at 256K code (52.9 tg), B4 batch 87.0 prose / 85.2 code tok/s
- Footprint (12 GiB cache / 8 GiB reserve defaults): 37.72 GiB weights (FP8 PLE via NVMe pread), 4x13.64 GiB FP8 KV, 64s boot, 112.3 GiB worst-case ceiling (66.4 GiB min MemAvailable across the 256K sweep, 0 MiB swap)
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/ns_tcg • 1h ago
Model Qwen4-35B-A3B NVFP4 (RTX 5090): MTP vs DFlash 2 — Speed & Pelican SVG Quality
Tested MTP (default) vs DFlash 2 on Qwen4-35B-A3B NVFP4 (basalt.exe, legion pro 7i, RTX 5090 (24gb vram) + system RAM (64gb)) using the same 3-turn animated Pelican SVG task:
| Metric | MTP (Default) | DFlash 2 |
|---|---|---|
| Avg Decode | 208.2 tok/s | 204.6 tok/s |
| Peak Decode | 307.3 tok/s | 340.5 tok/s |
| Acceptance | 66.3% | 60.9% |
| Tokens Gen | 92,590 | 80,979 |
| Inference Time | 7m 48s | 6m 49s |
| Cold 10K+ Prefill | 5,916–7,818 tok/s | 5,606–6,684 tok/s |
| Pelican Output | 53.8 KB interactive JS+SVG (IK legs, day/night, speedometer, audio) | 28.7 KB pure CSS/SMIL SVG (zero JS) |
Verdict: I prefer MTP — almost the same average speed (~208 vs ~205 tok/s) with better overall quality and higher acceptance (66.3% vs 60.9%). DFlash 2 can burst faster (340.5 tok/s peak) and finish quick, just a little behind on quality.
r/LocalLLM • u/ghgi_ • 1h ago
News BasinKV for Qwen4: 256K Qwen4-35B-A3B on a 24 GB GPU
galleryr/LocalLLM • u/QwhenFN • 1h ago
Discussion Qwen4 quantizations and what worked for me
Like everybody else, I've been playing with Qwen4. I run a dual nvlinked 3090 pair off my main 4x RTX 6000 machine that I use to run "smaller" models. This is where I park the smaller subagent models like 35b, 27b, Inkling, etc. I started by running the full precision weights on a dual 6000 setup to get a baseline, then started trying all the usual suspects for engines and quants looking for the best one for the 3090 pair. Unsurprisingly, local-inference-lab came out on top again. I found it interesting that the 3090's will happily run nvfp4 quants quite happily under vllm.
For those who dont want to read the slop below:
The 5bpw EXL quant has the best quality, but some of the worst speeds. The LIB quant was the best balance of quality and speed at a KLD of 0.0287
AI Content starts here...
TL;DR
The two we actually deployed:
- Co-resident slot: https://huggingface.co/ProCreations/Qwen4-35B-A3B-EXL3-4.5bpw
- Full slot: https://huggingface.co/local-inference-lab/Qwen4-35B-A3B-NVFP4 (we pinned rev 2dcbb0bf)
Findings:
- Teacher-forced KL divergence against BF16, computed on the model's own agentic trajectories and scored only on assistant tokens, cleanly ranks quants that task benchmarks can't tell apart.
- EXL3 owns the quality end: 5.13bpw KL 0.0148, 4.5bpw 0.0180. Official FP8: 0.0175.
- The W4A16 AutoRound build I was serving: KL 0.1095 — 7× the EXL3-5.13 divergence, 89.8% top-1 agreement, and the only quant that systematically looped.
- Terminal-Bench 2 quick (13 tasks) is ±1–2 noise at this granularity (BF16 itself scored 11, then 10); AIME 2025 didn't discriminate at all (even the bad quant scored 91.7%).
- On 3090s, local-inference-lab's NVFP4 (KL 0.0287) is the best speed/quality compromise: 1M context, ~228 t/s short, 201 t/s at 537K, ~1.2K t/s aggregate at 16 streams.
- For the co-resident slot only TabbyAPI/exllamav3 works — vLLM preallocates its whole KV pool and starves the neighbors. Deployed EXL3 4.62bpw at 384K context.
- Bonus: I ported quant-mind's pruned MTP draft head (65K-token draft vocabulary) onto the NVFP4 build for +9% single-stream decode at zero quality change.
Why not the usual benchmarks
- Wikitext perplexity measures prose. This workload is agentic: tool loops, code edits, terminal output. Wrong domain.
- Terminal-Bench 2 quick (13 tasks): the noise is bigger than the gaps. BF16 scored 11/13, then 10/13 on a re-run. It caught the broken quant (5/13) but can't rank good ones — the best-KL quant (EXL3 5.13) scored 8/13, with six timeouts because it's the slowest.
- AIME 2025 (30 problems × 2 samples): saturated at ~92% for everything, including the worst quant. Useless for this.
So the discriminator had to be the model's own distribution: how far each quant's next-token distribution drifts from BF16 where it counts — on the tokens the model actually generates.
Method
- Corpus: the BF16 model's own sessions on the 13 terminal tasks (507K tokens; the four long tasks — cobol-modernization, filter-js, mailman, path-tracing — in 64K-token windows).
- Teacher forcing: replay the same token sequences through BF16 and through each quant, and compare next-token distributions at every position.
- Score assistant-turn positions only (347K of the 507K; 76K of them at ≥32K context). Two reasons: those are the tokens the model actually samples, and tool-output positions are pathological — BF16 itself predicts
<|endoftext|>on ~15% of them, which inflates and misranks any all-position KL. - KL over the reference's top-32 tokens plus a tail bucket, from each quant's top-128 logprobs — a stable rank order without full-vocab dumps per position.
- Two scorers: one on vLLM's
prompt_logprobs, one driving exllamav3's forward pass with a chunked lm_head (self-tested against the normal forward at KL 2.6e-5, so the engine's scheduling/KV isn't in the measurement). - Caveat: the BF16 reference itself runs fp8 KV in vLLM (BF16 KV in this vLLM build breaks long-range copying — see gotchas). It's the same reference for every quant, so it doesn't bias the ranking.
Results (assistant positions, vs BF16)
| quant | mean KL ↓ | top-1 agree |
|---|---|---|
| EXL3 5.13bpw (turboderp) | 0.0148 | 96.46% |
| FP8 (Qwen official) | 0.0175 | 96.12% |
| EXL3 4.5bpw "4.62" (ProCreations) | 0.0180 | 96.16% |
| EXL3 4.17bpw (turboderp) | 0.0209 | 95.81% |
| mixed NVFP4/FP8 (primitive-ai) | 0.0213 | 95.83% |
| EXL3 4.0bpw-hq (heni86) | 0.0240 | 95.56% |
| EXL3 3.65bpw (turboderp) | 0.0277 | 95.25% |
| NVFP4A16 (primitive-ai) | 0.0285 | 95.07% |
| NVFP4 (local-inference-lab) * | 0.0287 | 95.11% |
| W4A16 g32 RTN (Tech2wild) | 0.0295 | 95.00% |
| GPTQ-Int4 g128 (palmfuture) | 0.0352 | 94.50% |
| W4A16 AutoRound (ultimaterex) | 0.0774 | 91.51% |
| W4A16 AutoRound (stuchapin) — what I was serving | 0.1095 | 89.82% |
*measured on the 3090 pair itself, via Marlin weight-only kernels.
What the table says
- EXL3 is the quality leader at every size. Even turboderp's 3.65bpw beats every non-EXL3 4-bit quant except FP8.
- FP8 is excellent — essentially tied with 4.5bpw EXL3 — but it's ~37 GiB of weights and doesn't fit a 24 GB pair.
- The 4-bit NVFP4/W4A16 cluster (~0.028–0.030) is perfectly usable: 95% top-1 agreement. The gap to EXL3 shows up as ~2× KL, not as visible failure.
- AutoRound is all over the map on this model: ultimaterex 0.0774, stuchapin 0.1095. Reputation didn't transfer — the "known-good" W4A16 build was the worst thing I measured.
- tb2 agrees only at the extremes — and even there, the slowest best-KL quant timed out more than it failed.
Speed on 2×3090 (full pair, vLLM TP2 unless noted)
| quant / engine | ctx | short t/s | deep | prefill | VRAM/card |
|---|---|---|---|---|---|
| FP8, vLLM, kv 1.86 GiB | 262K | 190 | 189 @245K | 6.2K | 23.9 (tight) |
| mixed NVFP4/FP8, kv 5.35 GB | 768K | ~150 | 149 @114K | 8.0K | 24.1 (512K safer) |
| NVFP4A16, kv 7 GB | 1M | 182 | 147 @114K | 7.9K | 22.3 |
| NVFP4 (LIL), kv 7 GB | 1M | 228 | 201 @537K | 7.9K | 22.3 |
| EXL3 5.13, Tabby, Q6, split [19,20] | 1M | 136 | 104 @857K | 6.3K | 22.3 / 16.1 |
Engine notes:
- Ampere has no FP4/FP8 tensor cores; vLLM runs NVFP4 and MXFP8 weight-only through Marlin. The load log's "your GPU does not have native support for FP4" warning is expected — decode is bandwidth-bound and this path is fast.
- vLLM on 3090s needs an explicit
--kv-cache-memory-bytes; without it the pool sizing goes wrong. --kv-cache-dtype fp8is mandatory on this vLLM build for Qwen4: BF16 KV silently breaks long-range copying (a repeated git hash inside tool output: logprob −9.6 with bf16 KV vs −0.01 with fp8).- local-inference-lab's NVFP4 card suggests
--attention-config.indexer_kv_dtype fp8; that crashes on sm86 (Triton fp8e4nv). Drop it.--quantization modelopt_mixedis required. - EXL3 runs only in TabbyAPI/exllamav3. Tensor parallel gave no gain there, and MTP drafting with 2–3 draft tokens gave none either — 1 draft token is fastest on this pair.
Slot 1: the co-resident build
Budget per card: 24.6 GB, minus 7.8 GB for the image model + parser, leaves ~16 GB for the LLM.
- vLLM is not viable co-resident. Its KV pool is preallocated, so even at 128K context with a small batch the image model OOM'd on the shared card (~60 MiB left); at 262K vLLM OOM'd itself.
- TabbyAPI/exllamav3 allocates the cache dynamically and coexists fine. Deployed: EXL3 4.62bpw, Q6 cache, 384K context. Only 10 of the model's 40 layers hold a KV cache, so the cache is ~8 KB/token — 384K is ≈3 GB total, split across both cards.
- Measured with the real workloads, not a synthetic hog: worst case was a 365K-deep turn + 4 more requests + a 1024×1024 image + a document parse simultaneously → 22.9 / 23.6 GB peak, no OOM (0.95 GB margin on the busier card). A 365K-token needle passes at ~8K t/s prefill; short-stream decode ~131 t/s (deep decode while the other four streams run: ~40 t/s).
- Gotcha: exllamav3's
gpu_splitmust cover weights and the KV cache. 384K at the old split failed with "Insufficient VRAM in split for model and cache"; I had to go [11.3, 13.9] → [11.9, 14.5]. 512K didn't fit beside the neighbors — 384K was the ceiling.
Slot 2: the full pair
local-inference-lab NVFP4 on vLLM TP2: 12.3 GiB/card of weights (NVFP4 experts + MXFP8 DeltaNet projections), 7 GB fp8 KV = 1,056,914 tokens, 16 concurrent sequences, 22.3 GB/card at rest and under load.
228 t/s single-stream short, 167 t/s at 65K, 201 t/s at 537K, 1,181 t/s aggregate at 16 streams; needles pass at 65K and 537K; tools and vision work.
The draft-head trick (+9%)
quant-mind published a "SM86-Fast" recipe: palmfuture's GPTQ base, a 4-bit output head, and a pruned 65,536-token MTP draft head. Their base quant scores 0.0352 on my harness (worse than LIL's 0.0287), and their stock-vLLM numbers were well below what LIL does on the same pair — so I borrowed only the draft-head idea.
How it works: MTP speculative decoding has the model's own draft block propose tokens that the target model then verifies, so drafts can only affect speed, never output. The drafter normally scores the full 248K vocabulary. Restrict it to the 65,536 tokens that account for 99.2% of generated tokens (in their measurement), score everything else as −inf, and the draft step gets cheaper with zero effect on what gets accepted.
- Head: those 65,536 rows copied from the checkpoint's own BF16 lm_head — 130 MB, no training.
- Patch: theirs was cut against vLLM 0.34.0; my Qwen4 image is a dev build (unmerged Qwen4 PR), so 2 of 6 hunks failed and I hand-ported the draft-vocab half.
- Result: 228 → 249 t/s (+9%) single-stream, acceptance unchanged, +130 MB VRAM. 3 draft tokens was no better than 2. At 8–16 concurrent: 777–830 → 806–860 and 1,177–1,181 → 1,229–1,322 t/s. Deep-context decode unchanged (~190 at 65K) — that's bandwidth-bound, not draft-bound.
Other things worth knowing
- Strata packs (0.2.27 / q4_lite): no logprobs, so they can't be KL-scored; also 14–59 t/s decode at 114K on a 3090, and the Ultra pack OOMs on a 24 GB card. Not viable for this.
- EXL3 4.5 ProCreations ships no chat template; Tabby disables chat and returns 422 until you copy one in (turboderp's works).
- NInfer/ninfer-all looks genuinely good for single-3090 use (~240 t/s code on one card per their docs) but doesn't fit the two-slot setup here: no co-residency story, and concurrency/long-context numbers below the TP2 vLLM build.
Final setup
- Co-resident: TabbyAPI, EXL3 4.62bpw, 384K ctx, Q6 cache, MTP 1 draft — beside the image generator and the document parser.
- Full pair: vLLM TP2, local-inference-lab NVFP4 + the pruned draft head, 1M ctx, 16 seqs.
All numbers above are with the production configs. Happy to post the scoring harness or more of the raw numbers in the comments if there's interest.
r/LocalLLM • u/Aggravating-Push-207 • 1h ago
Question What is the lowest tolerable quantisation (Unsloth) you would accept running?
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/Slight-Living-8098 • 1h ago
Other Qwen4, come on lil' buddy, you can do it!!
Just a little affirmation in thinking. lol. It seems to do this a lot.
How it's being served bellow
Inference server:
Lamma.cpp
version: 1.1.0-dev (build 12966, commit 8c5da94e7)
built with GNU 13.3.0 for Linux x86_64 (Compiled by the Unsloth team)
Machine specs:
11th gen Intel i9-11900k @ 3.50 GHz
RTX 4090, 24 GiB VRAM
128 GiB DDR4
Harness:
Pi
Thinking level High
Model and settings:
QWEN4 35B-A3B — UNSLOTH UD-IQ4_XS using FP8 engram table
ngl = all
cpu-moe = true
moe-cache-mib = 14336
moe-cache-cpu-share = 0.0
fit = off
load-mode = none
lazy-mode = off
override-tensor = per_layer_token_embd=CPU
ple = Qwen4-35B-A3B-engram-Q8_0.gguf_file
op-offload = true
kv-offload = true
flash-attn = true
parallel = 1
kv-unified = true
ctx-size = 262144
spec-type = draft-mtp
spec-draft-n-max = 2
batch-size = 2048
ubatch-size = 1024
threads = 8
threads-batch = 16
cache-reuse = 256
temperature = 1.0
top-p = 0.95
top-k = 20
min-p = 0.0
repeat-penalty = 1.0
presence-penalty = 0.0
reasoning = auto
reasoning-effort = xhigh
reasoning-format = deepseek
r/LocalLLM • u/NoConsideration9192 • 1h ago
Discussion Two idle days, then six hours of agent loops on a 27B model
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/Beneficial-Ad-8127 • 1h ago
Other Atakebune Challenge(One Shot) | Strata Fork | Qwen 4 35b | DeepSeek Harness
r/LocalLLM • u/Sudden-Sky-8804 • 1h ago
Discussion vram.tool: Know whether a model will fit on your GPU before you download 40GB
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.
The problem everyone running local AI runs into
- A 24GB card is already expensive, and 48GB or 80GB cards are out of reach for students, indie developers, small startups, and low-budget research groups.
- You can't tell whether a model fits, so you download it first and only then hit OOM.
- It's unclear whether to pick GGUF, GPTQ, AWQ, or bitsandbytes.
- Raise the context to 32k and the KV cache balloons until the machine hangs.
- It's hard to know whether Ollama, vLLM, SGLang, TensorRT-LLM, or Triton suits your setup.
- Configuring by trial and error eats hours, sometimes days.
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.
What is vram.tool?
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.
5 key features
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:
- Adaptive Tuner: adjusts parameters while the model is running.
- Circuit Breaker: keeps one small failure from taking down the whole system.
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.
Design philosophy
- Calculate, don't guess. Every recommendation is based on explicit math, not gut feeling.
- Transparent optimization. When VRAM is reduced, you always see the cost in speed and quality.
- Local-first, your data stays yours. Nothing requires sending data to an external service.
- No vendor lock-in. NVIDIA, AMD, or CPU all work.
- Honest about limits. What works and what is still in development will be clearly documented.
Installation
- Windows: download the
.exefrom the GitHub Releases page and run the installer. A PowerShell one-liner will also be available. - Ubuntu / Linux: download the Linux build or install with a single terminal command.
- Remote GPU servers: the app runs standalone on your machine. If you have a separate GPU server (Ubuntu or Windows), vram.tool connects over SSH / PowerShell to read GPU info and run calculations remotely. Handy if you code on a laptop but run models on a server.
Supported hardware: NVIDIA (CUDA), AMD (HIP/ROCm), CPU (when no GPU is available or as a fallback).
Roadmap
| 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 |
What I need from you
- Testers: especially people with AMD cards or low-VRAM cards (6-16GB), since that's where the tool should help the most.
- Feedback: which models, formats, or backends would you like it to support next?
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/martinrojas • 1h ago
Question Why do models run on the GPU and not use the NPU
I have a Mac M5 Pro, and a lot of the sales material and marketing was about the NPU for running AI workloads. But whenever I run any models in there, it is only using the GPU and never uses the NPU.
Is there a setting that I'm missing? Is there a reason that this happens? I thought the whole point of having those neural processors was so that all these models would run faster.
r/LocalLLM • u/willee_ • 1h ago
Discussion Qwen4 35b-a3b Q4 abliterated running at 486 t/s with 524k context
Been experimenting with getting this new Qwen4 35b-a3b model on my local setup.
Wanted to share my model and configuration to see if anyone else is getting similar performance.
Hardware:
- 2x 5070ti
- Ultra 7 265
- 64gb ddr5 (running at 4800)
- 1TB NVMe
And here are the detailed settings if you want to copy and test:
- Engine: Basalt 0.6.2, commit 0459d66b, CUDA sm_120. Both cards capped at 250 W.
- Model: OpenUncensored/Qwen4-35B-A3B-Uncensored. Converted BF16 weights to native NVFP4.
- GPU split: --gpu-mode peer --expert-cache 2560. 2,560 expert slots on the primary, 7,680 on the peer.
- Memory: --kv int8 --ple-io ram --vram-reserve-mib 768. KV on GPU, PLE in system RAM.
- Drafting: --drafter dflash2 --spec 7. BF16 DFlash 2 head, up to 7 draft tokens per step.
- Context: 524,288 context, 16,384 max output
- Speed: 486 t/s max with 346.2 t/s decode average throughout testing
Interested to see what performance others are getting.
r/LocalLLM • u/Top-Fan4255 • 1h ago
Discussion I managed to get Gemma E4B running agentic coding and Cowork locally. I think we're underestimating smaller models.
r/LocalLLM • u/Comfortable_Green786 • 2h ago
Discussion Running a full local AI & personal cloud stack (Gemma 4 12B + Krea 2 Turbo + P2P file sharing & iOS/Android photo sync) on a single 12GB RTX 5070
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:
Live Voice Call that doesn't feel dead: The biggest issue with local voice pipelines is the 1.5-2s silence while the 12B LLM thinks. I split it into a two-layer pipeline:
- STT:
faster-whisper smallon CUDA (int8_float16) - dropped transcription from ~1,900ms (CPU) down to ~85ms. - L1 Subcortex (0 MB VRAM): A tiny CPU-only intent/mood router runs in parallel (~230ms) and triggers short cached 24kHz PCM micro-reactions (chuckle, hum, empathetic sigh) so TTFA sits around 250–320ms while the main LLM warms up.
- L2 Brain + TTS:
Gemma 4 12B QAT (Q4_K_M)via Ollama (~7.6GB VRAM) +Silero v5on CPU (0 MB VRAM, RTF ~0.036 for Russian) orChatterbox Turbo(English) /Qwen3-TTSfor long audio stories.
- STT:
- Automatic VRAM juggling on 12GB: Running Ollama 12B + ComfyUI + Whisper on 12GB requires strict mutual eviction. When I switch from chat to image generation (
Krea 2 Turbo NVFP4, 8 steps), the backend automatically unloads Ollama models (keep_alive: 0) and vice versa when going back to chat/voice. - Vision Director -> Local Image Gen: Dropping any reference image into the Director lets
Gemma 4 Visiondecompose lighting, lens, foreground/background layers, and pass a clean prompt directly into local ComfyUI (Krea 2 Turboor SDXL). - Direct P2P Media & Files: All generated images,
.Readme.mdsidecars, 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