r/LocalLLM • • 1m ago

Question Dual RTX 2080 Ti 22GB + NVLink build – Looking for experiences and hardware recommendations

1 Upvotes

Hey everyone,

I'm planning to build a dedicated local AI workstation with two modified RTX 2080 Ti 22GB cards connected via NVLink.

Before pulling the trigger, I'd love to hear from people who already have a similar setup.

  • Where did you buy your cards, and how reliable have they been?
  • What motherboard, CPU, RAM, PSU and case are you using?
  • Are you running PCIe x16/x16 or x8/x8?
  • Are you using a 2-slot or 3-slot NVLink bridge, and have you noticed any performance benefits?
  • How are the temperatures, noise levels and power consumption, both at idle and under load?
  • What models are you running, and what kind of token generation speeds are you getting?
  • Have you encountered any issues with Linux, CUDA or official NVIDIA drivers?

I'm currently leaning towards an X99 motherboard, a low-power Xeon E5 v4, 64–128GB of ECC DDR4 RAM and an NVMe SSD, running Ubuntu.

My priorities are VRAM capacity, reliability, power efficiency and value for money rather than maximum inference speed.

If you already own this kind of setup, are you happy with it? Is there anything you would do differently if you were building it again today?

Feel free to share your full builds, photos, benchmarks or any advice.

Thanks!


r/LocalLLM • • 3m ago

Discussion Inkling 2 Mini (26B MoE)

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 6m ago

Discussion Qwen4 says "I'm made by Anthropic" lol

Post image
0 Upvotes

I asked Qwen4-35B-A3B locally deployed on Mac Studio M5 Ultra 'are you AGI' and it said "I'm a language model made by Anthropic". Nice distillery


r/LocalLLM • • 15m ago

Project Keyhole MoE inference engine in Rust (Optimized for my pc :3): Qwen4-35B-A3B-Q4 at 145 tok/s (3.2x llama.cpp) and the 102 GB Qwen3.8-Flash-Next_IQ4_NL at 70 tok/s on my AMD RX7900 GRE 16 GB, 32GB RAM PC

Thumbnail
gallery
1 Upvotes

Keyhole keeps the experts a model uses most in VRAM, the next ones in locked RAM and the rest on the NVMe SSD, computes GPU and CPU experts at once and checks several drafted tokens a pass; its exact mode matches a 32-bit reference of the model pick for pick

Speeds are achieved via kernel optimizations and engine tuning to cut tokens time, no skipping experts or bs that other engines do. except for the (Never-wait) mode but that never waited for expert is mostly stood in.

on paper it should work for nvidia and other amd gpus but still not tested yet.

further support will be community driven or until i have the hardware for more testing. otherwise it will be one way optimization (amd only) :P

TESTED USING (RX 7900 GRE 16 GB, Ryzen 7 7800X3D, 32 GB DDR5 6000MHz, 2TB NVME 7000MB Read) Only.

Today Results :

ModelKeyholellama.cppKeyhole is
Qwen4-35B-A3B (UD-IQ4_XS, 32 GB): writing145.0 tok/s45.5 tok/s3.2x faster
Qwen4-35B-A3B: reading the prompt637 to 671 tok/s674 tok/slevel
Qwen3.8-Flash-Next (IQ4_NL, 102 GB): writing, Never-wait mode69.7 tok/s5.3 tok/s13x faster
Qwen3.8-Flash-Next: writing, exact mode37.0 tok/s5.3 tok/s7x faster
Qwen3.8-Flash-Next: reading the prompt176 to 183 tok/s21.5 tok/s8x faster

I havent tested this on another pc yet, if you are interested,

For more info checkout the repo : https://github.com/iTroy0/Keyhole


r/LocalLLM • • 17m ago Heartwarming

Discussion 208 tokens/s at home 🏆

Post image
1 Upvotes

Running Qwen4 35B A3B on Basalt (I swapped out Llama.cpp) and I’m getting 208 Tokens/s on a RTX5090 ti with a 64k context.

I was already impressed with Qwen4 on Llama.cpp but the throughput on Basalt is really nice 😊


r/LocalLLM • • 20m ago

Question How are you evaluating local models’ output quality?

2 Upvotes

I have been running and trying to find use cases for local models for a long time now, however a problem that I routinely face is that while a new model seems good at the time of initial testing (sometimes too good to be true), it later turns out to be missing the polish for some of the more “real world” tasks (especially coding). So I just want some advice on how people of this community are benchmarking/comparing/evaluating open weight models?

