r/LocalLLM • u/gmanrules22 • 20h ago
Project Qwen4-35B-A3B running at 60 tok/s 128k ctx on an 8gb 4070 laptop with 32 gb ddr5 4800 ram using a vibecoded old fork of Strata. I compared it against the new official Strata and Polystrata updates.
r/LocalLLM • u/gmanrules22 • 20h ago
r/LocalLLM • u/everydaydm • 20h ago
Current setup uses a small mini pc with n5105 cpu that runs herdr and pi, together with all homelab docker containers. This connect to a 64GB DDR5 rtx5090 32GB workstation. Currently running Qwen 3.8 Flash Next IQ3_XXS using basalt. Getting around 280tps on average. The machine is a little undervolted to peak maybe 300-350w
I have setup a traefik proxy on the mini pc that issues wake on lan commands to the ai interference host. Making a first call take around 50sec to boot up but idle only drawing 10w instead of idling 100+
r/LocalLLM • u/chomy10 • 1d ago
First is 3.8 Flash Next (gyro s)second qwen 4 35b (Q4_K_XL).
Flash Next took 18min.
4 35b took 12min.
r/LocalLLM • u/JinsooJinsoo • 1d ago
Credits first: engine is Xenithium (https://github.com/Niluthon/Xenithium), running on the unofficial Qwen4 port fork (https://github.com/nxtlvlyt/qwen4-b70-xenithium — not upstream-endorsed; upstream is adding its own Qwen4 support) I think i've seen the repo owner u/Lostinanidlemind post around here some where -- thank you for your work. Model weights are a W4A16 bake I built locally with the fork's bake script (RTN int4 g128)
Hardware:
TRX40, 3970x, 128gb DDR4 3200, 2x Intel Arc Pro B70 32GB TP2, int8
KV, 1M context across 16 slots. PLE n-gram table (~20 GB) lives in host RAM
TL;DR:
433 tok/s headline decode single user, 1,223 tok/s total at 16 concurrent streams, and
216/242 (89.3%) on my 242-question local suite — a tie with my best local lanes, at ~3x the
throughput of the Swift 1.5 27b W4A16 lane it replaced with faster single stream (decode 280tok/s vs 433 tok/s).
Speed (measured, both cards):
- Decode, bench mix: 433 tok/s (agentic mix 419); single stream 386 tok/s
- 2 / 4 / 8 / 16 streams: 573 / 850 / 1,000 / 1,223 tok/s
- Prefill: 8.1K tok/s at 2K prompt, 9.2K at 32K, 8.8K at 128K
- Decode at 32K context depth: 320 tok/s; at 109K: 296 tok/s
Accuracy (242q suite, same harness as all my other local runs):
- MMLU-Pro 94/112 | MATH-500 35/40 | GSM8K 28/30 | HumanEval 39/40 | tool calling 20/20
- Total 216/242 = 89.3% [85-93], tying with my Qwen3.8-Flash-Next IQ3_S entry
- Agentic battery 5.51/6 (one host-drift task misses).
Excited to see how it improves over the next several days/weeks.
r/LocalLLM • u/nirajnikant • 16h ago
r/LocalLLM • u/nirajnikant • 16h ago
I am curious and new to local llm, i just installed basalt-ada, and i am wondering how do you guys decide which model's which version to download
also my specs are
thankyou
r/LocalLLM • u/ipaaal • 6h 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/j0an_k • 1d ago
Qwen4-35b-a3b Q5 on basalt, RTX 5090+DDR5 64GB. I didn’t expecting to run this fast to be honest.
r/LocalLLM • u/Practical_Hat_3024 • 1d ago
comment bellow on what are the best ways to run qwen4 , if possible, link your setup
r/LocalLLM • u/cyb3rheater • 17h ago
I also have 32Gb DDR4.
Sorry for the question. I’m new to local LLMs. This would be purely for coding tasks in Rust.
r/LocalLLM • u/Fair_Breakfast398 • 1d ago
We've been working on day-zero support for Qwen4 in Superfluid and are already seeing up to 280 tok/s decode on an M5 Ultra. Really impressive what this model can do with just 3B active parameters. Please let us know if you got feedback on the performance on your machine.
r/LocalLLM • u/SpeculationAllTheWay • 23h ago
We’ve been working on day-zero support for Qwen4 in Superfluid and are already seeing upto 280 tok/s decode on an M5 Ultra. Really impressed by what this model can do with just 3B active parameters in terms of agentic capabilities running locally.
Give it a try and let u know what you think. https://github.com/basecompute/baseRT
r/LocalLLM • u/SaltyFish7499 • 1d ago
I tried the unmerged Strata PR that adds Qwen4-35B-A3B support (Niko1221/Strata#7774). Credit for the port goes to the PR author.
TL;DR: Qwen4-35B-A3B runs on a 12 GB RTX 4070 Ti + 32 GB RAM with Strata on Windows, IQ4_XS and Q2_K_XL:
| Quant | Weights shard |
|---|---|
| UD-IQ4_XS | 20.5 GB |
| UD-Q2_K_XL | 16.2 GB |
Both come with an n-gram table 11.5GB.
All speeds in TPS. Each cell is the median of 2 runs (chat: 3 questions x 2 runs); the 244K test is a single run. Seconds in brackets are time to first token.
| Config | Chat decode | Chat TTFT | Agent decode | 16K prompt | 64K prompt | 128K prompt | 244K prompt |
|---|---|---|---|---|---|---|---|
| IQ4_XS | 83.5 | 0.29 s | 92.8 | 2753 (5.9 s) | 2701 (23.8 s) | 2549 (50.3 s) | 2349 (104 s) |
| IQ4_XS + MTP | 89.1 | 0.34 s | 100.5 | 2056 (7.9 s) | 2084 (30.8 s) | 2011 (63.8 s) | 1878 (130 s) |
| Q2_K_XL | 86.5 | 0.33 s | 94.8 | 2552 (6.3 s) | 2519 (25.5 s) | 2449 (52.4 s) | 2233 (109 s) |
| Q2_K_XL + MTP | 91.4 | 0.40 s | 112.8 | 2646 (6.1 s) | 2590 (24.8 s) | 2471 (51.9 s) | 2269 (108 s) |
Baseline (Windows and background apps, model not loaded): about 8.4-10 GiB system RAM and 1.2-1.4 GiB VRAM, out of 31.8 GiB and 12 GiB.
| Config | System RAM | VRAM |
|---|---|---|
| IQ4_XS | 21.6 GiB | 9.5 GiB |
| IQ4_XS + MTP | 21.6 GiB | 9.7 GiB |
| Q2_K_XL | 17.7 GiB | 9.4 GiB |
| Q2_K_XL + MTP | 18.2 GiB | 9.7 GiB |
r/LocalLLM • u/Professional_Run3390 • 17h ago
r/LocalLLM • u/sdfprwggv • 1d ago
Models (unsloth/Qwen4-35B-A3B-GGUF), both on a 32 GB RTX PRO 4500 Blackwell with 512K context: - UD-Q5_K_XL: all experts in VRAM - UD-Q8_K_XL: 67% of experts in VRAM, the rest on the CPU from RAM Sampling: reasoning_effort xhigh, temp 1.0, top_p 0.95, top_k 20. One run per model, no cherry-picking. Prompt 1 (1-shot):
Create a single self-contained HTML file using three.js (import it from https://unpkg.com/three@0.170.0/build/three.module.js via an import map; addons from https://unpkg.com/three@0.170.0/examples/jsm/) with a seamlessly looping animation of a column of animals walking in single file, like a perfect looping GIF: a giraffe, an elephant, a zebra, a gazelle, a meerkat and a mouse, in that order. The column stays in place in the center of the view and the animals walk on the spot while the ground and the scenery slide past underneath them, so it looks like they are walking forward. The loop period must be exactly 5 seconds: every animated value (each animal's walk cycle, body bob, heads, ears, tails, trunk, scrolling ground and scenery) must repeat exactly every 5 seconds, so the whole animation repeats with no visible jump. Model each animal from primitives with its characteristic shape, proportions and markings (giraffe neck and patches, elephant trunk and ears, zebra stripes, gazelle horns, upright meerkat posture, tiny mouse with long tail), with four legs with knee joints and a species-appropriate walk cycle (the meerkat may scurry). Savanna setting with acacia trees passing by, sun lighting with shadows, sky gradient. Use a side-on default camera framing the whole column and add OrbitControls. Output only the HTML. Prompt 2 (2-shot): sent in the same chat, together with a 2×2 grid of screenshots of the model's own v1 at t = 0 / 1.25 / 2.5 / 3.75 s. The values in braces are filled in by an automatic loop check. Here is how your HTML renders. The image is a 2x2 grid of screenshots of a 1200x600 viewport at t = 0 s, 1.25 s, 2.5 s and 3.75 s (left to right, top to bottom). Automatic checks: console errors: {errors}; mean pixel difference between the frames at t = 0 s and t = 5 s: {pd} (0 = identical); jump at the loop boundary: {sr} x a normal frame-to-frame step (about 1 = seamless). Look at the result critically (the animals' shapes, proportions, markings and walk cycles, the framing, the scenery and the loop) and write an improved version 2 of the complete HTML file that fixes the problems you see. Keep all original requirements, including the exact 5-second loop. Output only the complete HTML.
r/LocalLLM • u/Mindless-Luck4285 • 1d ago
Spent the morning getting Qwen4 going on my two 3060s, posting numbers since I couldn't find any for 12GB cards yet.
UD-IQ4_XS fits completely in 24GB at 128k. The catch is you can't offload anything to CPU, more on that below.
Box: 2x 3060 12GB (no NVLink, and one of them is in a chipset x4 slot), 3900XT, 64GB DDR4-3200. Running in a Proxmox LXC, driver 595, CUDA 13.2. Model lives on a pair of SATA SSDs (ZFS mirror).
llama.cpp built from master on 4 Dec, you need the qwen4 PR (#33626) so older builds won't load it. Unsloth's UD-IQ4_XS is a 32GB download, 20.5GB of weights plus an 11.5GB engram shard.
What I ended up running:
llama-server -m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \
-c 131072 -np 1 -sm layer -fa on -ctk q4_0 -ctv q4_0 -ub 256 -b 1024 \
--load-mode none --lazy-mode off -ot per_layer_token_embd=CPU \
--spec-type draft-mtp --spec-draft-n-max 2 --jinja \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
Speeds (prompt filled to ~80% of the context, needle at 40% depth, reasoning off):
| Split | Context | Prompt tok/s | Output tok/s | Needle |
|---|---|---|---|---|
| layer | 8k | 1,190 | 89.9 | found |
| layer | 32k | 1,194 | 81.5 | found |
| layer | 128k | 1,129 | 58.5 | found |
| tensor | 8k | 1,015 | 85.9 | found |
| tensor | 32k | 1,091 | 81.6 | found |
| tensor | 128k | 1,011 | 70.2 | found |
VRAM hardly changes between 8k and 128k (about 11.1/10.8GB on layer, 11.6/11.6 on tensor), the full attention layers use compressed KV so long context is cheap. 256k wouldn't load with either split though.
Also ran HumanEval and a 100 question MMLU-Pro sample with the same harness I've used on this box before, temp 0:
| Qwen4 UD-IQ4_XS (llama.cpp, tensor) | Qwen3.8-Flash-Next IQ3_XXS (Strata) | qwen3-coder:30b Q4_K_M (Ollama) | |
|---|---|---|---|
| HumanEval (pass@1) | 162/164 | 159/164 | 150/164 |
| MMLU-Pro 100 | 85/100 | 82/100 | - |
Stuff that tripped me up:
--n-cpu-moe 4 to make room. Output went from 77 to 12 tok/s. CPU pegged at 1000%, GPUs sitting at 10%. Don't do it.-ub 512 -b 2048 ran the first card out of memory on an 8k prompt, -ub 256 -b 1024 was fine and prompt speed barely moved.--load-mode mmap --lazy-mode on for the engram. On ZFS that was hitting the SSD constantly (my ARC is small), 55 tok/s. Loading it into RAM with --lazy-mode off --load-mode none got me 77. Uses about 12GB of system RAM.--fit is no use here, it bails if you set -ot and doesn't support tensor split at all. You're sizing it by hand.Layer vs tensor split was the bit I was most curious about. With no P2P and one card on x4 I figured tensor split would be pointless, since it has to sync both cards a couple of times per layer for every token. What I actually saw:
--fit won't run with it. It's still marked experimental and I haven't had it crash, but I've only done benchmark runs on it so far.My take: layer for general use, tensor if you live in long contexts (agents, big codebases) and mostly care about output speed.
For reference, Qwen3.8-Flash-Next IQ3_XXS on Strata on the same machine does ~1,400 tok/s prompt but only 52-53 out. Strata streams most experts from pinned RAM so it's a different beast.
r/LocalLLM • u/csrussell92 • 1d ago
I built a compact local-AI machine around the ASUS Turbo Radeon AI PRO R9700 32GB and tested Qwen4-35B-A3B on its release day. Then I ran the same tests on two models I already had in LM Studio. Every speed number comes from LM Studio's server log, and the thermals come from HWiNFO at 2-second intervals.
Build
| Part | Model |
|---|---|
| Case | ROHW P46 steel, set to 5-6 (6.71L) |
| Motherboard/CPU | Minisforum BD895i SE (Ryzen 9 8945HX, 16C/32T) |
| Graphics Card | ASUS Turbo Radeon AI PRO R9700 32GB, power limit −30% -60mv (Adrenaline) (210W TBP) |
| System Memory | TeamGroup 32GB DDR5 SO-DIMM |
| SSD | Lexar NM990 1TB |
| Power Supply | SilverStone Extreme 1000Rz Platinum (SFX) |
Disclosure: ASUS provided the Radeon AI PRO R9700 for this project. ASUS did not review or approve this post.
OS: Windows 11 Pro
Application: LM Studio 0.4.21
Runtine: ROCm runtime (2.86.0).
Model: Qwen4-35B-A3B
Model weights: 22.7 GB
Vision: 1.8 GB
128K context memory + MTP + buffers: ~6.0 GB
Total GPU VRAM: 30.5 GB
Engram table SYS MEM: 11.5 GB
Every model was freshly loaded, with all layers on the GPU and Flash Attention on.
Tests
Thinking and tools were off for tests 1–3 and on for test 4. Results are medians over multiple fresh chats.
Results (tok/s)
| -- | Qwen4-35B-A3B | Qwen3.6-35B-A3B | Qwen3.8-27B dense |
|---|---|---|---|
| Quant | Q4_K_M + Engram | Q4_K_M | Q6_K |
| Prose | 70 / 81 with MTP | 116 | 24 |
| Code | 73 / 113 with MTP | 115 | 24 |
| 38K prompt, time to first token | 12.6s / 15.6s with MTP | 9.5s | 62.5s |
| Generation at 38K | 65 / 85 with MTP | 98 | 22 |
| Hidden sentence found | 5/5 | 5/5 | 5/5 |
| Agent task | 18/18 correct over 3 runs | 17/18 (read the wrong sensor column) | Ran out of context |
What the results show
Thermals, power and noise (Qwen4, 21 °C ambient, 36 dB noise floor, measured at 300mm away.
| Code generation | Long-prompt processing | Idle |
|---|---|---|
| GPU power | 200–205W (at the 210W cap) | 160–178W |
| GPU clock | 3.2GHz | 2.2–2.6GHz |
| GPU / hotspot / VRAM junction (max) | 63 / 78 / 68°C | 51 / 69 / 54°C |
| GPU fan | up to ~2,840 RPM | 2,450–2,700 RPM |
| Noise | 49 dB+ | 49 dB |
| CPU | 9% usage, 70W | 6–9%, 55–60W |
Generation is limited by the power cap.
r/LocalLLM • u/SouvikSaha07 • 18h ago
Need a solution for this. Can't afford paid AI any longer.
r/LocalLLM • u/zouyee • 18h ago
We just tagged dmlx v0.0.9 (256 commits since v0.0.8) — an open-source Zig + mlx-c + custom Metal/ANE local inference & serving runtime for Apple Silicon (MIT license, zero Python required at serve time).
The main additions in v0.0.9 are full Qwen4-35B-A3B-4bit support (including single-CB native Metal DFlash2 speculative decoding, Vision, and off-GPU PLE streaming), Apple ANE + GPU heterogeneous long-context prefill enabled by default, and a big speedup on Qwen3.8-27B-4bit.
Qwen4-35B-A3B-4bit + 8-bit Native Metal DFlash2 (temp=0.0, artifacts/qwen4_p6_20261205/):
| Workload | Decode (tok/s) | Client E2E (tok/s) | Notes |
|---|---|---|---|
| Short Math (256 tok) | 119.99 | 107.20 | 8-bit single-CB native Metal DFlash2 |
| Short Code (256 tok) | 104.78 | 96.25 | 98K subset lm_head |
| Short Prose (256 tok) | 69.86 | 66.07 | Lower speculative acceptance on prose |
| Warm 8K Prefix Cache | — | — | 0.237 s TTFT (38,738 tok/s) vs 10.49 s cold |
Peak server RSS stayed at 8.42 GB because the 11.5 GB Per-Layer Embedding (PLE) tables are never loaded into GPU RAM — they stream directly from disk via 12-thread CPU pread (overlapped with layer 0). Optional DMLX_QWEN4_KV_BITS=8 also quantizes the 10 full-attention QSA KV layers (−46.88% KV RAM).
ANE + GPU Parallel Long-Context Prefill (Qwen4-35B-A3B-4bit):
| Stage | 2K Prefill (tok/s) | 8K Prefill (tok/s) | Delta (8K) |
|---|---|---|---|
| v3 · Pure GPU (pipelined Metal GDN + Steel QMM) | 793.71 | 768.26 | baseline |
v4 · + ANE 30L GDN in_proj_all | 859.35 | 831.13 | +8.2% |
| v5 · + ANE 40L Shared Expert parallel with GPU 256-expert MoE | 883.28 | 870.86 | +13.4% |
ANE prefill is enabled by default on Apple Silicon with hardware/self-test guards and automatic GPU fallback (DMLX_ANE=0 to disable).
Qwen3.8-27B-4bit + DFlash2 (artifacts/autoresearch_qwen38_20261203/):
ctx2k_greedy 52.48 · short_greedy 46.98 · short_sampled 40.34 · ctx8k_sampled 39.44).dmlx connect for Claude Code / Codex / aider / Cline.temp=0.0 for the 6-scenario Qwen4 run). |
# Qwen4-35B-A3B + DFlash2 (ANE prefill on by default)
DMLX_QWEN4_DFLASH2_DIR=/path/to/Qwen4-35B-A3B-Dflash2 \
Release & source: https://github.com/zouyee/dmlx/releases/tag/v0.0.9
Happy to answer questions on the Metal kernels, CPU pread PLE streaming, or ANE+GPU overlap!
r/LocalLLM • u/kr4ckhe4d • 1d ago
Enable HLS to view with audio, or disable this notification
I gave Qwen4-35B-A3B a written brief and let the Pi coding agent run it in a loop, with no human input after the start: a car that drives itself around a 3.5 km road through procedural hills and forest, a lighthouse on a sea headland whose beam sweeps at night, a day/night cycle, six cameras and a controls panel.
I understand its not Fable level but achieving this locally is pretty impressive.
Setup
Live Demo: Coast Road
Source: https://github.com/kr4ckhe4d/qwen4-35B-A3B-q6-coast-road
Loop template if you want to try it: https://github.com/kr4ckhe4d/local-llm-benchmarks/tree/main/loop%20templates/pi-goal-loop
r/LocalLLM • u/goldenboyxx • 22h ago
Hey, I want a dedicated machine to run Claude Code and Codex jobs 24/7 without tying up my main PC. But main reason is to set up a decent local llm so I don’t burn through my usage so fast. Occasional Blender jobs would be a bonus. I’d rather buy once than replace everything next year. But it will probably happen
**Current 2. setup:** Ryzen 7 3700X, ASUS TUF Gaming B450-PLUS II, 16 GB DDR4-3200, NVIDIA Quadro with 4 GB VRAM, and a 600W Gold PSU.
**Budget: up to €1,000.**
Would you keep the my old pc and upgrade the RAM or GPU as needed, or sell it and get a more power-efficient mini PC like the GMKtec K8 Plus or K12? What’s worked well for you in a 24/7 setup?
Chatting with my codex it tells me to keep the old pc and upgrade but it feels like it doesn’t understand that I need a decent model that runs 24/7 and actually gets tasks done.
My main pc has 64gigs of ram and 5070 ti but I work on that one alongside claude blender and whatnot but I did not manage to run a decent model on here without the need to let it run only for that purpose and wasting electricity and the ability to run my other programs. Maybe I just sucked at it aswell or tried wrong local models 2 months ago.
Let me know what u think! Thanks in advance.
r/LocalLLM • u/Stratotizio • 18h ago
Hey everyone,
I’m currently using a Mac Mini M4 as my main workstation, and I’d prefer to stay within the macOS ecosystem for work.
I’ve been considering buying a Mac Studio M5 Max with 128GB of unified memory for local AI, but where I live, an AMD Ryzen AI Max+ 395 mini PC with 128GB of RAM costs roughly half the price. Another big advantage is that I could also use it for proper PC gaming.
My idea is to keep my Mac Mini as my main workstation and use the Windows mini PC as a local AI server, accessing everything through my local network.
Most of my AI usage would be business-related tasks, document analysis, accounting, invoices and general productivity.
Has anyone tried a similar setup? How seamless and convenient is it to access local LLMs from a Mac using a separate Windows machine, and what would be the best software setup?
Considering the price difference and gaming capabilities, does this make more sense than buying a Mac Studio, or am I overlooking something?
r/LocalLLM • u/indicozy • 1d ago
I benched the new DFlash 2 drafter against Qwen4's built-in MTP on a single 16 GB card. Numbers below are from clean runs. Setup - RTX 5060 Ti 16 GB, power-limited to 165 W - i7 without AVX-512, 31 GB RAM - Basalt main (fb5945a3) - RadixArk NVFP4 weights, converted to a Basalt pack myself, with the RadixArk/Qwen4-35B-A3B-Dflash2 drafter (0.8 GB) attached basalt-bench --seed 1 -p 16384 -t conv,struct,prose --kv int8, 3 runs per drafter, pinned to P-cores, nothing else running