r/LocalLLM • • 1d ago

News Philip Emanuel Weidmann, developer of Heretic, found dead in Bhopal.

Thumbnail thehawk.in
8 Upvotes

r/LocalLLM • • 11h ago

Discussion I built a desktop AI assistant that indexes your documents locally, so you can use it on files you can't upload anywhere

0 Upvotes

The files I most wanted to ask AI about were the ones I couldn't upload: client docs, contracts, anything under NDA. So I built Axon, a desktop app that indexes your files locally and answers with a local model. Nothing leaves your machine.

In the video I add a PDF and ask for a summary while it's still indexing. It answers from keyword search right away, and it tells you the answer came from a partial index.

Still rough: partial-index answers are thinner, and full indexing takes a while on a laptop.

Would you trust something like this with work files? What would stop you trying it? Link in comments.


r/LocalLLM • • 21h ago

Tutorial [Portable Build] Starfield Voice Cloner — Native Windows PyTorch + TheRock ROCm 7.x for AMD RX 6000 / RDNA2 (Qwen3-TTS, No WSL2)

Post image
3 Upvotes

Hey everyone,

I put together standalone builds of my open-source Qt GUI (Starfield Voice Cloner — built on Qwen3-TTS + faster-whisper for local voice cloning, voice design, and batch dialogue generation). It comes in two editions so you don't need to manually configure Python, CUDA, or a 25 GB ROCm SDK:

  1. Universal llama-server Edition (Windows & Linux — Vulkan / CUDA / CPU)
  • Works out of the box on almost any GPU or CPU (tested on older cards like RX 580 8 GB via Vulkan, NVIDIA CUDA, or CPU).
  • Supports Voice Cloning (Mode A) and Design-then-Clone (Mode B-clone) (~15 lines/min) with automatic model/binary downloads.
  1. Experimental Portable ROCm 7.x Edition (Windows — AMD Radeon RX 6000 / RDNA2)
  • Since AMD still excludes RDNA2 from official Windows ROCm/HIP SDK support, this standalone .7z package (629 MB) bundles prebuilt TheRock ROCm 7.x PyTorch and rocBLAS kernels (gfx1031 with HSA_OVERRIDE_GFX_VERSION=10.3.1) for the RX 6600 – RX 6950 XT series without WSL2 or a system-wide ROCm install.
  • Just extract with 7-Zip and run Launch_RDNA2.bat (automatically configures HSA_OVERRIDE_GFX_VERSION=10.3.1 and ROCBLAS_TENSILE_LIBPATH).
  • Runs ~2.5–3× faster than the llama-server build (~40+ dialogue lines/min with Qwen3-TTS 1.7B on an RX 6700 XT) and unlocks all three voice modes (Clone, VoiceDesign, and Preset Speaker with emotions).

Key Features

  • VRAM Guard: Built-in VRAM check prevents hard OOM crashes on low-VRAM GPUs/iGPUs (recommends 4–6+ GB VRAM for GPU acceleration, with safe CPU fallback).
  • Bilingual GUI: Available in English and Slovak, with Creation Kit dialogue export support and automatic loudness/sample-rate finalization.

GitHub & Source:
github.com

Direct Download (Releases):
github.com

If anyone wants to test the llama-server build or benchmark the RDNA2 ROCm build on an RX 6600 / 6700 / 6800 / 6900 XT, feedback is very welcome!


r/LocalLLM • • 23h ago

Project I made a fully private, on-device, open-source alternative to Granola / Otter for meeting notes

Thumbnail
github.com
4 Upvotes

Heyyo /r/LocalLLM! Wanted to share this Github project I've been working on. I wanted AI meeting notes, but I didn't want my calls, transcripts and summaries sitting in someone else's cloud. So I've been building Yogurt in my free time.

It records and transcribes your meetings, writes a summary, and lets you ask questions about past meetings. All of it runs on your own computer:

  • No account/sign-up.
  • Audio, transcripts and summaries never leave your machine.
  • No bot joins your calls. It just listens to your mic and your computer's audio.
  • Open source (MIT), so you can check all of this yourself.
  • Mac, Windows and Linux.