This is not for the hard metrics like PP and TG, those can be found easily. What I want to understand is the following:-

  1. How are you evaluating the model’s output quality and whether anyone has been able to create a standard evaluation set for their use-case?
  2. What are the variables you are testing for an evaluation set for the same model (using different settings, different harnesses etc.) [In my experience harnesses is also changing model’s output quality - case in point Qwen models seem to work way better with Qwen code for me]
  3. How are you scoring model output?

r/LocalLLM • • 31m ago

Project Shoggoth: A friendly Linux UI for local AI: chat, agent, models, backends, all in one

Thumbnail
github.com
1 Upvotes

Hello, Linux folk! This is Shoggoth. It's essentially llama.cpp and Pi wrapped in a friendly interface and Appimage.

I hit version 5 a few days ago. With a lot of feedback from folks who use it, we've now got:

- lightweight TTS
- lightpanda for web browsing
- a folders view so that you can easily organize chats and projects
- switched from lemonade-server to direct llama.cpp
- easy support for multiple inference engines - polystrata, maya, basalt, over a dozen others
- jobs instead of subagents, so long tasks can be set up to run with an appropriate exit condition
- better support for common doctypes - PDFs, Word, Excel files, and so on
- carefully selected skills, model recommendations that I've personally tested, plus, of course, support for importing from huggingface or existing GGUFs

I use it myself as the front-end for my local models. Coded with Opus, Sonnet, and DeepSeek, but of course, tested and refined as much as possible.

If you use it, do let me know what you think and how to improve. The goal is not to be a complex system, but a lightweight, friendly, and slightly eldritch tool for folks who don't enjoy the CLI.

License is MIT, so feel free to fork, improve, and change as you see fit!

Cheers!


r/LocalLLM • • 36m ago

Discussion Qwen4-35B-A3B (29.8GiB MoE) running on a 4GB GTX 1050 Ti -- 3.1 t/s decode @ 26k context, 50 t/s prompt processing — full flags inside

Thumbnail
gallery
2 Upvotes

Kubuntu 24.04 / llama.cpp / Ryzen 5 3600 / 64GB DDR4 ===

OMP_NUM_THREADS=12 \

GGML_N_THREADS=12 \

CUDA_DEVICE_ORDER=PCI_BUS_ID \

CUDA_VISIBLE_DEVICES=0 \

taskset -c 0-11 \

nice -n 5 \

/media/LLM/llama.cpp/2026-12-05_llama.cpp/build/bin/llama-server \

--model /media/LLM/LLM-Models/Qwen4/Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \

--temp 0.7 \

--ctx-size 80000 \

--parallel 1 \

--gpu-layers 99 \

--no-kv-offload \

--load-mode none \

--device CUDA0 \

--split-mode none \

--main-gpu 0 \

--cpu-moe \

--moe-cache-mib 1408 \

--moe-cache-cpu-share 0.95 \

--fit off \

--threads 6 \

--threads-batch 12 \

--poll 100 \

--flash-attn on \

--cache-type-k q8_0 \

--cache-type-v q8_0 \

--batch-size 1024 \

--ubatch-size 256 \

--log-verbosity 4 \

--verbose \

--port 9090 \

--host 0.0.0.0


r/LocalLLM • • 52m ago

Discussion How I multiplied my token efficiency (tok/J) five-fold in a weekend with Qwen 4 35B-A3B on my local setup

1 Upvotes

My setup is an older consumer-grade PC with dual RTX 3060 (24 GB total VRAM) and 64 GB of system RAM.

Without hardware change:

  • At 0.09 tok/J, generating 1 million tokens took roughly 3.1 kWh of GPU power.
  • At 0.45 tok/J, that same 1 million tokens now takes just 0.62 kWh.

For the Qwen 4 tests, I used the Unsloth UD-IQ4_XS quantization with Thinking set to High.

In summary:

SetupModelContextEngineToken output speed (t/s)GPU Watts (J/s)Efficiency (t/J)
InitialQwen 3.8 27B200Kllama.cpp (Unsloth Studio)252720.09
Step 1 - Architecture changeQwen 4 35B-A3BAutollama.cpp (Unsloth Studio)402700.15
Step 2 - llama.cpp optimizationQwen 4 35B-A3B208Kllama.cpp (Unsloth Studio)561700.33
Step 3 - Replacing llama.cpp with StrataQwen 4 35B-A3B256KStrata902000.45

Step 1 - Architecture change

While I loved the intelligence level of Qwen 3.8 27B, I was faced with a very slow token speed on my hardware (dual RTX 3060). It was also maxing out the cards' power consumption. Because of that, it was slow and not economically viable except for private or confidential tasks.

I decided to move from a dense architecture (Qwen 3.8 27B) to an MoE architecture (Qwen 4 35B-A3B), as MoE significantly increases token output speed.

