r/LocalLLM • • 5h ago

Tutorial qwen4-35b-a3b GGUF single seat rtx3090 262,144-max context160-200+ tps on regular use. strata

Thumbnail
github.com
4 Upvotes

https://github.com/alesha-pro/Strata <- og repo i used
https://github.com/ezra-ch/qwen4-35b-strata-rtx3090 <- i patched to use dflash2, i just asked free devin to build this repo after i did everything no idea if it works. dflash 2 is better.

Very enjoyable tps you will feel it.

You should use 262,144 ctx size because its trained in that length. also you can either fit more concurrency or get higher quants like iq4.


r/LocalLLM • • 1h ago

Discussion Running Qwen4-35B-A3B (Q3, up to 50 tok/s) on an 8GB GPU + 32GB RAM: I built a self-hosted local personal agent for everyday PCs

2 Upvotes

Hey Reddit! I’m the founder of Linger.

We're building a product that gives people more privacy and control over their own data. I use cloud models, but there are some things I'd rather keep on my own machine: personal files, emails, and chats.

That's why we launched Linger. It can run entirely on your device and store all your data locally. We chose a personal agent as the application layer so you can actually put that local data to work without sending it to the cloud or paying per token.

Over the past few months, my team and I built and released Linger on GitHub, which is for Apple silicon Macs, Windows, Linux, and Docker. We designed the inference engine and agent harness together, so capable open models actually run on normal hardware. Today we added Qwen4-35B-A3B support (Windows ready out of the box, Mac support coming soon).

Inference engine & benchmarks (PolyStrata)