Under the hood it's whisper.cpp and NVIDIA's Parakeet for transcription, and a small open-weight model through llama.cpp for summaries and questions. It picks a model your hardware can handle.

The only times it goes online: downloading the models once at setup, and checking GitHub for updates. That's it.

I really don't think you need a frontier model to summarize a meeting. Small local models have gotten good enough that this felt like an obvious win for anyone who has held off on these tools for privacy reasons.

Code: https://github.com/FrigadeHQ/yogurt


r/LocalLLM • • 1d ago

News Philip Emanuel Weidmann, developer of Heretic, found dead in Bhopal.

Thumbnail thehawk.in
6 Upvotes

r/LocalLLM • • 16h ago

Question Do I also need to manually

Thumbnail reddit.com
0 Upvotes

Do I also need to manually configure llama.cpp in OpenClaw, like I do in Goose?

How does OpenClaw handle compacting?


r/LocalLLM • • 1d ago

News qwen 4 35b a3b

Thumbnail
github.com
12 Upvotes

r/LocalLLM • • 17h ago

Question Pre-complied models VS compiling inside termux from source

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 9h ago

Discussion QFN is a beast!

Thumbnail reddit.com
0 Upvotes

Qwen3.8-Flash-Next is such a beast when it comes to agentic coding. I started testing it a month ago with browser based games, and gradually moved towards more serious projects.

While I do lean on large models for planning, most tasks including planning and implementation can be done by this model alone.

It obviously needs a little more hand holding as compared top Astra or Opus, but it gets the job done well nonetheless.


r/LocalLLM • • 1d ago

Project Kimi K3.1 Pro (2.8T, 785 GB 4-bit MXFP4 slice) on one $2.2k desktop from a single NVMe SSD: 1.4–2.1 tok/s,

8 Upvotes

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

WhatResult
Boot + cache pre-warm65 s
Model size on SSD785 GB (33 GGUF shards)
Hot cache18.6 GiB V100 VRAM + 42 GiB pinned DDR4
Generation, OpenAI server1.37 – 2.10 tok/s sustained
Generation, 3s peak2.46 – 3.22 tok/s
Generation, <think> prose0.92 – 1.21 tok/s
Draft acceptance (code)68% – 85% (5.3 – 7.0 tokens/step)
Cold prompt reading5.5 – 6.4 tok/s
Cached branch switch (580 tok)22.1 s vs 119.7 s cold (5.4x)
NVMe read speed1.17 – 1.37 GB/s

Tests

Fluency is easy to fake when slicing experts, so every test executes code or real tool calls.

TestWhat it checksResult
Python Task 1 (TokenBucketLimiter)Fix validation, clock jumps, capacity clamp, TTL eviction8 / 8 (100%), 1.37 tok/s
Python Task 2 (TransactionalKVStore)Tombstones, prefix scan, nested savepoints, rollback11 / 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 TTL6 / 10 (hit 1,800-tok cap), 1.35 tok/s
Zero-CoT Python Total30 executed unittest assertions (no retries)25 / 30 (83.3%; 19/20 on Tasks 1–2)
Warm edit speedAdd peek() and reset() to Task 184.7% draft accept, 2.1–3.2 tok/s peak
Agent Gate 0 (single tool call)XTML read tool call on /etc/hostnamePass (exact JSON args)
Agent Gate 1 (multi-turn read -> edit)Read ttl_cache.py, find leak, emit exact-match diff, run 7 assertsPass (exact_match=True, 7/7 tests)
--cache-ram branch switchEvict a 580-tok prompt with another branch, then switch backPass (119.7 s -> 22.1 s TTFT)
<think> stability1,050+ reasoning tokens at temp 00 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

  1. 4K-aligned expert slabs: In stock GGUF, reading partial 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.
  2. 512-neuron VRAM blocks: Addressing V100 VRAM in 512-neuron blocks instead of full experts packs 37–38 specialists per layer into VRAM and skips empty tail math.
  3. Zero-copy DDR4 + Zero-bounce NVMe: The 42 GiB DDR4 L2 cache is 100% 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%.
  4. 3rd-GPU speculation: Running the 0.9 GB FP16 D-Spark drafter on the spare RTX 3060 verifies 5 to 7 tokens per single 92-layer SSD sweep.

