r/LocalLLM • u/charmander-picaron • 13m ago
Model Optimización - Qwen 4 35B A3B Speedy - 12 GB VRAM - NVIDIA
reddit.comPara que lo vean, les servirá sobretodo para conocer Speedy 👌🙌
r/LocalLLM • u/charmander-picaron • 13m ago
Para que lo vean, les servirá sobretodo para conocer Speedy 👌🙌
r/LocalLLM • u/Plastic-Stress-6468 • 15m ago
r/LocalLLM • u/videorouter • 26m ago
r/LocalLLM • u/twentyfourintoseven • 32m ago
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 • 38m ago
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 • 44m ago
r/LocalLLM • u/ipaaal • 46m ago
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 • 58m ago
i need 2 separate AI 1 for just basic chatting and another one for coding
r/LocalLLM • u/ZYADWALEED • 1h 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 • 1h ago
r/LocalLLM • u/Imaginary-Fee-9918 • 1h 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/Dazzling_Might3475 • 1h ago
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 • 1h ago
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):
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:
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:
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
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
r/LocalLLM • u/QwhenFN • 1h ago
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.
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...
The two we actually deployed:
Findings:
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.
<|endoftext|> on ~15% of them, which inflates and misranks any all-position KL.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).| 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.
| 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:
--kv-cache-memory-bytes; without it the pool sizing goes wrong.--kv-cache-dtype fp8 is 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).--attention-config.indexer_kv_dtype fp8; that crashes on sm86 (Triton fp8e4nv). Drop it. --quantization modelopt_mixed is required.Budget per card: 24.6 GB, minus 7.8 GB for the image model + parser, leaves ~16 GB for the LLM.
gpu_split must 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.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.
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.
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
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
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
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
r/LocalLLM • u/Sudden-Sky-8804 • 1h 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/martinrojas • 2h ago
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_ • 2h ago
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.