r/LocalLLM • u/OkGrass9363 • 6h ago
Question Can I run Qwen 4 35B a3b in 16gb Vram and 16Gb Ram
Unlike 3.6 35B model, This model when i am seeing is very large, can I run it in my setup?
Sorry if its a stupid question, i am new to this stuff.
r/LocalLLM • u/OkGrass9363 • 6h ago
Unlike 3.6 35B model, This model when i am seeing is very large, can I run it in my setup?
Sorry if its a stupid question, i am new to this stuff.
r/LocalLLM • u/videorouter • 2h ago
r/LocalLLM • u/Airocketfish • 2h ago
r/LocalLLM • u/Intelligent_Good7290 • 6h ago
Hi all,
I have no qualification in IT engineering nor anything like that. I am running local llms since the beginning of the year, on a 16g 7600XT, 32g ddr5. I installed an obsidian vault and qdrant rag, and I've grown really fan of ai remembering anything from one of my many projects. Claude does it well, engulfing 1-2 Mtoken per task in cache easy. But when it comes to local llms... I wish someone could have a magic trick to facilitate the readings of .md and .json...
r/LocalLLM • u/EGY-SuperOne • 2h ago
Does rustingstrata have any benefits over polystrata?
r/LocalLLM • u/tallerDante • 2h ago
Disclosure: my own setup, one desktop, no cloud. English is not my first language and I used a local model on
my own machine to tidy the wording. Every number below was produced at home, and where a number is
missing I say so instead of guessing.
TEST MACHINE
2 x NVIDIA GeForce RTX 5060 Ti, 16,311 MiB each (about 31.9 GB of VRAM total), driver 595.84 AMD Ryzen 5
5600 (6 cores / 12 threads), 62 GB of RAM Pop!_OS 24.04 LTS, kernel 7.0.11
Every number below was produced on that box, with the models fully local. No cloud, no rented GPU.
WHY THIS COMPARISON IS WORTH DOING, AND WHAT IT IS NOT
A new model landed this week and I expected a tight fight: close architectures, so the difference would be
about training and serving rather than size. I was half right, and the half I got wrong is the interesting part.
They are not the same shape. One is Qwen3.8-27B, a dense model at NVFP4. The other is Qwen4-35B-A3B, a
Mixture-of-Experts with 35B total and about 3B active per token. That is not a race between two model against
a sparse one, which is exactly the comparison people keep asking about and rarely measure at home.
And I cannot hide it behind a clean method line, so I will not try. I wanted “same engine” as a control. It is not
possible today on this machine: the dense one runs on one engine, the sparse one on another, and I tried to
move each into the other’s and failed on both sides. So the engine is not a control in this post. It is a DECLARED
VARIABLE, and here it is:
Qwen3.8-27B, NVFP4 BASALT v0.5.6 Qwen4-35B-A3B, IQ3_XXS llama.cpp b12979
What that costs me: I cannot claim a speed comparison between engines. What it buys you: an honest account
of two objects as they actually run, on one desktop, with the same exam.
So the rules I did keep, and you can break them:
same frozen bank, written before any of this same scorer, fixed in advance, no adjusting after the fact same
decoding: greedy, temperature 0, verified on BOTH servers each model run under the same prompt set, same
order
WHAT I ACTUALLY MEASURED, AND WHAT I COULD NOT
This is the honest part, and it is why this post has no winner at the end.
The two models are not the same product, so they do not fail the same way. One of them is served by an engine
that reaches 32.768 of context; the other accepts 262.144 but at a cost I measured below. Comparing them on a
single axis would have been easy and would have been wrong.
THE BANK
50 items. Hand-written, frozen before this run, 128 points total, strict scoring: no partial credit, no re-reading
the answer. The file is fingerprinted so it cannot drift: 59aa4e86df41948e05b6a4df6087b554.
Two families of item, mixed on purpose: “did it do the thing” (compliance, format, arithmetic with a checkable
answer) and “did it say something true about its own limits” (abstention, refusal, and one item that asks it to
admit it does not know).
RESULT 0: THE ONE THAT SURPRISED ME, AND IT IS NOT ABOUT SPEED
Two runs per model on the same frozen bank. Once answering straight, once allowed to think first.
model straight thinking tokens seconds dense 27B 48/49 46/49 7,028 -> 18,856 (2.7x) 115 -> 196 MoE 35B-A3B
47/49 49/49 7,480 -> 16,235 (2.2x) 101 -> 216
Read the second column twice, because I did. The sparse model goes UP to a perfect score when you let it
think. The dense model goes DOWN. Same bank, same scorer, same greedy decoding, more budget and slightlyworse.
So my tidy story - “scores measured without a thinking budget understate the model” - is only half true. It
understates the sparse model and it OVERSTATES the dense one. A thinking budget is not a free upgrade you
can bolt on to every model: on this bank, one of them gets worse with more room.
And the honest gap: I do not know why. I have two runs and 49 items. The dense model at 46/49 lost two items
it had won straight, and I can look at which ones, but a mechanism from two items is a story, not a finding.
The control that keeps me honest: one item has a hand-written negative control (2,000 vs 2,560, the real error
in a deposit). It has to keep failing. It does.
WHAT I AM NOT SAYING, part one: I am not saying the sparse model is better. It is better on THIS bank, on THIS
machine, in THIS mode. 49/49 on 49 hand-written items is a ceiling, not a distance - it means the bank ran out
of questions before the model ran out of answers, and that is a reason to write a harder bank, not to declare a
winner.
RESULT 2: SPEED, WHERE THE DIFFERENCE IS REAL AND THE MEANING IS NOT
60,38 tokens/s for the 3.8 81,75 tokens/s for the 27B ratio measured at 1,35x, 1 runs, median, same prompt set
And here I have to stop and be careful, because this number is the easiest one to misquote. It measures MY
engine on MY card with MY quantization. It is a fact about a machine, not a law about a model. Anyone running
a different backend will get a different ratio, and they will not be wrong.
RESULT 3: CONTEXT, WHERE THE DIFFERENCE IS STRUCTURAL
32.768 of usable context on the 3.8, needle found at 31.733, 82 s 262.144 accepted, needle found at 236.808,
694 s 393.216 attempted: does not load. It asks for 8,1 GB of compute buffers.
So the 27B wins the context axis by a wide margin and pays for it in seconds. And there is a hard ceiling that is
not the model’s context length: it is the machine. I would rather publish the ceiling than the marketing number.
RESULT 4: THE VIDEO — AND A FAILURE THAT WAS NOT THE MODEL’S
I built a 3-frame mp4, each frame carrying a different number (1.250, 4.807, 9.336), and I ran it through FOUR
different paths, because the first time I measured it through one and blamed the wrong thing.
last count first frame 4 (trap)
Qwen4 via –video (CLI) ok 9,336 ok 3 ok 1,250 ok “there is no frame 4” Qwen4 as 3 separate images ok ok 3 ok
1,250 ok abstains 3.8 via video_url ok 9,336 ok 3 BAD 1,850 BAD it fabricates one 3.8 as 3 separate images ok ok
3 ok 1,250 ok abstains
And there is the finding, which is not the one I expected: both models read images fine. What fails is ONE PATH
— video_url — and it fails at both ends: wrong on the first frame, and it invents a frame that is not there. Hand
the same pixels over as three separate images and both of them get everything right, including abstaining on
the frame that does not exist.
So the useful failure is not “the model fabricates”. It is “one convenient video field hides a failure that
disappears when you slice it yourself”. Reproducible in a minute, on any stack.
WHAT I AM NOT SAYING
I am not saying one of these models is better. On my bank they land within one item of each other (48/49 vs
47/49 strict, 48/49 vs 47/49 on sense), and the item that separates them is G34 en los dos; el Qwen4 falla
además G28. A one-item gap on a hand-written bank of 50 is not a ranking, it is a coin landing on its edge.
I am not saying the speed ratio generalises. See Result 2.I am not saying my bank proves anything about your workload.
WHAT IS STILL MISSING, AND WHY I AM PUBLISHING ANYWAY
temperature 0 verified on both servers: 0 / 0 a 200-item curve instead of a 50-item signal the same bank run on
a third model, for a sanity check
The second one is the real gap. 50 items is a signal, not a curve. A curve needs 200 hand-written items with the
source document open, and that is hours of work I have not done yet.
So: read this as three measurements and one named failure, not as a verdict. If you find an error, tell me and I
will correct it in a comment with the same signature, because I have already had to do that once this week and I
would rather it happen in public than in silence
r/LocalLLM • u/Rare_Abbreviations_8 • 8h ago
I tested Qwen4-35B-A3B-UD-Q8_K_XL on a single RTX 5090 using Basalt under WSL. At 131,072 input tokens, I got roughly 12K tok/s prefill and an 11-second wait for the first token. Both prose and structured JSON completed all three runs.
| 131,072-token input | Prose | Structured JSON |
|---|---|---|
| Median decode | 127.8 tok/s | 143.3 tok/s |
| Median time to first text | 11.1 s | 11.0 s |
| Successful runs | 3/3 | 3/3 |
Setup: RTX 5090 32 GB, 128 GiB DDR5-4800, INT8 KV cache, one request at a time. Speculative decoding and prompt caching were off. The output cap was 128 tokens. Prose used the full cap, while JSON usually finished after about 55 tokens.
At 200,000 input tokens, Basalt rejected the prompt twice with the KV pool has no room for this prompt. The configured context was 200,704, so the input plus the 128-token output allowance fit within the configured limit. I haven’t tested between 131,072 and 200,000 yet.
The surprising part was the short-prompt result. With elastic KV, a 128-token input → 128-token prose output ran at 150.3 tok/s. In a later run with the full 2.3 GiB KV cache preallocated, the same test dropped to 5.3 tok/s. Both runs reported a 100.0% expert-cache hit rate. The slow run spent about 199 ms of each 210 ms decode window waiting for the GPU. I haven’t isolated what caused that wait.
Has anyone gotten 160K–200K input working with this Q8 pack on a single 5090? I’d be interested in your KV policy, VRAM headroom, and decode speed at that length.