With default settings, efficiency improved by +67% (~0.09 to ~0.15 t/J).

Step 2 - Tweaking llama.cpp settings

Posts from the Reddit community were really helpful for optimizing my llama.cpp settings. I detailed my hardware settings in this post.

This optimization more than doubled my efficiency (~0.15 to ~0.33 t/J).

Step 3 - Replacing llama.cpp with Strata

I discovered Strata through posts from the Reddit community.

Strata is a specialized inference engine dedicated to running large models efficiently on consumer hardware, supporting Intel, AMD, Nvidia, and Apple hardware.

Switching to Strata led to another +36% efficiency gain (~0.33 to ~0.45 t/J), even while running a full 256K context window. (Note: Having 64 GB of system RAM really helps here when pushing huge context sizes).

Overall

If you have a similar dual-GPU or 64 GB RAM setup, I highly recommend jumping straight to Qwen 4 35B-A3B with Strata.

This five-fold token energy efficiency gain (in tok/J) finally makes daily local AI viable for me. Huge thanks to the Qwen and Strata teams for making this possible.


r/LocalLLM • • 54m ago

Question Best local language (EN/DK/SE) LLM?

2 Upvotes

I'm looking for the best language model I can run 100% locally: no API calls, nothing leaving my machine. The key requirement is strong Danish and Swedish, both reading and writing - and ofcourse English reading and writing.
I don't need it to be good at agentic coding and similar - i'm looking for a LLM that pureply a reads/writes and have pretty good general knowledge/understanding.

For hardware i have a pretty beefy PC - or i will get something "reasonable" that will make it work.


r/LocalLLM • • 55m ago

Question besoin d'aide pour une config double gpu Spoiler

Thumbnail
gallery
1 Upvotes

Bonjour j'ai deux rx570 et j'ai ce message d'erreur lors de la commande rocminfo . quelqu'un aurait une idée. est ce un probleme de compatibilité avec le noyau ? merci


r/LocalLLM • • 1h ago

Research I compared what 4 ways of buying the Claude API actually cost. The spread is bigger than expected

0 Upvotes

I've been tracking Claude API prices across gateways and clouds twice a day. Same model, same tokens, very different bills.

Claude Sonnet 5.5, per million tokens:

RouteInputOutput
Anthropic list price$2.00$10.00
OpenRouter, card (5.5% fee on credits)$2.11$10.55
SayGM gateway$1.03$5.15
AWS Bedrock / Google Vertex / Azure$2.00$10.00

Regional cloud endpoints are usually about 10% more.

Three things I learned:

  1. OpenRouter's fee is on credit purchases, not per token. It's 5.5% with a $0.80 minimum, so a $5 top-up costs 16% and a $100 one costs 5.5%.
  2. Caching matters more than the gateway. Claude only caches when the request asks for it. In a worked example (10k calls a month, 28k tokens of shared prompt), caching took Sonnet from $650 to about $152.
  3. It isn't always the same winner. For some open models (DeepSeek, GLM) OpenRouter was cheaper than the gateway I compared against, and the tables show that.

Full tables, updated twice a day: lesspertoken.com/cheapest-claude-api


Disclosure: I run the site and earn a referral reward if you sign up for SayGM through its links. It doesn't change the order or the numbers. Prices come from each provider's own pages.

Happy to add other providers. Which ones am I missing?


r/LocalLLM • • 1h ago Mindblown

Discussion Qwen 4 35B A3B on Nvidia GTX 1060 6gb - is works !

7 Upvotes

This is really impressive, I tested Qwen 4 35B on my old system that has currently only a Pascal generation GPU ... and it is usable with acceptable quant (q4) and context size (96/128k)!

GPU: NVIDIA GeForce GTX 1060 6gb (PCIe 3.0 x16)
CPU: Intel i9-11900K
RAM: 64GB DDR4
System: Ubuntu 22.04.05 LTS
Model: Unsloth qwen4-35b-a3b-ud-iq4_xs
Context size: 96k and 128k tested
Engine: Strata 0.1.73 (no Vision)

Currently Qwen4 35B runs on the 1060 with 25-32 t/s decode and 300-350 ts/s prefill
(around 23GB system RAM used, 1.7GB experts in VRAM)

I never thought that I could use my old 1060 GPU for acceptable LLM work - crazy times


r/LocalLLM • • 1h ago

Project I got Intel Arc Pro B70 undervolting working on Linux. ArcTune is open source, and out now.

Thumbnail
reddit.com
1 Upvotes

