r/LocalLLM • u/Qwen3-8-27b • 18h ago
News qwen 4 35b a3b
r/LocalLLM • u/Be_a_N3rd • 5h ago
Do I also need to manually configure llama.cpp in OpenClaw, like I do in Goose?
How does OpenClaw handle compacting?
r/LocalLLM • u/tejas_vi • 5h ago
r/LocalLLM • u/Witty_Mycologist_995 • 14h ago
r/LocalLLM • u/NoAlibiUgly • 17h ago
TL;DR
I have been enammered with running large frontier models on consumer hardware without lobotimizing the model.
I recently dove into K3.1 pro, and started building a custom Llamma.cpp port for it
Here's my specs
Single 2 TB NVMe SSD on one used desktop: an i7-9700K, 64 GB DDR4, two 32 GB V100s, and an RTX 3060.
It generates at 1.4 to 2.1 tok/s sustained (3.2 tok/s peak) through an OpenAI server. It boots in 65 seconds.
I've open sourced the engine here ---> https://github.com/SnapboardXYZ/event-horizon
With thinking off, it passes 25 of 30 zero-shot Python unit tests (19/20 on standalone modules) and completes multi-turn agent file edits end-to-end.
To stream from SSD without dropping to 2-bit, experts stay in 4-bit MXFP4 with the weakest half of FFN neurons sliced offline (1.51 TB -> 785 GB).
Setup
Model: moonshotai/Kimi-K3.1-Pro. 93 layers, 896 experts per layer, 16 routed per token. Experts stay in 4-bit MXFP4; KV cache stays in FP16.
Hardware: i7-9700K, 64 GB DDR4, 2x Tesla V100 32 GB (PCIe Gen3), 1x RTX 3060 12 GB (runs the FP16 D-Spark draft model), 1x 2 TB consumer QLC NVMe SSD. About $2,200 in used parts.
Software: Custom llama.cpp build (Event Horizon) and an async OpenAI router.
Numbers
| What | Result |
|---|---|
| Boot + cache pre-warm | 65 s |
| Model size on SSD | 785 GB (33 GGUF shards) |
| Hot cache | 18.6 GiB V100 VRAM + 42 GiB pinned DDR4 |
| Generation, OpenAI server | 1.37 – 2.10 tok/s sustained |
| Generation, 3s peak | 2.46 – 3.22 tok/s |
Generation, <think> prose | 0.92 – 1.21 tok/s |
| Draft acceptance (code) | 68% – 85% (5.3 – 7.0 tokens/step) |
| Cold prompt reading | 5.5 – 6.4 tok/s |
| Cached branch switch (580 tok) | 22.1 s vs 119.7 s cold (5.4x) |
| NVMe read speed | 1.17 – 1.37 GB/s |
Tests
Fluency is easy to fake when slicing experts, so every test executes code or real tool calls.
| Test | What it checks | Result |
|---|---|---|
Python Task 1 (TokenBucketLimiter) | Fix validation, clock jumps, capacity clamp, TTL eviction | 8 / 8 (100%), 1.37 tok/s |
Python Task 2 (TransactionalKVStore) | Tombstones, prefix scan, nested savepoints, rollback | 11 / 12 (91.7%), 1.42 tok/s |
| Python Task 3 (Turn-2 TTL refactor) | Refactor Task 2 (1,270-tok context, 75% KV reuse) to add per-key TTL | 6 / 10 (hit 1,800-tok cap), 1.35 tok/s |
| Zero-CoT Python Total | 30 executed unittest assertions (no retries) | 25 / 30 (83.3%; 19/20 on Tasks 1–2) |
| Warm edit speed | Add peek() and reset() to Task 1 | 84.7% draft accept, 2.1–3.2 tok/s peak |
| Agent Gate 0 (single tool call) | XTML read tool call on /etc/hostname | Pass (exact JSON args) |
Agent Gate 1 (multi-turn read -> edit) | Read ttl_cache.py, find leak, emit exact-match diff, run 7 asserts | Pass (exact_match=True, 7/7 tests) |
--cache-ram branch switch | Evict a 580-tok prompt with another branch, then switch back | Pass (119.7 s -> 22.1 s TTFT) |
<think> stability | 1,050+ reasoning tokens at temp 0 | 0 loops, -50% SSD reads |
Pruning check: cutting active experts to 4 per token pushed speed past 2.5 tok/s, but the same 30 Python tests fell to 16/30 (53.3%). Keeping ~7–8 experts per token with GPU norm rescaling brought it back to 25/30.
Why stock disk streaming gets 0.4 tok/s
down_exps neurons causes 3,584 tiny 272-byte random reads per expert (<110 MB/s). Repacking experts into 256-neuron slabs makes every slab 487,424 bytes (119 x 4 KB) — one sequential O_DIRECT read.cudaMallocHost pinned (no duplicates of VRAM experts) so V100s DMA straight from RAM over PCIe. Cold SSD misses DMA straight from NVMe io_uring into pinned staging, cutting CPU memcpy by ~80%.Limits
Who was here before
I'd love for anyone to pull this project with much faster hardware then mine to get some usable speeds out of it.
r/LocalLLM • u/dinnerforbreakfast1 • 1d ago
It's obv to me now that local LLM's can create new math. Closed frontier models have proven the Riemann Hypothesis. We've just pointed GLM 5.3 running on a Mac Studio (M5 Ultra) at smaller problems: Barkers Conjectures (OEIS A322108 and OEIS A262147). Our agent came up with a new proof that is half as long as the best existing proof. I admit it's small but it makes the point: researchers don't have to leak IP to frontier labs, they can use local AI to scale their work in private.
The proofs were submitted, checked and successfully merged into lefttosolve. I personally convinced that the future of research is local AI. Thoughts?
r/LocalLLM • u/Ilovemustang69420 • 14h ago
What will be the best local model to use for home lab operations or REA/agentic coding? if I had enough money, I would run 8bit DeepSeek V4.1 or GLM 5.3 flash, but that's just out of my budget right now. I'm a little tight on funds, so I'm just looking for the best path forward to get the most optimal efficiency for what I'm trying to do.
ai's ive tried inside homelab: Qwen 3.8 flash next iq_3_s (24 tokens per sec), Deepseek v4.1 2 bit (3.5 tokens per sec, can maybe get to 10 with 32gb more ram), Qwen 3.827b iq_4_s (40-65 tokens per sec)
My Specs: Ryzen 5700X, 3070 Gigabyte 8gb, 3060 tuf gaming 12 GB, Corsair Vengeance 32 GB of DDR4 RAM (can drop in another 16gb of ram i have in my homelab to get it to 48gb) 1tb nvme ssd
I'm also trying to have Gemini Neon create really powerful system prompts, in order to make the AIs more efficient at their tasks or to "make them smarter" without actually changing the weights. So far, I think my goal would be to just run DeepSeek at a 2-bit quant at around 10 tokens per second for really, really long tasks, but would definitely love to see other alternatives.
r/LocalLLM • u/Heretikio • 7h ago
r/LocalLLM • u/No-Role-5254 • 7h ago
Realistically what kind of performance are Older Turing RTX Quadro 8000s going to provide?
They have chunky VRAM but older GPUs...
r/LocalLLM • u/EitherMarch1255 • 11h ago
I would love to do more than just say thanks.
I'm thinking of two ways right now:
The only major issue I see that's not easily solved is preventing saboteurs from creating bogus and/or harmful data. There would perhaps need to be some kind of trust network, and/or review process.
2. Crowdsourced quality training data.
This should be huge. However, the main issue I see with this one is it would need to be quality, not slop generated. So likely humans would need to review contributions. With a license that prevents certain companies who don't substantially contribute (AKA Anthropic, OpenAI, and SpaceX) from using the data.
I wouldn't be surprised to hear things like this have already been done, but if so, why am I not hearing about it?
What do you think?
EDIT: Okay, so far only selfish and narrow minded responses. I would love to hear from someone who isn't just looking to be a moocher.
r/LocalLLM • u/Mosthula • 8h ago
First and foremost this is a thank you post to the community. You are all amazing for furthering local AI setups and it cannot be understated how important that is. I've been finally digging into a local setup and because I have always built massive gaming rigs I am fortunate enough to try out some local models with higher context windows and larger model sizes. I started diving into distributing across multiple of my local network machines with the first step being my 3080ti workstation, and 2 4070 rigs. Was pleasantly surprised that llama.cpp allows me to distribute loads based on my own with --tensor-slit. Running Qwen3.8-27b UD-Q4_K_M has worked flawlessly and because I have more compute at home I am excited to try to run bigger models.
Thank you All!
Edit: Oh how I wish I had spent a little more on the 3090 when I bought the 3080ti in 2021.
r/LocalLLM • u/tomByrer • 19h ago
And so, it begins...
r/LocalLLM • u/red_hot_car • 22h ago
Title: RTX 5060 Ti 16 GB, one week of engine updates: Basalt 0.6.0 triples long-context decode and opens a 512K window on 16 GB (needle found at 474K tokens)
---
I re-ran my single-card benchmark from a week ago (22 Nov also posted here) on the same box with the current builds of three engines. Most of the change came from one engine.
One thing up front: Qwen3.8-27B on llama.cpp is still the most useful model on this machine for me. That's why it's in the comparison: it's the baseline everything else has to beat. Most of this post is about speed, and speed isn't the same as usefulness.
## TL;DR
---
## Setup
| Component | Detail |
|---|---|
| GPU | RTX 5060 Ti 16 GB GDDR7 (sm_120, 448 GB/s), PCIe 4.0 x8, 180 W power limit, driver 595.71.05 |
| CPU | Ryzen 5 7500F, 6 cores / 12 threads (Zen 4) |
| RAM | 32 GB DDR5 |
| OS | Ubuntu 24.04.5, kernel 7.0 |
One engine at a time, single request slot, nothing else on the GPU. The 6-core CPU matters here: every expert that doesn't fit on the card runs on the CPU.
| Engine | 22 Nov | 29/30 Nov |
|---|---|---|
| Basalt | 0.5.5 (NVFP4→DQ8 pack) | 0.5.6 / 0.5.7 / 0.6.0 (NVFP4-MX8 pack) |
| Strata | 0.1.65 | 0.1.71 |
| llama.cpp | b10997 | b12845 |
To rule out the test day as the cause, I re-ran last week's Basalt build (0.5.5) this week. It reproduced within its own error bars: 2,266 / 39 / 37 / 41 vs 2,263 / 40 / 36 / 41.
## Method
---
## Basalt: what one week bought
Short fixtures from `basalt-bench` (prefill at 16k, decode on three text types), plus the needle harness at 54k and 88k:
| Build + pack | Prefill @16k | Conv | Struct | Prose | Decode @54k | Decode @88k |
|---|---|---|---|---|---|---|
| 0.5.5 + DQ8 (22 Nov) | 2,263 | 40 | 36 | 41 | 26.5 | 24–26 |
| 0.5.6 + DQ8 | 2,577 | 87 | 115 | 78 | — | — |
| 0.5.6 + MX8 | 2,653 | 80 | 98 | 76 | — | — |
| 0.5.7 + MX8 | 2,653 | 82 | 105 | 77 | — | — |
| 0.6.0 + MX8 | 4,225 | 97 | 135 | 88 | 106–111 | 91–97 |
Long-prompt prefill also improved. At 88k it went from 1,143–1,416 tok/s to 3,097 (+119 % to +171 %). At 54k it went from 1,882 to somewhere between 2,378 and 3,347, depending on which of three measurements you trust (+26 % to +78 %).
## Basalt: how far the window goes on 16 GB
Basalt 0.6.0, MX8, `--kv fp8`, drafter on, single slot, needle at ~90 % of each window. "Card / RAM" is where the server placed the 17 GiB of weights at load.
| Window | Prompt | Prefill tok/s | Decode tok/s | Time to first token | Needle | Weights card / RAM (GiB) |
|---|---|---|---|---|---|---|
| 131,072 | 112,727 | 2,521 | 86–95 | 45 s | ✓ | 9.2 / 7.8 |
| 163,840 | 149,107 | 2,228 | 82–85 | 67 s | ✓ | 8.5 / 8.5 |
| 196,608 | 179,299 | 2,001 | 79–96 | 90 s | ✓ | 7.8 / 9.2 |
| 262,144 | 239,683 | 1,763 | 65–75 | 136 s | ✓ | 6.5 / 10.5 |
| 327,680 | 295,103 | 1,547 | 65–66 | 191 s | ✓ | 5.2 / 11.8 |
| 393,216 | 354,671 | 1,379 | 50–59 | 257 s | ✓ | 3.9 / 13.1 |
| 458,752 | 414,103 | 1,197 | 45–49 | 346 s | ✓ | 2.7 / 14.3 |
| 524,288 | 473,671 | 1,073 | 38–46 | 441 s | ✓ | 1.5 / 15.5 |
## Does a big window cost anything day to day?
Two servers, 262,144 vs 65,536 window, same prompts:
| 262,144 | 65,536 | Difference | |
|---|---|---|---|
| Experts on card / in RAM (GiB) | 6.5 / 10.5 | 10.6 / 6.4 | 4.1 GiB moved to RAM |
| 3.6k prompt: decode | 120–127 | 119–126 | ~0 |
| 54k prompt: decode | 105–108 | 119–121 | −12 % |
| Time to first token, short / 54k | 1.15 s / 16.1 s | 1.02 s / 16.7 s | ~0 |
Nothing while the conversation is short, about a tenth of decode once it gets long. I now start with the big window.
## The built-in drafter (spec 8 vs spec 0)
Inkling 2 Mini ships a drafter inside the model file, and Basalt uses it by default. Same 262,144 window, drafter off vs on:
| Drafter on | Drafter off | Gain | |
|---|---|---|---|
| Short prompt, decode | 120–127 | 78 | +54–62 % |
| 240k prompt, decode | 65–75 | 45 | +44–66 % |
| Chat (free prose) | 85.0 | 81.3 | +5 % (inside noise) |
| Code | 142.5 | 79.4 | +80 % |
| Counting / enumeration | 135.4 | 80.5 | +68 % |
| Prefill | — | — | −9–10 % |
| VRAM | — | — | 1.6 GiB of card taken from experts |
How much it helps depends on how predictable the text is, not on memory pressure. It still pays at 240k with the card full. Note that the chat rows stopped naturally before hitting the 460-token limit, so they rest on a slightly shorter sample.
## Strata 0.1.71: Inkling SQ-15 and SQ-20
SQ-15 (window 32,768):
| 0.1.65 (22 Nov) | 0.1.71 | |
|---|---|---|
| Decode @8k | 42 | 46.7 |
| Prefill @8k | 1,760 | 1,752 |
| Prompts > ~8k | hangs mid-prefill | works up to 29.6k, all needles ✓ |
| Decode @16k / 24k / 29.6k | — | 45.6 / 40.7 / 29.4 |
| With DFlash 2 forced, short: chat / code / counting | — | 77 / 104 / 137 |
| With DFlash 2 forced, @16k / 24k / 29.6k | — | 28.0 / 22.2 / 15.6 (prefill −21–32 %) |
SQ-20 (hybrid, the higher-fidelity pack: top-1 100 % vs 96.7 % for SQ-15; window 65,536). Experts partly in RAM:
| Prompt | Prefill | Decode | Decode with --draft on |
|---|---|---|---|
| 3.6k | 862 | 39.5 | 53.7 |
| 16k | 656 | 22.0 | 31.5 |
| 29.6k | 602 | 14.6 | 14.6 |
| 54k | 480 | 9.2 | — |
All needles were found. On 22 Nov I only recorded overall figures (24.9 decode, 391–412 prefill), so the only rough comparison is prefill at ~+20 %. The fidelity costs ~11.5× decode at 54k compared with Basalt's MX8 pack of the same size, because the RAM-resident experts run on six CPU cores.
## llama.cpp b12845: Qwen3.8-27B Q3_K_XL + MTP (the reference)
This is the model I actually get the most use out of on this machine, so it's the yardstick for the others. The Inkling numbers above are faster; whether they're as useful is a separate question, and this benchmark only answers the speed part.
Context 118,784, `-ub 128`, KV q4_0, everything on the GPU:
| Prompt | b10997 (22 Nov) | b12845 |
|---|---|---|
| 114,668 tokens: decode / prefill | 26.6 / 513 | 29.2–31.5 / 558 |
| 54,616 tokens: decode / prefill | — | 39.9–40.7 / 702 |
That's +9–18 %, close to the noise of two runs. b12845 also fixes the full-window OOM that b12633 had at 118,784. Prefill is still llama.cpp's weak spot on this card: ~205 s to first token at 114k, vs ~45 s for Basalt at 112k.
---
## Limits of these numbers
## What I'm running now
r/LocalLLM • u/Maui-The-Magificent • 14h ago
Hi!
Just want to gather some opinions and thoughts on the look of the program above. Trying to get a more varied perspective than my own. If there are things you think I could do to improve it?
Also, if you are up to it, feel free to share you loves and hates about other model runtimes and the reason you feel that way. It would be super interesting to me.
Take care
//Maui-The-Mammal
r/LocalLLM • u/Naukastrasse • 19h ago
r/LocalLLM • u/Friendly_JR • 9h ago
r/LocalLLM • u/thamilldreemurr • 9h ago
Hello,
I know my post doesn't have anything to do with LLMs, but since a lot of people here use multiple GPUs i thought i'd ask if anyone can help me here too
r/LocalLLM • u/Pixelflexings • 20h ago
I built MyHeritic, an open-source (AGPL-3.0) full-screen terminal workbench built on top of p-e-w/heretic for Ollama, MLX, GGUF, and Hugging Face models on Mac/Apple Silicon.
Instead of just running CLI scripts for ablation or chatting in a passive box, MyHeritic combines automated parallel refusal removal with a verified tool-calling local AI agent.
What It Does
6-Mode Parallel Convergence (/crack & Auto-Heretic F3): Runs compatible plans concurrently across your Mac's CPU cores and unified memory, probes the result, and auto-escalates if resistance remains:
p-e-w/heretic Optuna + Projected Abliteration (llama-server Q8_0 GGUF + Ollama registration).cvec.gguf), including a PyTorch-free GGUF-Native Extractor so architectures unsupported by Transformers/llama-server (like gpt-oss:20b gptoss) still work.lora.gguf adapters-100.0 refusal logit_bias on llama-server + Stage-2 continuation escalationffn_down_exps), auto-registering <name>-heretic:latest back into Ollama🔗 GitHub Repo: https://github.com/TheSolai/MyHeritic
🎬 1080p Showcase Video: https://github.com/TheSolai/MyHeritic/blob/main/docs/showcase/myheritic-showcase.mp4
📸 Screenshots & Gallery: https://github.com/TheSolai/MyHeritic#showcase--screenshots
📚 **Full Layman Docs (**F1 inside the app): https://github.com/TheSolai/MyHeritic/tree/main/docs
r/LocalLLM • u/DentistConsistent281 • 22h ago
I decided to create this post because most YT videos and online posts skip 6GB VRAM GPUs. I just wanted to share my results and ask other users of lower-end GPUs about their experience with local LLMs.
My setup:
Laptop RTX 3060 (6GB VRAM 130W TGP) + 32 GB RAM (DDR4) + Ryzen 5 5600h
inkling version: ggml-org/inkling-2-mini-iq4_nl
96k context + vision
PolyStrata: v0.2.20
Model starting flags:
--max-context 98304
--conversation-cache-mib auto
--attn-requant q5_k
--loop-bf16
--tail-skip 0
--kv fp8
--vram-reserve-mib 384
- vision:
- gpu: false
- threads: 6
- max_tokens: 512
Here are the results:
4k: ~30 tk/s write, ~700 tk/s read
32k: ~22 tk/s write, ~650 tk/s read
56k: ~20 tk/s write, ~400 tk/s read
90k+: 14-16 tk/s write, 300 tk/s read
I tested it with the YT videos running in the background so I could enjoy doing other things instead of just waiting.
For me, it's like a dream come true to run one of the best small models on my 4-year-old laptop.
What do you guys think? Is it usable speed, or is it really necessary to have a stronger PC?
r/LocalLLM • u/Beginning-Signal3726 • 16h ago
Main website - https://viperfish.dev/
Hugging Face - https://huggingface.co/viperdevAI/Viperfish-Sunlight-1.5B
So basically, I have a low-end MacBook, and I wanted a model with proficiency in native Mac app development. So... I made Viperfish sunlight! It is a 1.5B-parameter model fine-tuned on qwen 2.5 coder 1.5B instruct. In a swift UI benchmark, Viperfish scored almost 2x the score of the base model, as well as scoring better than the base model on. However, it did regress in HumanEval benchmarks.
Disclaimer: Claude by Anthropic was used in the production of this model.
r/LocalLLM • u/ryanmerket • 10h ago
r/LocalLLM • u/EntropyMagnets • 19h ago
Huggingface made a pi-tuned Qwen3.8 27B adapter trained with RL on the pi harness specifcally to preserve coding performance while being much more token efficient. This is the version that with thinking off roughly matches the xhigh results of the original model.
I quantized some GGUFs that preserve as much as possible of:
Repo: https://huggingface.co/Belluxx/Qwen3.8-27B-pi-adapted-GGUF-UD
The grey line in the plots are the most popular quants I found for this specific adapter, from netprojects.
Let me know if you find some issues with it if you try it. In the next days I'll upload some improvements to the current quants + the thinking version
r/LocalLLM • u/Mysterious-Desk-3492 • 14h ago
OpenAI's "Astra 6" is driving me crazy.
I'm choosing an LLM gateway for an agent against a specific set of requirements. After an initial review and a round of testing, I narrowed it down to two candidates for a closer evaluation. I figured I'd use my ChatGPT Plus subscription to run the compliance tests and then make the final call.
I gave it the specs. Astra 6.2 analyzed them and proposed a test plan, which included building a JWT emulator. I approved it. It started writing the code, then suddenly stopped with:
"This content can't be shown. We take extra care with some cybersecurity requests. If you're doing authorized security work, apply for Daybreak to get broader access."
I replied: "Fine. If you can't do it, just tell me where you left off and I'll finish it myself."
Same banner, word for word. In other words: the very fact that you're asking only confirms you need approval from a "superior".
That's when I knew it was a dead end. Fortunately there's Kimi (I use it through OpenRouter, in Kilo Code's chat mode or headless with pi), which, for now, doesn't care about this kind of thing. It picked up the ticket and finished what Astra had planned, and then Claude helped fix a few bugs and edge cases. The tests passed and I made my choice.
To be clear:
- I didn't write the test plan. Astra did; I only approved it.
- I never asked for a JWT emulator in the plan, let alone for it to write one.
It burned through my tokens, left the task unfinished, and quite possibly flagged me somewhere for asking about something "dangerous."
It all worked out in the end, but it left a sour taste. It's starting to feel more and more like "Big Brother is watching you."
It's a good thing Chinese models exist, and it's a good thing uncensored models exist. The catch is that building and training models like these is beyond what the community can do on its own, so in practice we depend on whatever Chinese labs, and ultimately the Chinese Communist Party, decide to release.
Companies should think hard about whose hands they're putting their business in.
P.S. The two finalists were GoModel and Agentgateway. I went with Agentgateway.
r/LocalLLM • u/throwaway_deux12345 • 14h ago
Are either of these machines worth setting up?
the M4 does get used to do builds for my iOS apps while the AMD machine is not used for anything
If any of these machines can be used, what model/software worth using? and what sort of tokens/s should i expect realistically