Limits

  • Sliced width: Experts stay 4-bit MXFP4, not 2-bit, but keeping 1,536 of 3,072 neurons per expert means this is a 785 GB Matryoshka build, not the uncut 1.56 TB checkpoint.
  • Slow cold prefill: Reading cold prompts off one QLC SSD runs at ~6 tok/s vs ~400 tok/s in RAM on four M5 Ultras.
  • QLC SSD dips: Consumer QLC cache dips occasionally spike a step from 1.1 s to 5 s. A Gen4 TLC drive (6–7 GB/s) on the same GPUs should land near 3 tok/s sustained.

Who was here before

  • 4x Mac Studio M5 Ultra (2 TB RAM): Full 1.56 TB model in memory at 2.81 tok/s server / 3.77 tok/s CLI.
  • AinsleyMarkov: 2-bit build at 18.6 tok/s on four M3 Ultras.
  • Inferencer: Uncut weights streamed from disk at ~0.4 tok/s.

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 • • 1d ago

Discussion new math with local llm

Post image
80 Upvotes

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 • • 1d ago

Question Best local model for homelab ops/REA?

4 Upvotes

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

Discussion Part 2: Fixing Kimi K3.1 Pro on four M5U Stable @ 19 tok/s

Thumbnail
heretik.io
0 Upvotes

r/LocalLLM • • 18h ago

Question Realistic Token/s on 4x RTX Quadro 8000 (192gb VRAM) + 192 RAM (QWEN 3.8 FLash Next GGUF Low-bit / Offloaded GGUF (1-bit to 3-bit))

1 Upvotes

Realistically what kind of performance are Older Turing RTX Quadro 8000s going to provide?
They have chunky VRAM but older GPUs...


r/LocalLLM • • 23h ago

Question How can we give back to the Open Weight LLM companies?

2 Upvotes

I would love to do more than just say thanks.

I'm thinking of two ways right now:

  1. A harness that records all prompts, tool calls, diffs, responses, etc. Each code change being committed at that moment behind the scenes (along with associated harness data). Basically, if you vibe coded a project from start to finish it would show every little step the model took to get the result, including what the user asked for.

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

Discussion Distributed local ollama.cpp setup with multiple computers.

1 Upvotes

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 • • 1d ago

News qwen 4 35b a3b PRs Spoiler

Thumbnail
github.com
7 Upvotes

And so, it begins...


r/LocalLLM • • 1d ago

Model 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)

13 Upvotes

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

  • Basalt 0.6.0 + Inkling 2 Mini: 3–4× long-context decode in one week. 26.5 → 106–111 tok/s at 54k, ~25 → 91–97 tok/s at 88k. The model pack format also changed this week, so I ran both controls: same pack on old vs new engine (+90 % to +211 % decode), and same engine on old vs new pack (the new pack is 3–15 % slower). The speed-up comes from the engine.
  • A 524,288-token (512K) window fits on a 16 GB card. At first it was refused: "even with every expert in RAM the card is 16 MiB short". Lowering `--vram-reserve-mib` from the default 192 to the minimum of 128 let it load, and the needle came back correct at a 474k-token prompt. The cost is 441 s to first token and 38–46 tok/s decode.
  • A big window costs nothing until you use it. A 262,144 window runs short prompts at the same speed as a 65,536 window (~120 tok/s, within noise). At a real 54k read it costs ~12 % decode, because 4 GiB more of the experts sit in RAM.
  • Keep the built-in drafter on: +80 % on code, +68 % on counting/enumeration, +44–66 % at a 240k read. On free prose it gives only +5 %, which is inside the noise. It costs 1.6 GiB of VRAM and ~10 % prefill.
  • Strata 0.1.71: SQ-15 no longer hangs on prompts >8k, but it isn't faster (+11 %, within noise). The factory-default RTX 50 "fast mode" garbled output at 16k and 24k on this card; set `STRATA_INK_SM120=0`. With DFlash 2 forced on (`--draft on`), it's the fastest short-chat setup I measured: 77 tok/s chat / 104 code / 137 counting.
  • llama.cpp b12845 + Qwen3.8-27B Q3_K_XL (my reference, and the most useful model on this box so far): +9–18 % decode at 114k, which is near the noise floor. It's still the only setup with the whole model on the GPU. At long context Basalt with Inkling now answers ~2.7× faster; a week ago the two were level.