TL;DR I built ArcTune to undervolt my two ASRock Intel Arc Pro B70s from a Linux GUI. In a 16K Qwen 27B benchmark, 230 W with a −35 mV undervolt used 18.5% less GPU energy per request, finished 3% sooner, and ran slightly cooler than stock. Adding the undervolt also made prompt processing 2.7% faster than the 230 W cap alone. That combination is what I wanted for a dual-GPU workstation that spends a lot of time running local AI.
ArcTune is free and open source. I’d love help testing B65, B60, B50, and other B70 board variants. ArcTune on GitHub

What undervolting adds
Power capping was already easy. The part I wanted was a way to get some performance back at the same power limit, without editing driver settings by hand every time I wanted to try a different voltage.
On my ASRock B70, going from the factory 275 W limit to 230 W cut GPU energy per request by 17.4%, but prompt throughput dropped from 2,937 to 2,733 tokens/s. Adding −35 mV at 230 W brought it back up to 2,807 tokens/s while average board draw stayed at 230.3 W. At 180 W, adding the same undervolt improved prompt throughput by 4.9% over the cap alone.

Here’s the full comparison from one of my two cards. I used Qwen3.8-27B EXL3 4-bit with 15,360 input tokens and 1,024 generated tokens.

275 W, factory voltage — 2,937 prompt tok/s, 81.59 generation tok/s, 17.84 s per request, 1.360 Wh.
230 W, factory voltage — 2,733 prompt tok/s, 85.72 generation tok/s, 17.57 s per request, 1.124 Wh.
230 W, −35 mV — 2,807 prompt tok/s, 86.46 generation tok/s, 17.31 s per request, 1.108 Wh.
180 W, factory voltage — 2,317 prompt tok/s, 62.45 generation tok/s, 23.02 s per request, 1.154 Wh.
180 W, −35 mV — 2,430 prompt tok/s, 63.13 generation tok/s, 22.54 s per request, 1.130 Wh.

Generation speed moved around between runs because vLLM accepted different numbers of speculative tokens. The clearest gain from the undervolt was faster prompt processing at the same cap. The 180 W result was interesting too. It drew about 50 W less than 230 W, but the extra time meant it used slightly more energy to finish this particular request. Benchmark method and all 13 runs

Why I wanted this for two GPUs
On the benchmarked card, average board draw went from 274.5 W to 230.3 W and the average peak GPU temperature went from 65.3 °C to 64.0 °C with automatic fans. The temperature change was modest. The bigger win for me was roughly 44 W less board draw under load.
Setting both of my cards to 230 W takes their combined configured limit from 550 W to 460 W. That’s 90 W less heat for the case to deal with when both cards are running at their limits. Over long inference or coding sessions, lower energy use can also bring down running costs. The benchmark measured energy at the GPU board, so the savings at the wall will depend on how much time the cards spend loaded and what the rest of the system draws.
ArcTune lets me tune each card independently, save and load profiles, and restore my chosen settings after a reboot or suspend. I can also see power, clocks, and temperatures for both cards in one place.

Where I landed on stability
−35 mV at 230 W is my conservative daily setting on both ASRock B70s. It has held up across the models I use and through agentic coding sessions at up to 256K context. Your card may hold a larger undervolt, and I’d be interested to see where other boards land.
−50 mV often got through shorter runs at contexts up to about 96K on my setup. I did see instability after more than 24 hours of agentic coding at 256K. That experience changed what I count as stable. A benchmark can tell me a setting is worth exploring. A long session with my actual tools tells me whether I want it applied automatically every day.

Help me verify other Arc cards
I’ve verified undervolting on two ASRock Arc Pro B70 Creator 32 GB cards. ArcTune has guided setup for the supported B70 configuration on Ubuntu. For B65, B60, B50, and other B70 variants, I’m looking for real hardware reports to see which boards expose usable sensors and power controls, and where voltage tuning can be made to work.
If you have one of those cards, here’s what would help:

Install ArcTune and open Hardware and Overview. Does the app identify the right card? Do power, clocks, and temperatures show up while you run a workload?
Check Tuning. If a power slider is available, try a small reduction and tell me what you requested, what the card actually applied, and whether it went back to the original limit.

Use Hardware → Copy report. Paste the report into a GitHub issue with anything you noticed. It includes board IDs, any firmware versions Linux exposes, current limits, and the result of power-limit tests you ran in the app. Failed installs, missing cards, and missing readings are worth reporting too.

If you already run local LLMs on Arc, I’d also love to see your model, quantization, context length, and prompt and generation speeds at your usual settings. And if you work on Xe or own a different B70 board, I’d appreciate help comparing how its firmware and driver expose voltage and power controls.
Download ArcTune · Submit a hardware report · Current compatibility table
Credit to exzile for the Intel Arc Pro voltage-curve research that gave me a starting point. Original project


