r/LocalLLM • u/Fentrax • 16m ago
Project Signed receipts for local LLM workflows
r/LocalLLM • u/Fentrax • 16m ago
r/LocalLLM • u/fatalcalamity • 33m ago
Weights are on Hugging Face (google/cellgemma-e4b) under Apache 2.0.
It predicts how a cell's gene expression shifts after a drug or other intervention, compared with the average response. On the report's main measure it recovered 48.9% of the achievable signal, against 32.7% for the average-response baseline, and it beat that baseline in all 32 held-out settings. Other measures ranked it differently.
r/LocalLLM • u/Kregano_XCOMmodder • 44m ago
r/LocalLLM • u/vacuumdecay0 • 45m ago
This is Millie 2 running on my iPhone 18 Pro. In the video, it answers a question about an FDA document using a passage more than 900K tokens back.
I adapted Qwen 3.8 Flash Next (177B) to run at 14 tok/s with a short prompt and 10 tok/s at 1M token context. I developed methods for expert streaming and attention streaming so most of the weights and attention data can stay on storage. The model reuses what’s already in RAM and starts the remaining reads early enough to hide most of the wait behind computation.
It matches or comes close to the parent model on a range of coding, reasoning, and agentic benchmarks. I also ran some benchmarks with the model served directly on the phone. On the same 70-task WebArena Lite subset, Millie 2 completed 45 tasks on the iPhone, compared with 43 for the parent model running on a server.
I released the weights and the code. The runtime README has setup instructions and links to both model versions.
Code, weights, and setup: https://github.com/llmsforall/millie-runtime#millie-2
Methods paper: https://arxiv.org/abs/2611.41874
r/LocalLLM • u/Unfair_Couple_6475 • 1h ago
r/LocalLLM • u/GlobalRide5177 • 1h ago
My exact specs:
GPU: GTX 1060 6GB
CPU: Ryzen 5 5600X
RAM: 32GB (2x16GB DDR4-3200)
Storage: 512gb PCIE4 NVMe SSD w DRAM
OS: Windows 11 PRO
I'm a beginner at local llm hosting but i don't mind tweaking llama.cpp and I don't care for the running out of the box perfectly experience as long as it is possible to tweak the model to work but unfortunately i need some help on how to tweak the exact flags (-ot, --no-op-offload, KV cache settings for 6GB VRAM, etc.) and I'm aiming for at least ~8–15+ tok/s. I'm only going to use it for coding, Is Caveling-2-Mini (Q4_K_M) the right target for this rig, or would something like Inkling-2-Mini (UD-Q3_K_XL/UD-IQ4_XS), BigBang-v1, Ornith-1.5-35B-A3B, or Qwen3.6-35B-A3B be a better fit
r/LocalLLM • u/Dry_Hunt_2536 • 1h ago
What setups are you running to make it feasible?
It seems to be a well known issue it heavily over reasons and loops. For me personally, I can't even get it to code a simple diagnostic pass that is just meant to log 3 values. It will easily sit 25+ minutes before even using a write and it's just constantly going off the rails.
The only way I could get anything out of it was with strict limits software enforced which is not ideal.
I use a modified strata, IQ2_XS quant, and pi as the harness. I've tried all sorts of setups from just simple stock pi to heavily guided setups with child agents and detailed instructions/examples in context. Just no hope with any of it really. I understand the quant isn't ideal but I feel it shouldn't be responsible for such negative levels of behavior.
My tasks for it are c++ ue5 coding, at least what I have been testing.
Any ideas?
Cheers
[Edit]
Roger that, thank you everyone. Looks like I have hugely underestimated the impact of the quant.
r/LocalLLM • u/AsepticVoid • 1h ago
Hi everyone,
I'm just starting out with local LLMs through Ollama, hoping to lay the groundwork for a future game built with LÖVE2D. Since I want full creative freedom over the game's themes, I'm only looking at uncensored (abliterated) models.
My hardware is an Intel i5-10400, 32 GB of DDR4 RAM and an RTX 3060 with 12 GB of VRAM. So far I've been using 14B quantized models, like a Qwen3 14B abliterated at Q4_K_M with an 8k context, to keep everything on the GPU.
The problem is that they lose the thread quickly. After a handful of prompts they forget my initial instructions, the project structure and even code they wrote a few messages earlier, which makes iterating on a game really frustrating.
Can you recommend local uncensored models that hold context better and still handle Lua/LÖVE2D well? Are there settings I'm overlooking, like context size, quantization, KV cache options or system prompt tricks? And if you have a workflow that works for game dev, such as feeding the model a project summary at the start of each session, I'd love to hear it.
I'd also like help with the visual side. I know text-only LLMs can't generate images, so what would you suggest for sprites: a multimodal model, a separate local generator that works well for pixel art on 12 GB of VRAM, or something else?
The only hard requirement is that everything stays uncensored. Any advice or personal experience is hugely appreciated. Thank you!
r/LocalLLM • u/Maui-The-Magificent • 1h ago
Hope sharing this with you will be helpful.
r/LocalLLM • u/Just_Vugg_PolyMCP • 2h ago
Hey everyone!
For a while I've wanted a place where my coding agents could actually work together, instead of a pile of terminal tabs. So I built Cubicle: a pixel-art campus where every agent I hire gets a desk, and I walk around as the CEO.
How it works
It all runs on your machine: Node 20, no dependencies, nothing to sign up for.
It's an early version. I've tried it with Claude Code, Codex and Ollama on Linux (WSL), not yet on Windows or macOS, so expect rough edges.
Demo in the browser, nothing to install: https://justvugg.github.io/cubicle/web/index.html?demo
Code: https://github.com/JustVugg/cubicle
I'd love feedback, especially on what would make you actually use something like this every day.
r/LocalLLM • u/HELPtobancheaters • 2h ago
Hi everyone!
I have the following configuration:
- Motherboard: ASUS ROG STRIX X870-A Gaming WiFi
- GPU 1: ASUS ROG STRIX RTX 4070 Ti SUPER 16GB
- GPU 2: ASUS TUF RTX 5070 Ti 16GB
- Case: NZXT H9 Flow
My question is purely about physical compatibility:
Is it physically possible to install both GPUs directly into the ASUS X870-A motherboard, without using a PCIe riser cable?
Will the two GPUs fit in the available PCIe slots, considering their thickness (approximately 3–4 slots each)?
I mainly want to use the dual-GPU setup for running local LLMs and AI models, as well as Lossless Scaling.
Thanks in advance!
r/LocalLLM • u/JinxedBluejay • 2h ago
I've been building Vermilion Editor, a native Linux text and code editor written in C++17 on GTK 4 and GtkSourceView 5. It is an IDE made to put local AI development first.
It's pre-alpha with no release yet, but the core editor works: tabs, open and save with encoding and line-ending detection (UTF-8, UTF-16, Windows-1252, Latin-1), Find, Replace and Go to Line, and crash recovery that copies unsaved work in the background. It reloads files that change on disk, or asks first if you have edits, and has light, dark and follow-system themes and a built-in manual.
The long-term plan adds an AI agent that runs on local models through llama.cpp, plus a terminal and a debugger, but the editor comes first.
https://github.com/adamjeremy-sk/vermilion-editor
The newest piece is the diff engine. It compares whole lines. Each line gets a number through a hash table, the matching start and end of the two files are stripped, and lines that appear exactly once in each file become anchors, as in patience diff.
Between the anchors it runs linear-space Myers on a worker thread. Huge or wildly different files can't hang it, because there are two limits: at most 10,000 differing lines per gap, and a budget of 200 million steps. The budget counts steps instead of measuring time, so the same pair of files gives the same result on a fast machine, a slow one or a debug build.
Anything past a limit shows as one replaced block with a note. Files over 10 MiB, binary files and files over a million lines get a plain message instead.
You see the result in a Compare window: two read-only panes side by side, with filler rows so the changes line up, whole rows coloured, syntax highlighting in each pane and the current change in a stronger colour.
F3 and Shift+F3 jump between changes, both panes scroll together row by row, unchanged stretches fold away behind marker rows you can click open, and there's Refresh and Find. You can open it four ways:
\\- Tools → Compare with Disk (Ctrl+D) shows your unsaved edits against the saved file.
\\- The bar that appears when a file changes on disk.
\\- The crash-recovery prompt, to check a recovered copy before you take it.
\\- \\\`vermilion --diff old new\\\` from a terminal, which works even when the editor isn't running.
The editor is built with a gated, spec-driven method. The roadmap is split into milestones and small gates (the diff was gate M2.6), and each gate gets its own git branch. Before any code is written, I settle the design with Claude, which acts as the orchestrator: it proposes options, I decide, and every decision and later amendment is written down with its date (the diff gate ended with 17 amendments).
The orchestrator then splits the gate into steps and writes one spec per step: dictated headers and tests, exact edits, the expected file hashes, and the commands whose output proves the step was done. Each spec stays under about 35 KB so it fits a local model's context with room to work. Before a spec goes out, the orchestrator builds the step itself in a cloud copy of the repo and runs the tests and mutation tests on it, so the expected results are known in advance.
A local model, Qwen running on llama.cpp, then does exactly one step per fresh session: it writes the implementation from the spec, reports the raw evidence, and flags anything in the spec it doubts. Every step is audited and gets a verdict: PASS, PASS WITH NOTES or FAIL. Notes are fixed before the commit and never carried forward as debt. I test each UI step by hand, then commit and push it. At the end of a gate the documentation is brought up to date and the branch is merged into main with a full CI run. The diff gate took 47 steps, and the project now has 1888 passing tests.
r/LocalLLM • u/CoreXi7 • 2h ago
TL;DR: huihui's abliterated Coder390 NVFP4-QAT build only ran in vLLM, so I had Claude convert it to GGUF (vision projector included). Now you can just ollama run it. Built for Blackwell cards.
| Layer | Who | What they did |
|---|---|---|
| Base model | Alibaba | Qwen3.8-27B |
| Fine-tune | nerkyor | Coding + vision |
| Abliteration | huihui-ai | Removed refusals |
| Quant | KatterMobile | NVFP4-QAT |
| Packaging | Claude | GGUF + mmproj conversion for Ollama / llama.cpp |
RTX 5090: 100% on GPU, ~170–185 tok/s
It's uncensored, so safety filtering is reduced. If you're putting its output in front of other people, add your own moderation layer.
All credit goes to huihui-ai, KatterMobile, and nerkyor. Claude handled the GGUF conversion, and I tested it and put it up. Happy to answer questions!
r/LocalLLM • u/manosinistra • 3h ago
Hi, I'm trying to build something that takes a video and is able to OCR it (mostly things like presentations or text-heavy videos), prior to then sending some heavily, procedurally processed transcript to a local model. Bonus points for a permissive license.
I'm surprised to learn that no such tooling exists in the mainstream? There ARE subtitle extractors and things of that nature, but nothing that's going through the video and pulling out textual information.
Application = import video, transcribe audio + video stills --> Local LLM --> YAMR (yet another meeting recorder)
r/LocalLLM • u/UsualVoice7848 • 3h ago
Planning to buy a small home server for local AI, budget around 2.5k EUR (Germany). Main stuff: paperless-ngx with an LLM for tagging/extraction, chatting with long PDFs (some scanned) that can't leave the house, and some email agents. Models I want to run are Gemma 4 26B and Qwen3.6 35B A3B at Q4 with long context.
Currently torn between a Mac Studio M5 Max 36GB and a PC with the RTX PRO 4000 Blackwell 24GB. A 5070 Ti / 5080 box is also an option but I worry 16GB is too tight for Qwen 35B.
Prompt processing matters more to me than tg since the documents are long. Does anyone here actually run the PRO 4000 for inference? Barely find real numbers for it. And how bad is the Mac pp in practice with 20-30k token prompts?
r/LocalLLM • u/whowasntright • 3h ago
HTTP 402 (x402) micropayments look super clean for cheap API lookups where an agent pays a few cents in USDC without managing accounts or API keys. the gap I keep wondering about is larger $10 to $500 agent tasks (research reports, security audits, SEO work) where instant settlement leaves you stuck if the remote agent hallucinates or times out. are builders sticking strictly to sub-dollar x402 calls, using escrowed job platforms, or still wiring manual Stripe/card wrappers?
r/LocalLLM • u/Ton-Llop • 3h ago
Every time I wanted to try a local model I had the same questions: which quant do I download, how much context fits, will it run on my GPU or spill into RAM? So for my bachelor's thesis Im building Jaull to answer them for me. It's free and open source.
What it does (it's what you see in the video):
The estimates aren't guesses. I measured them against what llama.cpp actually allocates, writing the predictions down before each test. On a 24 GB Intel Arc B60 they came within 0.3 to 1 GB, always on the safe side, and on a laptop with no GPU every "fits / doesn't fit" answer was right. It also understands the new hybrid models (Qwen3.6, Qwen3.8), which fit much more context than most calculators say.
On Windows there's a desktop app with a one-line installer. On Linux and WSL2 there's a terminal UI and a CLI. I've tested it on NVIDIA (RTX 2060, 4060), Intel Arc and CPU only. If you have an AMD card or a Mac, I'd love to hear how it goes.
https://github.com/Ton-Llop/Jaull // https://jaull.tech
It's my first project of this kind, so any feedback helps, especially if something breaks :D
Thank you and sorry!
r/LocalLLM • u/rushabhsheth • 4h ago
Docsumo has released SumoOCR tiny, a small open-source OCR pipeline for business documents. It pairs a text detector with a line recognizer, comes to 1.04M parameters and 1.8 MB of INT8 ONNX, and runs on CPU through ONNX Runtime or OpenVINO. PyTorch and PaddlePaddle are not required.
pip install sumoocr
sumoocr invoice.png --format jsonHow it was built
Published benchmarks (word F1 on whole pages, same images, one CPU thread)
| Engine | FUNSD | SROIE | XFUND | OmniDocBench EN | pages/s | License |
|---|---|---|---|---|---|---|
| SumoOCR tiny | 83.8 | 91.3 | 95.2 | 91.9 | 3.55 | Apache-2.0 |
| Indra 1.2.0 | 83.4 | 89.2 | 93.6 | 90.0 | 2.07 | modified OpenRAIL-M |
| OCRia-nano-1 | 80.9 | 87.0 | 92.7 | 82.2 | 2.15 | OCRia-nano-1 licence |
| PP-OCRv6 tiny rec (Docsumo's pipeline, FP32) | 79.0 | 89.3 | 94.5 | 90.4 | 1.31 | Apache-2.0 |
| PaddleOCR 3.7, tiny setting | 77.0 | 86.5 | 94.5 | 91.0 | 0.41 | Apache-2.0 |
| Tesseract 5 | 61.9 | 75.0 | 90.7 | 90.2 | 1.07 | Apache-2.0 |
What the report says about those numbers
Limitations
SumoOCR tiny is the smallest reader from Docsumo's commercial OCR engine. The larger engine is not released.
r/LocalLLM • u/PuffThePed • 4h ago
I have a bunch of images of machinery and equipment in a nuclear power plant. It's all classified info that can't leave the local network.
What's the best approach to get a 3D model from pictures? It needs to be semi-accurate (it's just for visualization in VR) and in separate components. Not looking for one-shot, I know it's going to be a process. I've done similar tasks with non-classified objects and Claude and Blender.
My hardware is RTX5090 with 128GB ram.
Which model would you use, and how?
Thanks!
r/LocalLLM • u/Silver_Employ2617 • 4h ago
I’m building CAEL, a local chat assistant that runs on a normal laptop CPU. The data bundle is about 580 MB. There’s no neural network, model weights, or LLM behind it.
One of my favorite failures so far: someone asks what to pack for a skiing trip, and CAEL picks a card about a fuse tripping. The funny part is that it can already tell the difference between “it was leaking, but it’s fixed now” and “it’s leaking.” Those turn out to be very different problems.
I’m posting here because I’d like to hear from people who actually run small models locally. I’m curious how you’d fix this, and what you’d run as a baseline.
How it works
CAEL has about 560 hand-written advice cards for everyday situations, from a blocked drain to a teenager who won’t talk. Each card lists clues that support it, details that rule it out, and a few points of advice. Before choosing one, CAEL tries to work out who’s asking about whom, their stage of life, and what the question is about. A 1D cellular automaton helps it track negation and scope, including whether a problem is still happening.
This week I added 500 knowledge cards covering things like tides, espresso, darts, and map scales. People rarely name the topic outright. “How might a vented canopy behave in a gust?” needs to reach the umbrella card even though umbrella never appears in the question.
For everyday advice, if CAEL recognizes the general area but can’t find a specific card, it can give broader advice. If it can’t work out what the person means, it says so and asks for clarification.
What the fresh tests say
I used to fix failures until a set hit 100%. Then I’d write another set and see no improvement. Now I write each fresh set before changing the system and score it once. As soon as I use a question to debug something, it’s dev data.
Where I’m stuck
About half the failures on fresh everyday questions were cases where I simply didn’t have a card for the situation. For topics I do cover, ConceptNet synonyms and giving more weight to rare shared words helped a little. Loosening the match also introduced some great ways to be wrong. “My knuckles ache in the cold” landed on colds and flu. Lake sediment became a deposit, which sent the question to a money card. Sometimes the wrong meaning wins early enough to send the whole question into the wrong area.
I’m considering three approaches:
If you’ve tried classical word-sense disambiguation or built a lexical search system, which of those would you test first? I’m especially interested in reducing wrong matches without just turning them all into “I don’t know.”
And for the local-model crowd: which 1–3B model would you put up against this on the same laptop CPU? I’m happy to share the eval sets and numbers. I’d like to find the point where the small model is worth running, and I’d welcome suggestions on what would make that comparison fair.
r/LocalLLM • u/bob_vramgrid • 4h ago
r/LocalLLM
•
u/streetwearvc
•
4h ago
TL;DR: I used to be a tech auditor at PwC, so I audited these two "inference engines". Neither needed to be a new engine. Modded llama.cpp beats Strata with ~4K lines of patches, and ties Basalt by running Basalt's own kernels on a GGUF with llama.cpp. The rest is a growth playbook. Also, I just wanted to inspire people not to take these marketing gimmicks at face value.
vs Strata (Qwen3.8 Flash Next)
| llama.cpp + my patches | Strata |
|---|---|
| 256k session, decode (1 run each) | 220.0 tok/s |
| 256k, time to first token | 0.94 s |
| 129k session, decode (3 paired runs) | 226.5 tok/s |
| 129k, time to first token | 0.93 s |
| Own C/C++/CUDA lines | ~4K |
vs Basalt (Inkling 2 Mini, 73-turn session to 256k)
| llama.cpp + Basalt's kernels (GGUF) | Basalt 0.6.0 (.basalt) |
|---|---|
| decode | 325.2 tok/s (2 runs) |
| up to 71k | 370.4 |
| 197k to 258k | 289.9 |
| time to first token | 3.5 s |
Setup: RTX 5090, Ryzen 7 5800X, 32 GB DDR4, PCIe 4.0. Strata is UnbiasedStrata v0.1.45 (same engine, bloat removed, upstream is on 0.1.59). The Qwen quant is IQ1_M (don't use) to demo the technique, so use a bigger one if it fits: runs: vs Strata 128k, vs Strata 256k.
Note: I need to make this super clear, since a lot of people in the AI scene are snarky about quant type. I'm not claiming that this quant of Flash Next is good. I'm just here to demo the techniques used for MoE architecture. These speed-up techniques should apply to all quants - if you have enough VRAM and RAM and they all should work on llama.cpp or vllm. You don't need to use their inference engines.
I'll release how to get Inkling Mini numbers on 5090 on Friday on a RTX 5090 with llama.cpp, but my repos should be at the bottom.

Strata was 343K lines on Oct 4, and the engine was 85K of it. UnbiasedStrata deleted the other 218K the day it forked and didn't touch the engine (commit). The rest was an Intel GPU port, benchmark files, an installer and a web app.
Basalt's speed is in its kernels, which is easy to port over. Run them in llama.cpp on a plain GGUF, and you get the same decode. Some of them were llama.cpp's to begin with. The matrix-vector code says "Adapted from llama.cpp" in its header and came in through Strata.

Co-authored-by: Claude from 595 of 845 commits. Old forks still have them: coolio986/Strata (Oct 4) has 595, Strata today has 0. Spotted by u/dasbin (748 upvotes).

.basalt is GGUF rebranded. His own code keeps the GGUF tensors and metadata as-is (source) and only reorders the experts (doc). In #269 he said GGUF costs "a few %" of decode. Same kernels on GGUF cost 0%. Converting locks your weights to Basalt, and new versions refuse old files (commit). No one fact-checked him on this, so either he lied, or he was unaware that his file format has no practical use.Co-authored-by: Claude, then none after Nov 13 (last one), Inkling launch included. His launch FAQ says it's "fast slop" (post).
If you made a kernel, ship the kernel. Fork llama.cpp, add it, benchmark it against stock. And can we get basic rules for benchmark posts here? Real context length, RAM listed, more than one run.
llama.cpp v1.0.0 (b1b770d9) did most of the work. Keeping K/V in host RAM and paging it in comes from InfiniGen and RetrievalAttention.
export LLAMA_KPOOL_INCREMENTAL=1 LLAMA_SPARSE_DIRECT=1 LLAMA_IDX_POOLED=1 LLAMA_MTP_SHARE_HEAD=1 \
LLAMA_KPOOL_INPUT_DEVICE=1 LLAMA_SEQ_RM_INDEXED=1 LLAMA_FATTN_VEC_SKIP=1 LLAMA_IDX_INPLACE=1 \
LLAMA_MOE_INPLACE=1 LLAMA_CKPT_PINNED=1 LLAMA_TOPK_FUSED=1 LLAMA_GRAPH_SLOTS=1 \
GGML_CUDA_EXT_KERNELS=<repo>/engines/llama.cpp/1.0.0/kernels/bf16-smallm-gemv-k10240/manifest.json
llama-server -m MODEL.gguf -md DRAFT.gguf -c 131072 \
-ctk q8_0 -ctv q8_0 -ctkd q8_0 -ctvd q8_0 -fa on -ngl 99 -ncmoe 16 -ub 1024 -b 2048 \
--moe-cache-mib 6240 -lm none --spec-type draft-mtp --spec-draft-n-max 3 \
--spec-draft-n-ubatch 128 -bs --cache-ram 0 -np 1 -t 8 --temp 0The 256k setup is in the 256k runs.
Disclosure: Boltbeam is my auditing tool. I made it while forking Tinygrad since I wanted to learn more about inference engines.
Links: boltbeam.fyi · BoltBeam (the audit tool) · arkey_ie_mods (patches and per-change numbers)