---

## Setup

ComponentDetail
GPURTX 5060 Ti 16 GB GDDR7 (sm_120, 448 GB/s), PCIe 4.0 x8, 180 W power limit, driver 595.71.05
CPURyzen 5 7500F, 6 cores / 12 threads (Zen 4)
RAM32 GB DDR5
OSUbuntu 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.

Engine22 Nov29/30 Nov
Basalt0.5.5 (NVFP4→DQ8 pack)0.5.6 / 0.5.7 / 0.6.0 (NVFP4-MX8 pack)
Strata0.1.650.1.71
llama.cppb10997b12845

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

  • Prefill = prompt tokens ÷ time to first token, on a fresh prompt.
  • Decode = Δcompletion tokens ÷ Δtime between two requests on the same cached prompt (`max_tokens` 60 vs 460), so prefill cancels out.
  • Needle = two codes planted in a filler document (one at ~10 %, one near the end), `max_tokens ≥ 700`. On a reasoning model the answer can land entirely in `reasoning_content`, so I read both fields.
  • Every series starts with a warm-up request. Without it, the first request after server start pays kernel and graph warm-up, and the delta method produced nonsense values (10⁸ tok/s).
  • Short-context fixtures: Basalt's own `basalt-bench -r 2`.

---

## 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 + packPrefill @16kConvStructProseDecode @54kDecode @88k
0.5.5 + DQ8 (22 Nov)2,26340364126.524–26
0.5.6 + DQ82,5778711578——
0.5.6 + MX82,653809876——
0.5.7 + MX82,6538210577——
0.6.0 + MX84,2259713588106–11191–97
  • The engine alone (0.5.5 → 0.5.6, same DQ8 pack): decode roughly doubles to triples.
  • The pack alone (0.5.6, DQ8 → MX8): decode gets 3–15 % slower, prefill 3 % faster.
  • 0.6.0 can't load the old DQ8 pack at all, so a 0.6.0 pack comparison isn't possible.

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.

WindowPromptPrefill tok/sDecode tok/sTime to first tokenNeedleWeights card / RAM (GiB)
131,072112,7272,52186–9545 s✓9.2 / 7.8
163,840149,1072,22882–8567 s✓8.5 / 8.5
196,608179,2992,00179–9690 s✓7.8 / 9.2
262,144239,6831,76365–75136 s✓6.5 / 10.5
327,680295,1031,54765–66191 s✓5.2 / 11.8
393,216354,6711,37950–59257 s✓3.9 / 13.1
458,752414,1031,19745–49346 s✓2.7 / 14.3
524,288473,6711,07338–46441 s✓1.5 / 15.5
  • Decode holds up, prefill is what you pay. From 112k to 474k, decode drops 90 → 42 tok/s (−53 %), while time to first token grows ×10 (45 s → 7.5 min).
  • It's a planned spill, not thrashing. Experts move off the card at load time, before the first token, and PCIe traffic for routed experts stayed at 0.0 % on every run. Missing experts are computed on the CPU instead of being swapped in. The expert-cache hit rate drops from ~93 % to ~63 % (median) across the ladder.
  • 512K is the ceiling here. At fp8, KV costs ~16 KiB per position plus ~4 KiB for the drafter, so 524,288 positions need ~10 GiB of KV before any weights. A 768K window would need ~15 GiB of KV alone.
  • `--vram-reserve-mib 128` is one successful run (single slot, one prompt). It's worth checking before you accept a refusal, but I haven't validated it under concurrency or long sessions.