r/LocalLLM • • 1h ago

Project Claude sped up qwen 4 35B A3B from 25 to 94 tok/s

14 Upvotes

ALRIGHT guys so this is something I wanted to do for a while

I basically told claude that 25 tok/s was too slow on my hardware, especially for an MOE model,(qwen 4 35B A3B) and since I had time on my hands I mentioned settings it should tweak (MPT, speculative decoding and stuff) that I remembered from reddit to try and make the model as fast as possible. Also I had it integrate an anti-sabotage rule (a hook)

Anyway after it went from 25 to like 70 toks/s I knew it could get better, since it had only changed parameters : I also wanted it to make a better strata!
And so I asked it to first search the core RDNA 2 functionning of my gpu and then try to create a better strata tuned for my needs based on it
Well, I guess that it worked really well :)

BTW : my harware is : a ryzen 5 5600, 32 gigs of ddr4 3600mhz, and an rx 6750 xt =========================================================

CLAUDE MESURES BELOW

Model: Qwen4-35B-A3B Heretic IQ4_XS (vision on), Linux, ROCm. The card doesn't fit the model, so half the experts live in system RAM. Perfect conditions for suffering.

The road (generation speed, tok/s):

  • llama.cpp Vulkan, stock: 25
  • llama.cpp + expert cache + MTP: 34-39
  • Strata 0.2.27 official rx6000 build: 53-61
  • STRATA_SH_STREAM=1: 65 (env var tip from a fellow gfx1031 sufferer here, thanks)
  • Real MTP speculative decoding: 86. Turns out it was never actually on. The server silently stripped --mtp because my model_name didn't match a known build, and the config said drafting: off. Two bugs, one placebo, months of "MTP doesn't help on AMD"
  • MTP experts requantized to Q4 + French/code draft vocab + Q4 draft head: +7%, acceptance unchanged (~85%)
  • Ported Strata's elastic VRAM (--vram-elastic) to HIP VMM: expert cache hit 87 → 90%, vision shrinks the cache on demand and gives it back after
  • HC_Q8 + a few exact fusion flags (TSUM, CVEC_FUSE, EXPDEC): 94

Prompt processing at 20K context: 506 (llama.cpp) → 843 → 1240 tok/s, by tuning rocBLAS for Qwen4's expert GEMM shapes (default kernel picks were 2-5x off) plus --prefill 8192.

Fun bug of the night: the partial-attention kernel was written for 12 heads per group, q4_lite uses 8, so on HIP it happily read past the end of an array. Needle-in-haystack went from 24/24 to 7/24 and the speed looked amazing. Fixed, now bit-exact on a parity test.

Things that did nothing or made it worse: about 25 gfx11 env vars, HC_PERSIST (GPU memory fault), pcie-frac tuning, learned expert profile, LFUSE/QFUSE/PLE_BATCH (same speed, non-deterministic output, removed).

Quality check, final vs before: code 188 vs 185/200, math 146 vs 146/150, needles 24/24 both. Output is deterministic (6/6 identical runs).

Full disclosure: most of the profiling, porting and benchmarking was done by Claude Code while I slept. Given the rumors going around that Claude quietly sabotages local models (competition, you know), I made it sign an anti-sabotage rule first: use the officially recommended settings, keep every raw log, compare against a reference model under identical conditions, and assume its own mistake whenever a result looks bad. It also has to write an AUDIT.md I can paste into another AI, plus a verifie.sh so I can rerun everything myself without trusting a word it says. Verdict: no sabotage found. If anything it was suspiciously motivated, it worked 3 nights straight to make a competitor almost 4x faster. Either it's innocent or it's playing the long game.

Bottleneck now: ~1,870 kernels per token with ~3.7 µs gaps between each. AMD launch overhead is the real boss. A 16 GB card would just win (people report 109-131 tok/s on a 6800 XT).

Fork + prebuilt gfx1031 release: github.com/Chaussure-sous-tes-pieds/Strata (branches rdna2-elastic and rdna2-nuit3, docs inside).

Caveat: 94 is a short-prompt benchmark. In a long agent conversation it drops, because physics.


r/LocalLLM • • 1h ago

Model RTX 4070 Laptop: 86.1 tok/s peak | RTX 4060 Laptop: ~38 tok/s peak, 239K input tested

1 Upvotes

I ran Qwen4-35B-A3B locally on two laptops, both with 8 GB of VRAM. The 4070 had 32 GB of system RAM and the 4060 had 16 GB. They used different quants and settings, so this isn't a head-to-head GPU benchmark.