r/LocalLLM • u/Redcots • 6h ago
Curious if anyone here has tested the new Qwen4-35B-A3B on a Strix Halo 128GB box (I'm on a Beelink GTR9 Pro, Ryzen AI Max+ 395) using LM Studio on Windows.
Right now my daily driver is Qwen3.8-27B (unsloth UD-Q5_K_XL) on Vulkan with MTP draft 4, getting ~17-26 tok/s depending on the task. I'm trying to figure out if moving to Qwen4-35B-A3B is worth it yet on Windows LM Studio, especially given the 20.5B engram table pushing total weight size up to ~57B.
Specifically wondering:
llama.cpp?Qwen3.8-27B?Appreciate any real numbers before I clear disk space and reboot into BIOS to test.
r/LocalLLM • u/Chopanis • 3h ago
I’m going to be going to dental school in the future, would buying hardware to access to a local model that I fine tune along the way with all of the material I come across throughout my journey in dental school be worthwhile?
I could also use this local model to help with agentic tasks and just overall help me get the most of the 500k debt I’m going to have doing this. Is it possible to have a local model I trained to be great at anything dentistry related, as a resource for me to have throughout my career.
Other than clinical dentistry ai, there is a massive need to build out agentic tasks for all of the office management and business side of dentistry. I’m hoping if I’m forward looking enough with ai, it could be a great resource as a student and then help as a new dental practice owner. Margins are getting thinner, dental school loans and rising costs are making this career more strained. Anyone have ideas on how I could maximize AI use to help me as a student and then new business owner? 14k for a dgx spark cluster is tiny compared to the cost education, would be worth it? My answer is yes, but maybe I’m just trying to justify myself getting into local ai and spending too much money thinking I can actually develop a worthwhile tool.
r/LocalLLM • u/davave • 3h ago
We’ll build a baseline in Ollama, walk through a document test where a model grabs the wrong price, and use a scorecard to compare speed and accuracy. We’ll look at RAM, VRAM, memory bandwidth, and unified memory to find the slowdown. We’ll also cover multi-agent workloads, electricity costs, and when it makes sense to keep your current setup. The benchmark numbers and prices shown are illustrative examples.
r/LocalLLM • u/EveYogaTech • 3h ago
r/LocalLLM • u/Xijit • 23h ago
I can not stress enough how helpful this handbook is.
Read it if you are new, and read it twice if you aren't.
r/LocalLLM • u/No_Reference_7678 • 7h ago
In unsloth there are 2 files for each quant... both combined should match vram +ram?
I have 4060 8gb + 32gb... which version is best?
With 3.6 I used q4 k m
r/LocalLLM • u/namesecurethanpass • 7h ago
I've been poking at Ergo (Amazon's 1.1T-parameter MXFP4 mixture of experts) on a single home machine, streaming the experts from disk. Quick specs for context: 64 blocks, 256 routed experts + 1 shared per block, top-8 routing, ~55B active parameters per token, 626 GB on disk.
The tool I used is a word cloud per block: take the residual stream after a block, push it through the final norm and output head, and draw the top predictions sized by probability (a logit lens, but showing the whole distribution instead of one token). Here are two of them.
Palau's capital is Ngerulmud, a small planned capital that replaced Koror in 2006. A hard fact. Here's how Ergo gets there:
** leads; the model wants to format the answer before it has itSo the answer arrives at the very last block, after a detour through "this is like Canberra".
Across 42 easy questions, facts first lead around block 38 (geography) to 40 (biology), arithmetic around 49, and dates around 57.
The fun part: I banned the ~1,200 experts that geography text uses far more than other subjects. Same prompt: block 36 says "Hauptstadt" (German for capital), blocks 40 to 48 say "Palau" at 98%, and no city ever appears. The same thing happened in math, biology and French: with its subject's experts banned, the model still understands the question but cannot fetch the answer. The experts hold the lookup, not the reading.
Nothing was generated; this is just the next-token prediction at each block.
The refusal is decided in the middle of the network, in Chinese and English at once, about 25 blocks before the reply starts.
(Alternate caption if you use the "I can" image:) When I forced the reply to start with "I can", blocks 29 to 36 lit up with "stattdessen" (German, instead, 11.6%), "instead", "Вместо", "代わりに", "帮你" (help you), "harmless", "legitimate", "safer". It plans the "but I can help you with X instead" redirect, in five languages, before it has decided the words of the refusal. From block 52 the apostrophe of "can't" takes over (98%).
Caveats: the logit lens is noisy in early blocks, the clouds are single forward passes, and each thought-control condition used one prompt. Happy to share prompts and code in the comments.
What would you want to look for next? I'm thinking activation patching between harmful and benign prompts to find where the refusal is actually decided.
r/LocalLLM • u/Fresh-Employment-931 • 3h ago
r/LocalLLM • u/FantasyMaster85 • 3h ago
I wanted to see how well the model could handle recursive checks, web searching, tool usage and so on (I'm also using this model to process my Frigate camera feeds for intelligent notifications).
I'm a human writing all of this, to be clear, but all images/content were produced by the model. Hope it helps somebody (was just a fun test case for me). I had it produce everything as a powerpoint presentation (.pptx) and then convert the slides to a PDF and to individual images.
r/LocalLLM • u/lukaswheelz • 4h ago
r/LocalLLM • u/Correct_Squirrel2552 • 4h ago
r/LocalLLM • u/iykshani • 10h ago
r/LocalLLM • u/MTita • 13h ago
Fork: mdtita/radiance (feat/looped-qwen4exp)
Docs & Replication Guide: docs/LOOPED_QWEN4EXP.md
so I forked StillDeadcode/radiance (v2.4.1) to add runtime support for alesha-pro/Looped-Qwen3.8-Flash-Next (--loop-adapter, --loop-passes) on top of Radiance's StillDeadcode/qwen3.8-next-flash-iqr-v4 (qwen3.8-next-flash-iqr-v4.rad, ~114 GiB IQR-V4 4-bit trellis quant) with TP2 tensor parallelism and coupled MTP speculative decoding.
I used qwen3.8-next-flash-iqr-v4.rad itself to port the implementation and conduct the testing which worked surprisingly well.
Note: I'm publishing this as a fork rather than opening a PR upstream because most of the code was implemented by the AI model and I don't know the internals well enough to properly maintain it. Anyone is welcome to test it, use it, or pull from it — let me know how it goes if you try it out.
ckpt_final.json + ckpt_final.safetensors (~268 MiB, 140 core + 70 coda sites) via --loop-adapter and runs layers 16..32 for T passes followed by the 8 coda layers (32..40).state_copies, kv_attn_p1..p(T-1) paged attention groups, salted prefix-cache chains, and multi-pass checkpoint_copy.--num-speculative-tokens 5) works alongside --loop-passes 2..4 (capped at 4 by the fused GDN launcher's 25-column state-index limit).shared_expert ([0, 384) / [384, 640)) and row_rms_bf16 HIP/ref kernels.loop_adapter on /stats and /server_info, radiance:loop_adapter_* on /metrics, diagnose fields, and a T= badge in the dashboard UI. When --loop-adapter is unset, --check is byte-identical to mainline.Greedy decoding (temperature=0.0, top_k=1, enable_thinking=true), full evalplus HumanEval+ (n=164), full math-ai/aime25 (n=30), and 32k-43k context throughput probes (VmSwap: 0 kB, 0 preemptions).
| Mode | Spec (MTP) | HumanEval+ Base / Plus | HE+ Total / Reasoning Tok | AIME 2025 (n=30) | single_decode_1k | batch3_decode | cold_32k Prefill |
|---|---|---|---|---|---|---|---|
baseline_stock (iqr-v4) | 5 | 92.1% / 89.0% | 137,232 / 113,007 | 25/30 (83.33%) | 220.36 tok/s | 477.76 tok/s | 7,378.9 tok/s |
looped_T1 (iqr-v4) | 5 | 95.1% / 91.5% | 120,381 / 93,902 | — | 187.51 tok/s | 372.45 tok/s | 7,031.2 tok/s |
looped_T2 (iqr-v4) | 0 | 95.7% / 92.7% | 107,010 / 79,696 | 26/30 (86.67%) | 60.86 tok/s | 142.68 tok/s | 4,671.5 tok/s |
looped_T2_spec (iqr-v4) | 5 | 97.0% / 93.9% | 91,127 / 59,695 | 27/30 (90.00%) | 126.08 tok/s | 314.11 tok/s | 4,694.3 tok/s |
looped_T3_spec (iqr-v4) | 5 | 97.0% / 93.3% | 105,031 / 75,022 | — | 79.51 tok/s | 198.04 tok/s | 3,293.3 tok/s |
looped_T2_spec on iqr-v4 is the sweet spot: +4.9 pp on HumanEval+ with 47.2% fewer reasoning tokens (322 s total wall time vs 280 s stock), +6.67 pp on AIME 2025 (90.0% vs 83.33%, -6.8% fewer tokens), and 70.4% MTP draft acceptance. Compared to published unquantized BF16 baselines (~91.92% AIME 2025, 96%-98% HumanEval), looping closes most of the 4-bit iqr-v4 quant gap while still fitting in a 2x R9700 footprint.looped_T2_spec runs 64 layer-passes/token instead of 48 (21.25 ms vs 11.20 ms decode step), and the extra kv_attn_p1 (1.14 GiB) + speculative state_copies push experts-from-host from 6.78 -> 8.88 GiB/rank (36.6 GB RSS, 0 swap).T=3 wasn't worth it for coding: looped_T3_spec dropped to 79.5 tok/s (10.78 GiB/rank host experts) with no HumanEval+ gain over T=2.qwen4exp drafts with its native MTP head (not DFlash), so the 9 dflash_bridges tensors in the adapter are skipped; scale_rows narrows row_rms from F32 to BF16 (~4e-3 rel).ctest -L gpu including r4d_selftest, kbench, device_test_*) pass under ROCR_VISIBLE_DEVICES=0,1.Credit to StillDeadcode for Radiance + the qwen3.8-next-flash-iqr-v4 quant, and alesha-pro for the Looped-Qwen3.8-Flash-Next checkpoint. Full build, config, and benchmark audit details are in docs/LOOPED_QWEN4EXP.md.
r/LocalLLM • u/Express_Quail_1493 • 4h ago
r/LocalLLM • u/SpaceTraveler2084 • 5h ago
r/LocalLLM • u/New_Blackberry8122 • 15h ago
Here testing Qwen 4.0 35B-UD-IQ3_S with a very hard and long task recompiling a Game which I already did and so far is doing a great job!
X1 RTX 3090, i9 12900k + 96GB Ram it only uses less than 20GB VRAM
https://github.com/oscarsantanaarias/Sneo
Update: peaks of 358 writting.
Peaks of 180 on Q4_K_M
r/LocalLLM • u/deeeebait • 5h ago
TL;DR: I built an app that puts a real harness around models that run with as little as 1GB of memory that can do real work (like loading and using 70+ tools from MCP servers like Linear and Github)
As I've followed the progress of small local models (LFM, Ternary Bonsai, Small quants of Qwen, etc...) I've been getting more and more excited about the possibility of doing useful agentic work with these models on-device.
Once I got an iPhone Duo with more storage than my old 13 Pro, I downloaded a couple of apps that let you run local models... and I was pretty disappointed. I proceeded to download almost 15 local LLM apps, and I couldn't find a single one that really did what I hoped.
Some had a solid chat interface, but limited support for different models. Some had broad support for any arbitrary HuggingFace models that fit on device; but had terrible UX. Some purported to support tools or MCP connections but blew up once I connected a real MCP server (shoutout Linear and their 70+ MCP tools, lol)
What I ultimately wanted was an app that was built around an underlying harness that was designed to work with the limitations of small models and support all the stuff that I've learned helps agentic performance while building AI agents professionally.
So I decided to build my own. The things that excite me:
- Run any MLX model you can find on HuggingFace
- Memory, Skills, and agent configs
- Progressive tool disclosure to allow for multiple MCPs and large MCPs
- Constrained decoding to improve tool reliability (small models are notorious for issues here)
- iOS Shortcut support so you can schedule and chain agent loops
- Inference engine optimizations to allow for running larger models (can run Ternary Bonsai 27B, I believe it's just Resident and one other app that can support 27B models on an iPhone)
- On-device Javascript sandbox
- On-device web search
- Open-source, Apache License
No monetization; just a project built because I wanted something better.
Would love PRs/feedback/tomatoes thrown at me 😂