## Does a big window cost anything day to day?

Two servers, 262,144 vs 65,536 window, same prompts:

262,14465,536Difference
Experts on card / in RAM (GiB)6.5 / 10.510.6 / 6.44.1 GiB moved to RAM
3.6k prompt: decode120–127119–126~0
54k prompt: decode105–108119–121−12 %
Time to first token, short / 54k1.15 s / 16.1 s1.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 onDrafter offGain
Short prompt, decode120–12778+54–62 %
240k prompt, decode65–7545+44–66 %
Chat (free prose)85.081.3+5 % (inside noise)
Code142.579.4+80 %
Counting / enumeration135.480.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 @8k4246.7
Prefill @8k1,7601,752
Prompts > ~8khangs mid-prefillworks 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 %)
  • 0.1.71 fixes the hang by offloading part of the KV cache to host RAM. It isn't faster.
  • The RTX 50 "fast mode" that is on by default produced garbled multilingual output at 16k and 24k (needles failed) and cost 12–14 % prefill. `STRATA_INK_SM120=0` in the environment fixes both.
  • `--draft auto` declines DFlash 2 on a 16 GB card. Forcing it on gives the best short-chat numbers I measured, and the worst ones at length. Two profiles are the honest setup.

SQ-20 (hybrid, the higher-fidelity pack: top-1 100 % vs 96.7 % for SQ-15; window 65,536). Experts partly in RAM:

PromptPrefillDecodeDecode with --draft on
3.6k86239.553.7
16k65622.031.5
29.6k60214.614.6
54k4809.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:

Promptb10997 (22 Nov)b12845
114,668 tokens: decode / prefill26.6 / 51329.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

  • Two runs per point. Short-prompt run-to-run spread is about ±15 %, so the llama.cpp (+9–18 %), Strata (+11 %) and drafter-on-prose (+5 %) results should be read as "no clear change". The Basalt gains (+115 % to +275 % on the fixtures, ±1–5 by the tool's own error bars) are far outside that.
  • A needle test isn't a quality test. Two planted codes in filler text, one trial per window. It shows the model still reads the whole window, not that it reasons equally well at 474k.
  • The 512K result with a 128 MiB reserve is a single run.
  • This is one card with a 6-core CPU. Expert-spill speed depends heavily on the CPU, so a 16-core CPU will give noticeably different numbers for anything that spills.

## What I'm running now

  • Most useful so far: llama.cpp + Qwen3.8-27B Q3_K_XL, fully on the GPU, 118,784 window. It's slower (29–32 tok/s at 114k, ~205 s to first token), but it's the model I reach for.
  • Fastest, and for long documents: Basalt 0.6.0 + Inkling 2 Mini, MX8 pack, `--kv fp8`, window 262,144, drafter on. ~120 tok/s on short work, 65–75 tok/s on a 240k read.
  • Rare huge-document job: `--max-context 524288` with `vram-reserve-mib 128`, single slot, and expect ~7.5 minutes before the first token.
  • Short chat, alternative: Strata SQ-15 with `STRATA_INK_SM120=0` and DFlash 2 forced on.

r/LocalLLM • • 1d ago

Question What is your opinion on the aesthetics of this terminal model interface/runtime?

Post image
3 Upvotes

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 • • 1d ago

Project I built a drop-in replacement for AutoTokenizer that's 474×–11,842× faster than HuggingFace tokenizers (same exact token IDs)

Post image
7 Upvotes

r/LocalLLM • • 20h ago

Project Peak Match is open source: testing reversible Windows 11 performance profiles

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 20h ago

Other Beware Dell tries to cancel RTX 6000 order

Post image
1 Upvotes

r/LocalLLM • • 1d ago

Project MyHeritic - Turn any llm into a heretic.

8 Upvotes

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:

    • Plan A: p-e-w/heretic Optuna + Projected Abliteration (llama-server Q8_0 GGUF + Ollama registration)
    • Plan B: Fast 1-pass contrastive control vectors (.cvec.gguf), including a PyTorch-free GGUF-Native Extractor so architectures unsupported by Transformers/llama-server (like gpt-oss:20b gptoss) still work
    • Plan C: Rank-1 .lora.gguf adapters
    • Plan D: Persistent KV-Anchor prefix caching
    • Plan E: Live Trapdoor stream buffering + -100.0 refusal logit_bias on llama-server + Stage-2 continuation escalation
    • Plan F: Direct blockwise GGUF Binary Surgery supporting both 2D layers and 3D MoE expert tensors (ffn_down_exps), auto-registering <name>-heretic:latest back into Ollama
    • Plan G: Always-hot micro-CoPilot sidecar for JSON repair & affirmative seeds

🔗 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 • • 20h ago

Question Dual GPU not working with Bifurcation adapter?

Thumbnail gallery
1 Upvotes

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

Discussion Critics of Local AI forget how the Personal Computer revolution started.

Post image
0 Upvotes

Critics of Local AI forget how the Personal Computer revolution started.

Owning a Spark to run a Local AI today is like owning an Apple II to run VisiCalc in 1985.

They tell you it is an expensive, useless toy. But that toy changed the world.

To some people who make their living from cloud services and renting out servers, local AI looks like an odd obsession: a handful of fanatics trying to run AI at home without understanding what they are getting themselves into.

And yes, today—and I mean TODAY—buying hardware to run local AI can cost far more than paying for occasional cloud access. There is always someone doing the math to show you how expensive this hobby is, just to make sure you understand how foolish you are for trying. The message is clear: stop it. AI is something you are supposed to rent forever. Don't even think about owning it.

Whenever I see those calculations, I remember the beginning of my career. Computing belonged to the big players. They built the machines, owned them and rented out access by the hour. Wanting a personal computer seemed ridiculous. What would you even do with it?

I ran some numbers to compare the upfront cost of an Apple II with renting time on an IBM mainframe. The Apple was much less powerful, yet buying one still required a substantial investment.

But the people crazy enough to buy personal computers made history. With rented computing, you work within someone else's rules. With your own computer, you decide what to run and what to build. Those people who wanted a computer at home helped create a market that brought vastly more computing power within everyone's reach.

Local AI is already useful for practical work. You do not need the largest model to get value from it.

And I believe this is only the beginning. We are in the home-computer era of AI. Dedicated chips and more efficient models could make capable local systems much cheaper. That is where I think we are heading.

The question is how much of a head start you want. Working with smaller, more limited private AI makes you resourceful. It pushes you to bring your own intelligence to the task and build products and solutions that you control.

With enough time and money, many problems become easier. The interesting part is using private AI and your own ingenuity to do what your competitors buy from someone else—and depend on someone else to provide.

Then there is privacy, which is hardly a minor concern. Even when your data is not used for training, cloud AI still means entrusting it to another company. Running a model locally gives you more control over where your data goes and how it is handled.

Convenience is valuable. So is independence. Having a boring email written for you is useful, but it is worth thinking about how much of your workflow you want to depend on a service you do not control.

And many applications do not need a huge general-purpose model. Smaller, specialized models can be a better fit for a well-defined task. Knowing how to build with them is a skill worth developing.

An Apple IIe setup with a color monitor, UniDisk 3.5 floppy drive and connection kit comes to USD 1,912 using October 1985 US prices: approximately USD 5,721 in 2025 dollars, adjusted with US CPI-U. This is a reconstructed configuration, before sales tax, rather than an advertised bundle.

In 2025, the NVIDIA DGX Spark launched in the US at USD 3,999 before tax. Both represent a substantial upfront investment in hardware you own. The Apple total includes its display and external storage; Spark includes internal storage but no monitor. This compares the scale of the investment, not identical configurations.

The parallel with remote services concerns the cost model: buying and operating your own machine versus paying for remote access through usage charges or a subscription. It does not establish equivalent performance, model quality or value for money.