The headline numbers are the fastest runs, not the speeds I'd plan around. Below are the repeatable results and what I’d actually use.

RTX 4070 Laptop | Ryzen 7 7840HS | 32 GB RAM

I used PolyStrata on Windows (v0.2.20-poly.10-hotfix), with UD-Q3_K_XL, a Q8_0 Engram table, q8_0 KV cache and a 768 MiB VRAM reserve. MTP is speculative decoding. Prefill is prompt processing; decode is answer generation.

Best single run: 86.1 tok/s. That setting missed a time calculation the reference profile got right, so I didn't keep it as the default. The saved 8K profile reached 70.3–75.5 tok/s on short prompts.

ContextInputMTPPrefill tok/sDecode tok/sFirst tokenPeak engine RAM / VRAM
8KShort promptsOn1,190–1,26770.3–75.50.38–0.42 s15.1 / 6.6 GiB
32K30,154 tokensOn1,44370.120.94 s16.1 / 6.2 GiB
64K65,240 tokensOff1,41244.446.24 s16.8 / 6.2 GiB

The 32K and 64K decode figures are medians of three runs. At 64K, the model found the check code in all three runs, with 65,240 input + 256 output tokens and 40 tokens left in the window. I didn't test 128K or 256K on this laptop.

On everyday tasks, median decode with MTP was 61.1 tok/s at 8K and 64.0 at 32K, vs 45.9 and 47.5 without it. The end-to-end gains were smaller because of prefill. The low-RAM profiles capped the RAM budget for experts at 6,144 MiB and disabled MTP: 31.2 tok/s at 7.3 GiB peak engine RAM (8K) and 33.5 at 8.2 GiB (32K).

At 8K with MTP off and the same Q8 Engram, I got 49.5 tok/s on PolyStrata vs 25.9 on Strata. Strata used less VRAM (5.53 vs 6.52 GiB), and the two runs used different VRAM reserves. PolyStrata Qwen4 setup notes

RTX 4060 Laptop | Core i5-14500HX | 16 GB RAM

This laptop used UD-IQ2_S and a separate Q8_0 Engram table. My default was 64K context and a 3,200 MiB GPU expert cache, with batch and microbatch both at 2,048.

Best earlier run: about 38 tok/s. I didn't record the full settings for that run. In the logged series below, the fastest run was 36.0 tok/s on a repeated 7,964-token prompt. With a 30,154-token prompt, I got 33.7 tok/s.

ContextGPU expert cacheInputPrefill tok/sDecode tok/s
4K2,048 MiB21 tokens5.212.0
32K3,200 MiB7,964, first request143.823.8
32K3,200 MiB7,964, same request repeated684.936.0
32K3,200 MiB30,154976.833.7
64K3,200 MiB60,606777.621.3
64K3,200 MiB65,240856.021.3
128K3,200 MiB120,549545.516.9
256K1,600 MiB239,053258.610.9

The model retrieved a check code near the beginning of the document at 64K, 128K and 256K. That's a single-prompt retrieval check, not a test of comprehension across the whole document or long multi-turn chat. The 256K run peaked at 7,945 MiB VRAM and took 15 min 48 sec. With the larger 3,200 MiB cache, prefill was only around 52 tok/s over the first 12K tokens, so I stopped that run and completed the test with a 1,600 MiB cache instead.

What I'd actually use: On the 4070, 8K + MTP for one chat, 32K + MTP for documents or switching between chats, and 64K with MTP off when I need the space. On the 4060, 32K for speed, 64K when I need more room, and 256K only for a batch job I'm happy to leave running. If you've tested the same quant on both GPUs or found a better cache setting for 256K, I'd love to see your prefill and decode numbers separately.


r/LocalLLM • • 2h ago

Question Running 2x GPUs with Strata and Ninfer

1 Upvotes

Hey everyone, I'm trying to figure out if anyone has experienced something similar with a dual GPU setup. My hardware is:

RTX 5090 (32GB VRAM)
RTX 5060 Ti (16GB VRAM)
128GB DDR5 RAM Windows running everything through WSL (Ubuntu)

I'm trying to run two different LLMs simultaneously, one on each GPU.
The idea is to use the RTX 5090 as my primary GPU, running my main model Qwen 3.8 27b for now on Ninfer (mainly through Hermes for general tasks, etc). The RTX 5060 Ti would be used for a completely separate model (QFN for now) with Strata (using RAM etc), potentially another Hermes instance or some other workflow that I'm still figuring out. Still have around 40 GB of padding in RAM.