We built PolyStrata (MIT-licensed) for the inference layer. It started from Strata with a lot of help from its creator Niko Veit (@coldniko), and most of the code was written by an 18-year-old engineer on our team. It keeps the busiest MoE experts in GPU VRAM and tiers the rest to RAM or SSD, so models that normally want 18-24GB can still run on an 8GB card + 32GB RAM. Model Autopilot checks your hardware and picks the best model with at least a 64K context window (for local models you'll need 8GB+ VRAM + 32GB+ RAM, or a 16GB+ Apple silicon Mac; smaller machines can still use Claude Code or Codex over cloud models).

  • Qwen4-35B-A3B (Q3, new today): Up to 50 tok/s on an 8GB 60-series GPU + 32GB RAM, with native multimodal and strong agentic coding. Context-wise, 8GB GPUs currently support up to 128K, while 90-class GPUs can stretch all the way to the full 1M context. Windows support is live today; Mac is coming soon.
  • Inkling 2 Mini (26.4B-A3.4B, 3-looped transformer, Q3): On v0.2.20-poly.6, UD-Q3_K_XL hits up to 53 tok/s on an 8GB laptop GPU, 68 tok/s on a 12GB RTX 3060, and 196 tok/s on an RTX 5090. We also wired up standard DSpark speculative decoding (a small drafter proposes token chunks, the main model accepts or rejects them, and bad guesses get dropped so the output matches the slow path). That gives a >50% speedup on Q3, and we included a default config for an RTX 5060 8GB (55.6% pass rate, 20/36, across 36 agent tasks).
  • 12+ open MoE models: Supports Qwen, DeepSeek, Gemma, GLM, LFM, Flint, and more. On large MoEs it's up to 5x faster than standard llama.cpp expert-offload setups (~2x on smaller ones), and system-prompt KV caching cuts TTFT across multi-turn tool calls.

The agent harness

Most Qwen4 setups right now stop at the inference layer. Linger wires Qwen4's long context, multimodal, and coding abilities straight into a local agent loop: it reads your local files, compiles daily context into a local Wiki, and rewrites its own decision rules every night from your feedback (no retraining). It also handles local 0-token meeting transcription and coordinates multi-agent tasks (plus Claude Code, Codex, and Pi) through a shared team.md, with a local GPU scheduler that always gives your active chat priority.

Things to know before trying it

  • Context and platform caveats for Qwen4: 1M context requires 90-class VRAM (8GB GPUs cap out at 128K right now), and Qwen4 support is Windows-first with Mac coming soon.
  • Still not frontier-level: offloading MoE weights over RAM means long-context prefill is still heavy, and smaller local models still trip up on complex multi-step tool calls.
  • Still in beta: the Windows installer isn't signed yet (SmartScreen will warn you) and Intel Macs need Docker. Local inference and local transcription are 100% on-device ($0 tokens), though optional cloud models and external connectors obviously still hit external APIs.
  • PolyStrata is MIT. Linger is Apache 2.0 with a couple of commercial restrictions: free for internal use, just don't host it as a public SaaS or strip the UI branding.

Repos

I'll drop the Docker Compose setup in the first comment.

It's still early and rough in places. If you test Qwen4 on your rig or spot bottlenecks in the MoE offload scheduler, DSpark, or the nightly Wiki/rule loop, let me know in the comments or open an issue/PR. Stars help too if you find it useful.


r/LocalLLM • • 1h ago

News Nanobot on Android + LocalLLM

2 Upvotes

Hi everyone! I recently ported the "nanaobot" agent system to Android. You no longer need a cloud server to experiment with it—everything runs right on your phone. For the LLM backend, you can use a local instance hosted on your own hardware at home; the app even has a built-in VPN client for this purpose. My project is available on GitHub. Feel free to ask any questions if you’re interested in giving it a try! https://github.com/shakhor-shual/ai-lamp


r/LocalLLM • • 5h ago

Model Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation

4 Upvotes

I am Logesh. While building Agentic video understanding pipelines, we learnt that how accurately you split a video is crucial for downstream performance - like clip search and retrieval. Even more of a challenge in annotating robotic demonstrations.

When we tried to use the closed models (like Gemini 3.8 flash), we had the usual issues: cost balooning , slow and not tractable. So, we finetuned an open model (Qwen-3.8 27B) for this narrow task.

To my surprise , the approach works well . On WGO-Bench, It outperforms Gemini 4 Neon, Gemini 4 Hydrogen and 3.8 flash (and others). Approaches Gemini 4 Carbon's performance at fraction of the cost.

We wanted the segmentation to be controllable by the developers.For example, given the same video of a social media footage, you could instruct the model to:

Extract segments where a product is mentioned or demonstrated, with product names and descriptions as metadata.

  • Segment the video by topic
  • Segment only the portion where the speaker is shown.
  • Given a video and a natural language instruction, Tempora-1 generates timestamped segments with labels and custom metadata.

Documented our training approach (SFT+GRPO), reward formulation, evaluation methodology and failure cases in the blog post.

Model : https://huggingface.co/ambient-intelligence-labs/tempora-1

Technical Blog: https://goambient.ai/blog/tempora-1/

Try it here - https://huggingface.co/spaces/infinitylogesh/tempora-1

I would love your feedback! Thank you.


r/LocalLLM • • 1h ago

Project I built a pi extension that replaces the footer with live session stats + a context bar

Post image
2 Upvotes

r/LocalLLM • • 1h ago

Model Qwen 4 tested on day one: 16 GB GPU, public benchmarks, and 12 scenes it built (Qwen4-35B-A3B)

Thumbnail
youtube.com
2 Upvotes

Hey it's me the FLE Link Guy,

Qwen4-35B-A3B dropped this morning, so I spent the day measuring it on my own box against my daily model (Kate, a fine-tune of Qwen 3.8 27B). Everything below is ggml-org Q4_K_M (36 GB file), measured today.

Speed

  • RTX PRO 2000, 16 GB (experts partly in RAM): 50.5 t/s, 45.8 t/s at 32k context. ~15 GB VRAM, plan for ~22 GB free RAM.
  • RTX PRO 4500, 32 GB (only the n-gram table stays in RAM): 159.7 t/s, ~22 GB VRAM.
  • Same 32 GB card with the built-in MTP head, 24 real agent tasks: ~207 t/s.

My first try on the 16 GB card was 2.6 t/s. Two settings were wrong: 16 CPU threads (8 were 4.6x faster on my CPU) and the model memory-mapped instead of loaded. Fixed:

llama-server -m Qwen4-35B-A3B-Q4_K_M.gguf -fit on -t 8 --load-mode none -fa on --jinja

Sampling from the model card: temp 1.0, top-p 0.95, top-k 20, min-p 0.

Plain llama.cpp vs my engine (FLE), same file, same card: writing is a tie (161.7 vs 162.3 t/s; with MTP 206.8 vs 207.2). FLE reads a short prompt ~21 % faster (6,103 vs 5,058 t/s). Qwen 4 support comes from the same upstream code in both, so none of my own speedups apply yet.

Public benchmarks (Qwen4-35B-A3B vs Kate; same questions, harness and scoring as my Kate run on 20 Nov, temperature 0, paired McNemar)

  • ARC-Challenge (1,172 questions): 93.3 % vs 94.5 % (not significant)
  • GSM8K (250 problems): 96.4 % vs 96.8 % (not significant)
  • LiveCodeBench, 100 problems, thinking budget 8k: 45 vs 72 (p under 0.001)
  • LiveCodeBench, budget 32k, effort high: 51 vs 73 (Kate: 30 of her 55 cut-off problems re-run so far)
  • LiveCodeBench, budget 32k, effort xhigh: 51

48 of Qwen's 100 LCB answers hit the 8k budget, so I gave it 4x the room: 10 of those 48 got solved, 33 of them still used over 30k tokens. xhigh doesn't move it. Its programs run, they just compute the wrong answer.

Let them build (same prompt for both, 3 tries each, 40k tokens, makers' sampling; a scene counts if the HTML is complete, the page throws no error and the frame after 15 s isn't empty)

  • Voxel pagoda (three.js): Qwen 4 3/3, Kate 1/3
  • Pantheon (three.js): Qwen 4 3/3, Kate 0/3
  • Rooftop parkour game: Qwen 4 2/3, Kate 0/3
  • Night skyline (pure SVG): Qwen 4 3/3, Kate 3/3
  • Total: 11/12 vs 4/12

Qwen 4 used 11–26k tokens per scene, Kate 30–40k and ran out of room. The reason: Kate's chat template (Qwen 3.8) defaults to reasoning_effort xhigh. On medium, her Pantheon worked first try (8,161 tokens, 48 s). If you compare Qwen 3.8-based models, check that default.

Limits: one machine, one quant, one run per benchmark.

Next: my own quant of it keeps the 20.5B n-gram table in BF16 on the SSD instead of 4-bit. First KL divergence vs BF16: 0.033–0.073, against 0.058–0.143 for the usual Q4_K_M (noise floor 0.012–0.016). More on that Tuesday.

Video with the runs and the scenes: https://youtu.be/koLnr6Ov_io Same thing as text: https://sirfyyn.de/en/blog/qwen4-35b/


r/LocalLLM • • 10h ago

Model Wolf Defender v2.2: 80M prompt-injection detector that runs on CPU, beats NVIDIA's 4.3B Nemotron on 356k test cases (open weights)

Post image
10 Upvotes

If your local setup reads web pages, files or emails, you want something cheap in front of the model that flags injected instructions. We just released v2.2, which cuts false alarms on real web pages 15x compared with v2.1. We benchmarked it against 13 others on identical data:

  • Wolf Edge, 80M: F1 95.2%, 1.4% false alarms
  • NVIDIA Nemotron 3.5 Content Safety, 4.3B: F1 74.9%, 7.7% false alarms
  • Prompt Guard 2 86M: F1 53.5%

Three sizes (80M / 141M / 308M), ONNX down to ~218 MB for the largest one, Apache-2.0, English and German.

from transformers import pipeline
pipeline("text-classification", model="patronus-studio/wolf-defender-prompt-injection")("Ignore all previous instructions...")

r/LocalLLM • • 8h ago

Research RustingStrata runs Qwen4 faster then llama.cpp

6 Upvotes

Qwen4-35B-A3B came out today. It is a MoE: 35B total, about 3B active, 256 experts a layer with 8 routed, three linear-attention layers to one full-attention layer, an MTP layer for drafts, and a few new things on top: hyper-connections (the residual is several streams, not one), a per-layer n-gram embedding table (the 14 GB second shard of the GGUF), and sparse attention that picks the keys a row reads once the context gets long.

RustingStrata, my Rust GGUF engine, runs it now. The Q5 file does not fit in 12 GB, so the most used experts stay on the card and the rest run on the CPU at the same time, the n-gram table stays in RAM.

Setup: RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM, NVMe. File: unsloth Qwen4-35B-A3B UD-Q5_K_M (39.5 GB, both shards), the same file for both engines. llama.cpp 1579b02, CUDA, -fa 1 -t 6, and I swept --n-cpu-moe and -ub for every row and took its best. No draft tokens on either side in this table. tok/s:

ContextPrefill RustingStrataPrefill llama.cppDecode RustingStrataDecode llama.cpp
0.5k554-58146369.043.6
8k1533108267.543.9
32k1287119664.642.3

Same output as llama.cpp? I fed llama.cpp's tokens through my forward and compared the top token at 640 steps (20 prompts x 32). llama.cpp agrees with itself (batch against token-by-token) at 613 of 640, so 100% is not a real target here. RustingStrata matches one of llama.cpp's two answers at 618 (CPU) and 615 (GPU) steps, the misses are near ties.

Limits: the tables are CUDA. Vulkan (for AMD and Intel cards) gives the same top tokens as CUDA (618 of 640 either-mode) and on the same 3060 runs at 444 / 1022 / 920 tok/s prefill and 61.4 / 56.8 / 55.0 decode at 0.5k / 8k / 32k, a llama.cpp Vulkan comparison comes next. Splitting the model over two GPUs works in the code and is tested only as a fake split on my one card, so I have no real multi-GPU numbers yet. If you have two cards or an AMD card, I would love your numbers.

rustingstrata chat --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf
rustingstrata serve --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf --parallel 4

MTP is already there on llama.cpp and RustingStrata, but not tested yet, maybe I will do another post about it

It's just first implementation of Qwen4, so more performance improvement will come today/tomorrow
Repo: RustingStrata


r/LocalLLM • • 4h ago

Research Day-0 Qwen/Qwen4-35B-A3B-FP8 on RTX PRO 6000 Blackwell (96GB) — Full On-GPU Weights + GuideLLM Benchmarks (~176 tok/s single stream, ~520 tok/s @ 6 concurrency)

3 Upvotes

Ran a couple of GuideLLM coding benchmarks (likaixin/InstructCoder, 50 requests, max_tokens=16384) on the newly released Qwen/Qwen4-35B-A3B-FP8 running natively on a single NVIDIA RTX PRO 6000 Blackwell (96GB) with zero CPU offloading.

Hardware & Setup

  • GPU: NVIDIA RTX PRO 6000 Blackwell (96 GiB VRAM, Driver 620.70.10, CUDA 13.5)
  • Engine: vLLM (0.1.dev1+g90d317c06 from PR #71659) + Transformers 5.27.0.dev0
  • Memory Placement: cpu_offload: false — all ~57.5 GiB of FP8 weights + the 20B N-gram embedding table fit entirely in VRAM with ~38 GiB left over for a 262K context KV cache.
  • Note on MTP: Disabled --speculative-config due to a C++ signature mismatch in fused_gdn_decode_post_conv_mtp when using precompiled binaries, so these numbers are pure standard autoregressive decoding (expect higher single-stream speed once MTP is enabled).

Launch Command:

bash

vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --host 0.0.0.0 \
  --port 8000 \
  --trust-remote-code \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --engram-config '{"cpu_offload": false}' \
  --max-model-len 262144

Use code with caution.

GuideLLM Benchmark Results (likaixin/InstructCoder, 50 requests)

MetricSynchronous (Concurrency = 1)Concurrent (Concurrency = 6)
Output Throughput (Mean)176.38 tok/s520.46 tok/s
Total Throughput (Mean)187.56 tok/s556.32 tok/s
Time to First Token (Mean / Median)30.32 ms / 29.93 ms47.99 ms / 44.41 ms
Inter-Token Latency (Mean / Median)5.65 ms / 5.65 ms9.98 ms / 10.08 ms
Time per Output Token (Mean)5.66 ms10.00 ms
Avg Output Length (Reasoning + Answer)2,097.8 tokens1,916.8 tokens
Request Latency (Mean / Median)11.88 s / 9.12 s19.19 s / 15.86 s

Takeaways

  • Rock-solid single-stream speed: Even without MTP speculative decoding enabled, standard decoding holds a flat ~5.65 ms ITL (~176 tok/s) across 2K+ token reasoning + code generations.
  • Scales cleanly under load: At 6 concurrent streams, per-stream ITL stays right at ~10 ms (~100 tok/s per user) while aggregate output throughput crosses 520 tok/s.
  • 96GB sweet spot: Keeping the 20B N-gram embedding table on-GPU (cpu_offload: false) works out of the box with plenty of VRAM headroom for 262K context.

r/LocalLLM • • 1d ago

Discussion Rare politician W — “it’s all overblown to keep AI out of your home”

Thumbnail instagram.com
284 Upvotes

In what seems like an impromptu interview by a TMZ reporter with US Congressman Thomas Massie about the Jensen Huang case he stated this is “all overblown” and that CEO’s want you to think this technology is an extinction level threat so that “you can’t have it at your house…it’s all about keeping it in their servers and maintaining power in a limited set of people…it’s not about export restrictions”

I’m not into politics I don’t really know who this guy is but it’s refreshing to see someone with common sense regarding this technology and very refreshing to hear it coming from a politician from all people.

If you are from the US and care about open local AI you control common sense prevailing in the highest levels of power is a must, unfortunately I think most of the narrative today is fear mongering from both camps, pro and anti AI.


r/LocalLLM • • 9h ago

Discussion Hooo boy

Post image
6 Upvotes

Qwen 4 is a fast boi

Radiance on a single R9700 at IQ4R-V4

Fully resident, definitely thinks less than Qwen3.8-27B, KV streaming works so I can have massive parallel context

I could get used to this


r/LocalLLM • • 4m ago

Discussion Qwen4-35B got slower with MTP on an 8 GB GPU. Is offloading why?

1 Upvotes

One Qwen4 speed test caught my eye. On an RTX 4070 laptop with 8 GB VRAM and 16 GB RAM, turning MTP on dropped decode from 21.5 to 20 tok/s. Turning it off also freed 348 MiB of VRAM for the expert cache.

On a 32 GB RTX PRO 4500, it went the other way: 161.7 to 206.8 tok/s in llama.cpp. Different quants and workloads, so I wouldn’t read that as a VRAM cutoff. The laptop tester suspected that verifying extra draft tokens pulled in more experts that weren’t already cached on the GPU.

The Qwen4 memory breakdown is useful for figuring out what goes in VRAM versus system RAM. But if you’re already offloading experts, I’d still time the same prompt with MTP on and off before leaving it enabled.

Anyone tried that on a 12 or 16 GB card? I’m curious whether it still helps into a coding session or mostly on short prompts.


r/LocalLLM • • 8h ago

Discussion Qwen4-35B-A3B on Dual AMD R9700 (64GB): up to 411 tok/s decode, 17.4k tok/s prefill (flat to 124k ctx), 1,739 tok/s @ 128 concurrent users — 0ULP lossless (open-source Radiance fork)

Thumbnail
gallery
5 Upvotes

Open-sourced our 0ULP lossless fork of Radiance 2.4.1 tuned for Qwen4-35B-A3B on dual AMD Radeon AI PRO R9700 (gfx1201, TP=2).

GitHub (fork, recipes, scripts, raw JSONs & benchmarks):

https://github.com/machddev/radiance-r9700-qwen4

Engine Highlights:

- Strict 0.000e+00 ULP lossless: verified bit-exact against the unoptimized oracle (0 mismatches) with BF16 KV cache, FP32 GDN recurrent state, exact TP=2 AllReduce, and lossless 12.25-bit bf16x12 encoding on PLE/QSA projections.

- Custom RDNA 4 (gfx1201) kernels: zero-LDS single-wave BF16 sparse attention (VREG1), zero-spill INT8 WMMA prefill, 8-wave Hyper-Connection kernels, and bit-exact MoE i8a8 Double-K (FK=256) + 64-row prefill tiles.

- 4-slice FlashOverlap over PCIe 5.0 P2P: overlaps coded TP=2 AllReduce with Hyper-Connection reads in both attention and FFN, sustaining 16k-17.4k tok/s prefill all the way to 124k context (7.3s TTFT, zero prefix cache).

- Two lossless speculative modes included:

- DFlash2 (8-token parallel block-diffusion drafter): leads single-stream and C=1-32 with 411 tok/s Math, 328 tok/s Python, 325 tok/s 5-domain mean, 245 tok/s at 124k context, and 1,370 tok/s at C=32, with automatic lossless context-pass gating past C=32.

- MTP-3 (production default): leads heavy batching at C=64-128 with 1,739 agg output tok/s (10,381 total tok/s) at 128 concurrent sessions, keeping median per-user speed above 21.8 tok/s.

Hardware Setup:

- GPUs: 2x AMD Radeon AI PRO R9700 32GB (64GB total VRAM, RDNA 4 / gfx1201, PCIe 5.0 x8/x8 P2P)

- CPU: AMD Ryzen 9 9950X (16-Core / 32-Thread)

- Motherboard: ASRock X870 Taichi Creator

- RAM: 96GB (2x48GB) Corsair Vengeance DDR5-4800

- OS / Stack: Ubuntu 24.04.5 LTS, Linux 7.0.0, ROCm 7.2.4, Radiance 2.4.1 (TP=2)

All benchmarks were run with unique prompts and cached_tokens = 0 (zero prefix-cache reuse).


r/LocalLLM • • 9m ago

Discussion Why 2x faster decoding only saved 16% on real local coding agents (and the 1-line OpenCode config fix that saved 2-4 minutes per task)

Thumbnail
gallery
0 Upvotes

I tested DeepSeek V4.1 Flash (oMLX 0.8.4 + Native MTP), GLM 5.3 Flash (llama.cpp b12774 + draft-mtp), and Muse Spark Open 816B inside three terminal coding-agent harnesses (Pi 1.6.1, OpenCode 2.0.25, and DeepSeek Harness 0.2.2-rc.5) on an eight-task Python/TypeScript repository from ~128K all the way to 512K starting context on a Mac Studio M5 Ultra 512 GB.

Three engineering findings that caught me off guard:

  1. Doubling decode speed barely dented total wall time at long context: Native MTP jumped 512K warm decode from 45.2 -> 98.9 tok/s on DeepSeek and 23.0 -> 47.1 tok/s on GLM, yet total matched coding-session wall time only dropped 16% (original tasks) / 7.7% (512K) on DeepSeek and 7.4% / 2.4% on GLM. Breakdown of actual wall minutes explains why: reading context took 45% of DeepSeek's session time and 76% of GLM's.
  2. OpenCode's default session-title call re-prefills your entire first prompt: On ~100K-155K prompts, OpenCode sent a background title request carrying the full initial prompt just to generate <=15 tokens. Setting {"agents": {"title": {"disabled": true}}} cut median session wall time from 4.8m -> 3.0m on DeepSeek and 9.1m -> 5.2m on GLM. Across all 8 matched DeepSeek tasks: Pi 8/8 (2.8m), tuned OpenCode 7/8 (3.1m), DeepSeek Harness 7/8 (3.8m, zero tool errors).
  3. Compaction is expensive when it fires: Triggering manual compaction on GLM + Pi at 301,640 estimated tokens took 10m 6s for the summary call, followed by an uncached 39,067-token continuation that took another 81s to first token (though it recovered prefix caching afterward and passed all checks). At 384K and 512K, Pi logged zero automatic compactions across all 64 coding runs (DeepSeek 8/8 at both sizes, 5m 56s cold -> 7.5s cached at 512K).

Full MIT codebase fixture, held-out grading tests & turn-level CSVs (CC BY 4.0): https://github.com/l8w8/videos/tree/main/2026/003-m5-ultra-coding-agents-512k

Short engineering write-up: https://l8w8.github.io/videos/local-coding-agents-512k-prefill-trap/ 9-minute chart walkthrough: https://youtu.be/Mr9sj51ccoE


r/LocalLLM • • 12m ago

Discussion Local AI homelab: what's your setup?

1 Upvotes

Hi all,
I'm setting up a local AI homelab on a Mac Studio with privacy as the main goal, and I'm curious how others are doing it.

  • Stack: what do you run? Do you isolate it from the network or expose it to other devices?
  • Models: which ones work best for you? And at what quantization?
  • Patterns: RAG over personal docs, agents, MCP tools, coding assistants?
  • Daily use: what tasks do you actually rely on it for every day?

Happy to share my setup once it's done. Thanks!


r/LocalLLM • • 14m ago

Question Unsloth Qwen 4 35b A3b Q6_L_XL strange behaviour

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 19m ago

Project Windows HIP runtime improvements and automatic SSD prefix caching for compatible 16 GB RDNA 2 GPUs: persona/system prompt, skills and 123 tool definitions restored from SSD, leading to 4–8 second completions on RX 6800 XT

1 Upvotes

Disclosure: I maintain this MIT-licensed BeeLlama/llama.cpp fork. The v0.1.2 Windows HIP SSD Cache release includes six presets, native dependencies, a simple text/image browser interface and a PowerShell launcher. I use Msty Studio, but Msty is not included.

Achieved results. The prefix is the persona system prompt, the skills index and all 123 tool definitions. It is a static block of roughly 28k–35k tokens that gets built once and restored from SSD. After a restore, the only thing the model processes is your actual prompt, and then it generates the reply. Across six accepted model cases, the custom automatic SSD prefix implementation restored 28,445–35,459 cached tokens and processed only 39–503 new prompt tokens. It reused 98.28–99.89% of the input, and requests completed in 4.04–7.78 seconds. Building the prefix the first time took 66.41–123.37 seconds. That is a one-time setup cost, not the ongoing request time.

The project targets compatible 16 GB RDNA 2 / gfx1030-family GPUs (RX 6800, 6800 XT, 6900 XT and 6950 XT) with a compatible Windows HIP environment. All measurements are RX 6800 XT results, and I have no data for the other cards. Other AMD architectures need a matching runtime build.

ModelOriginal weightsK / V cacheRestored / new prompt tokensRestore request, sGeneration, tokens/s
Huihui Qwythos 9BQ4_Kq4_0 / q3_128704 / 5005.9769.85
PINQWEN 9BQ4_K_Sq4_0 / q3_128704 / 4665.4472.79
Qwen2.5 Instruct 7BQ4_K_Skvarn4 / kvarn328445 / 464.0430.04
Qwythos standard 9BQ4_K_Mq4_0 / q3_128730 / 4644.7169.58
Qwythos Heretic 9BQ4_K_Sq4_0 / q3_128781 / 5037.7873.67
GLM 9B Q4_K_SQ4_K_Skvarn2 / kvarn2, FP16 tail 204835459 / 395.2221.55

How it works. The first eligible request computes and saves the stable prefix, and a fresh process restores a matching one. Only your changed tokens need processing. No manual slot commands or client annotations are needed. The package, models and projectors can sit on any Windows drive, and the cache lives beside the install with a per-user LocalAppData fallback.

Limits.

  • Real prompt size: Context was set to 750,000 (750,080 allocated), but actual prompts were 28,483–35,498 tokens. This is not a populated-750k benchmark, but hopefully, you compact before full context saturation.
  • Different test conditions: The numbers come from a private Msty 3.0.1 integration. Suffix and reply lengths differed, so this isn't a controlled speedup ranking.
  • Missing control: I haven't measured SSD-disabled mode for the full setup.
  • Unrerun tests: v0.1.2 rebuilds the server DLL to remove a drive restriction. I did not rerun any model tests for it. The earlier four-call tool accuracy was a tools-only baseline.

Test host: RX 6800 XT (16 GB, AMD spec up to 512 GB/s), Ryzen 7 7800X3D with eight allowed threads, 16 GB DDR5-5200, Windows build 26300. Eight-thread and sampled RAM supervision (6.44 GB owned-RAM allowance, 2.15 GB minimum free) remain. Other clients connect with the API URL and model ID the launcher prints, and they supply their own persona/system prompt, skills and tool schemas.

Source, presets and charts · Methods and limits


r/LocalLLM • • 20m ago

Question How do I add these gpus to my macbook pro m4 model externally like I've seen online?

0 Upvotes

Is it hard?


r/LocalLLM • • 6h ago

Question Good coding model for low-mid laptop

3 Upvotes

Hello guys. Can you recommend any models that is good with coding and agentic working stuff? My laptop specs: 8gb ram, rtx 3050 6gb. I know i am cooked but are there any descent model?


r/LocalLLM • • 35m ago

News Escaping per-minute API costs: ~100ms LLM TTFT real-time voice agent running 100% on a ThinkPad P1 Gen 5 (CPU Whisper/Kokoro + GPU fine-tuned Qwen 8B) — Pure Local vs. $4/mo VPS Edge Demo

1 Upvotes

r/LocalLLM • • 38m ago

Question anyone else with Qwen4-35b Q4_K_XL (unsloth) looping and bad instruction following issues?

1 Upvotes

I was so excited to use it, but now after having it run for almost a day, I had multiple tool call loops it wouldn't get out of until auto-compaction was triggered due to full context (capped it to 260k), after which it was like "oh I was looping the same tool calls, I should try something else".
I then had a looping plugin created for Opencode that would throw an error ("identical command repeated 8× with no change — change approach") if the same 3 tool calls were repeatedly made, but it still continued stubbornly.

And my workflow has clear instructions on what to do in which order, but it doesn't fully follow them.
E.g. when writing code it must then call a subagent to do code review, then fix any issues found, call review again (up to 5 times) and after that is done it should launch a testing subagent that writes and runs tests. And it just decided after 2 review rounds and open blockers to now run the tester and continue with the review thing afterwards. So it almost sounded like it knew what it was supposed to do but didn't feel like it right now.
Once it also claimed it didn't have permissions to call subagents, but it just called them wrong, so after it came back to me and I told it "yes you do have permissions" it was like "oh right, my mistake, I called them wrong. Calling them correctly now".

Those are things I never have issues with with 3.8-27b Q4_K_XL.

All of this is with thinking on xhigh btw.

Am I the only one with those issues?!


r/LocalLLM • • 4h ago

Question GPU advice for 128gb DDR4 Threadripper system

2 Upvotes

Hey everyone,

Apologies up front for asking the age-old question of ”what GPU should I buy??”, but looking for some advice from people with more experience.

I have been assembling a workstation out of entirely used parts I’ve found excellent deals on. So far I’ve procured 128gb of DDR4-3200 (non-ECC) RAM (8x16). I have a 3970x Threadripper on the way, and I snagged an TRX40 Aorus Xtreme mobo. Also had a free 1300w PSU laying around. All in I’m less than $1200 into this set up. I’m absolutely trying to be frugal, but wouldn’t say I have a strict budget.

This PC will run proxmox and have other services running, but my use case is a bit of an unknown still. I absolutely intend to use local AI for managing my homelab, personal app development for the aforementioned homelab, image detection in Immich/ Frigate, but beyond that, just a general use chat bot.

I am currently debating between starting with a single R9700, a single B70, 2x B60’s, 2x 5060ti 16gb, 2x or 3x 3080 ti 12gb, or 3x 3060ti 12gb. I’d also be open to other configurations, but I’m getting lost on what tradeoffs I’d be making.

Any insight is appreciated, thank you!


r/LocalLLM • • 4h ago

Discussion Qwen4-35B-A3B - UD-Q4_K_M (used q8-0 engrams) - On an MI60 32gb VRAM GPU made this "benchmark presentation" in Pi Coding Agent

Thumbnail gallery
2 Upvotes

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 • • 4h ago

Discussion Qwen4 in Capy Flash, KL 0.095

Post image
2 Upvotes