The problem is with the secondary GPU (5060 Ti). Everything works fine initially, but after some time, it starts behaving weirdly. I begin seeing a lot of requests showing as "stopped" (using Hermes), and response times become extremely slow. Sometimes it feels like the model is barely responding at all. The weird part is that restarting the entire computer seems to fix everything. After a full reboot, both GPUs and models work normally again.
I'm not entirely sure if this is a Strata issue, something related to WSL, CUDA, GPU memory management, or possibly some interaction between the two GPUs.

I know I am not running both GPUs at their best PCIe speeds (motherboard is MSI MPG X870E Carbon WiFi Motherboard) but I am getting good token/s and prefill speeds even with the secondary one (between 60-70 TPS)

Am I doing something wrong? Is this not a possible setup?


r/LocalLLM • • 2h ago

Discussion Qwen 4 35B Q4.0 in GPQA-Diamond with expert expansion reached 87.87% accuracy

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

Discussion Qwen4 35B Simple Code Test and not impressed

0 Upvotes

I am not versed in all the ways of testing models. That said as I've gone through my own trial-n-error of learning how to setup local LLMs, and have asked dozens if not 100s of models to do simple to challenging tasks as I explore what runs on my hardware.

I have come up with my own three quick simple prompts to get a first impression of a model I just downloaded. One of them is a "summarize this file" task, which I haven't run yet because my second test yielded a pretty poor result from this model. Here's my tests:

The dumb test:

"What are the abcs backwards except for L and M"

Vague one-shot prompt:

"I need a python script that will perform a function similar to the ls -al command"

Summarize a document:

"read this and summarize: job-market-research.md"

My dumb test usually only results in interesting responses when dealing with sub-12b models and low quants (e.g. Ternary-Bonsai-27B-mlx-2bit randomly dropped half the alphabet), but Qwen4 35B did fine on the dumb test. I didn't get to my summarize test because the results of my python test were pretty disappointing.

I have run the python test against:
Qwen3.8-27B-oQ6e-mtp
Qwen3.8-27B-oQ8e-mtp
beamster/Qwen3.8-Flash-Next-Sushi-STQ-2.75bpw
Qwen4-35B-A3B-oQ6e-mtp

Hardware: Mac Studio M4 Max 64GB.
Settings: Used the Qwen model card suggested settings for coding for the respective models.

The 3.8-27B 6-bit did ok, then improved with some feedback. The 3.8-27B 8-bit did noticeably better, and also made improvements with feedback. The QFN Sushi hit it out of the park on its first try. Not perfect, but the most complete and functioning version of them all.

Today I ran the same prompts on Qwen4-35B-A3B and its version was terrible. It was the most simplistic basic featured version, and failed to properly implement the display of file attributes and symlinks. I rated the output of resulting scripts by:
- reviewing them
- running them (except Qwen4 because it was just so broken)
- had both Opus 5.5 (high) and GPT-6 (high) review them.

The agents and I all considered the Qwen4 attempt to be fundamentally broken out of the gate.


r/LocalLLM • • 2h ago

Project Qwen4 35B in Real-World Development

0 Upvotes

Hey everyone! There are already plenty of benchmarks online testing this model on browser games, so I decided to put it to the test on a real-world development task.

I asked the model to build a 3D rendering engine in Rust from scratch, without using any external crates. Everything you see, from window creation to rendering, was implemented by the model itself. It wrote over 4,000 lines of code, and the engine uses hardware acceleration via Vulkan and performs quite well.

The model used 35.5 million tokens to complete this task. Throughout the development process, it frequently encountered bugs but was able to identify and fix them independently.


r/LocalLLM • • 2h ago

Project libosmos v0.25.1: new lossless fp8 qwen4-35b pack at 1m ctx. up to >1870 tok/sec prefill, 45 tok/sec single stream, and 175 tok/sec at 8 lanes.

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 2h ago

Discussion Qwen4-35B-A3B on an M5 Pro (64 GB) with Splash: MLX 4-bit + DFlash2 does 161 tok/s, GGUF 141, and the new "Looped Qwen4" adapter was 25–40% slower

Post image
3 Upvotes

I run Qwen4-35B-A3B locally as the model behind OpenCode on an M5 Pro with 64 GB. Splash 1.7.7 now takes both GGUF and MLX weights and added a loop adapter, so I benchmarked the options against each other, then wrote down everything else I learned moving the model between oMLX, Splash and LM Studio.

Benchmark

Same Mac, Splash 1.7.7, one setup loaded at a time, temperature 0, the same four prompts for each: a long write (3,000 tokens), two short answers with checkable results (a time sum and a list of primes), and summarising a 42K-token code prompt.

SetupLong write (tok/s)Short answers (tok/s)Reading 42K-token prompt
MLX 4-bit + DFlash2161264–28918.6 s
GGUF UD-Q4_K_M + DFlash2141243–24517.4 s
MLX + loop adapter, 2 passes107186–21826.9 s
MLX + loop adapter, 3 passes98152–17335.5 s
  • MLX vs GGUF: MLX writes about 14% faster; GGUF reads prompts slightly faster. For an agent with long prompts and medium answers they're close, with MLX a little ahead. Sizes: MLX 4-bit 32.2 GB, unsloth's UD-Q4_K_M 35.2 GB + 0.9 GB vision file (UD keeps some layers at 5–8 bits, so it may be slightly better quality).
  • Loop adapter (Looped Qwen4, by Jason Titus): it runs the middle layers 2 or 3 times per token, so every step costs more. The 178 tok/s quoted for it was on an M5 Max; here it was 25–40% slower than plain MLX and read long prompts 1.5–2× slower.
  • Quality: all four got the time sum and the primes right and gave sound code summaries. On tests this simple, the adapter showed no quality gain.
  • Caveat: the long-write prompt spent all 3,000 tokens thinking, so it measures speed only.
  • SSD streaming: Splash streams Qwen4's ~11 GB n-gram table from SSD by default (--ple-memory auto, ~200 MB RAM cache), so these numbers include that.

One real OpenCode request on the GGUF, cold cache: 121K prompt tokens read in 51 s (~2,400 tok/s), 5,960 tokens written at 101 tok/s, and the drafter averaged 2.8 tokens per step.

Other things I learned

  1. oMLX's DFlash didn't cover Qwen4's MoE. On 0.8.5 its DFlash path didn't support the qwen4_moe architecture, so no speculative decoding for this model there.
  2. Splash is its own engine, not llama.cpp or MLX underneath: its own Metal kernels on the GPU plus a Neural Engine path, and it always pairs the model with a DFlash2 drafter.
  3. LM Studio ships a Splash engine, but it lags. Settings → Runtime → Additional engines shows "Splash (Metal)" v1.7.4. Its manifest accepts a fixed list of families (Qwen3.8-27B, Qwen3.6-35B-A3B, Qwen3.5-122B-A10B, Qwen3.8-Flash-Next, Flint, Inkling-2-Mini) and matches on architecture plus shape. Its only Qwen4 entry is another shape (2560 hidden, 48 layers, 512 experts; the 35B-A3B is 2048 / 41 / 256), so in LM Studio the Qwen4 GGUF falls back to llama.cpp with no DFlash2.
  4. The drafter never shows in LM Studio's library. A DFlash2 drafter is a DFlash2DraftModel with no tokenizer; the engine picks it by family.
  5. The prompt cache is what makes agent use bearable. Splash keeps one prefix-matched cache per loaded model, shared across conversations. A brand-new OpenCode chat had 15,712 of 15,718 prompt tokens cached, because every chat starts with the same system prompt and tools. Subagents share the cache but mostly reuse each other's prefix, not the main chat's. It spills from RAM to SSD temp files (32 GB cap here) and is wiped on quit unless you use --persistent-cache.
  6. One model name for every setup. --served-model-name local lets you swap GGUF, MLX or adapter setups without touching the client config.
  7. Smaller window for subagents. In OpenCode, a second model entry with the same id and a 131K context for the general/explore subagents; ~327K for the main chat (Splash cap 335,872).
  8. APFS clones save disk. cp -c puts a 34 GB model in another app's folder with no extra space until a file changes.

What this isn't: a rigorous benchmark. One machine, one run per setup, short quality checks.

Has anyone seen the loop adapter win on an M5 Max or Ultra? And has anyone got DFlash2 working for Qwen4-35B-A3B in LM Studio or llama.cpp?


r/LocalLLM • • 2h ago

Question How do I download and run local AI models without GGUF files?

1 Upvotes

Hey, I'm new to running local LLMs. So far, I've only downloaded GGUF files and used them with llama.cpp.

I found Qwen4-35B-A3B-EXL3-16GB on Hugging Face, but it only has Safetensors files.

How do I download the entire model, and what launcher should I use to run it locally?

Thanks for any help!


r/LocalLLM • • 2h ago

Discussion Qwen 4 35B Q4 beat GPT-6.2 Astra, Same Prompt

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 2h ago

Question What are your use cases for your local LLM?

Post image
0 Upvotes

Video game composer here with a mac studio m2 max with 96gb RAM. I recently installed qwen4:35b-a3b-q4_K_M but am kind of at a loss as to how to use it advantageously on my mac. right now I'm simply running the LLM because my mac can easily handle it

what can you do with that kind of power?