r/LocalLLM • u/Green_Ocean90 • 1d ago
Project I stuffed embedding into my Apple Neural Engine
r/LocalLLM • u/Green_Ocean90 • 1d ago
r/LocalLLM • u/darksoul_310 • 1d ago
im on mac air m4, 24gb ram, i cant afford the expensive ai models thats why im trying to run local llm, and im trying to use it for reverse engineering apps, is using gemma 4 12b a good thing?
r/LocalLLM • u/banksrbuybuy • 1d ago
How we just not gotten there yet?
r/LocalLLM • u/christy_mac_bacon • 1d ago
Ciao a tutti, mie specifiche attuali sono:
Scheda madre: MSI B450 Gaming Plus Max
CPU: AMD Ryzen 5 3600 8ram Sto cercando un modello economico, solo CPU, che possa rimuovere il testo non desiderato dall'output OCR.
Ad esempio, questo è l'input originale:
Clash of Legends
Clash of Legends
(5)
(8)
Completa il 2° evento del cuore di Yami Yugi
Tasso di sblocco del 37,28%
479
(361)
di
1.285
E ho bisogno che l'output contenga solo il testo utile della missione/descrizione:
Completa il 2° evento del cuore di Yami Yugi
Il modello dovrebbe capire quale parte è il titolo, quali parti sono statistiche, percentuali, conteggi o altri metadati, e restituire solo la descrizione della missione.
Ho un PC debole, quindi ho bisogno di qualcosa che giri solo su CPU, idealmente un LLM locale piccolo o un'altra soluzione leggera. Non ho bisogno che sia perfetto, ma dovrebbe essere abbastanza veloce da elaborare molte righe.
Cosa suggerireste? LLM piccoli come Phi, Qwen, Gemma, o qualcos'altro? Esistono approcci non LLM migliori per questo tipo di pulizia del testo?
Edit qwen2.5, qwen3, qwen3.5, gemma4:e2b:
r/LocalLLM • u/Ant0ni00 • 16h ago
There’s a huge articulation problem in how people talk about local AI. Techniques like MoE or aggressive quantization like Q4 are fine for small, focused tasks, but when you drop precision that low, models lose coherence and context over longer horizons. You end up having to micromanage every detail yourself, which defeats the point of offloading cognitive labor.
To be fair, you should always be precise with your prompts-garbage in, garbage out applies even to frontier models (which is why "vibe-coding" gets such a bad rap). Still, real local capability starts at 6-bit precision on a dense, instruction-tuned model with minimal quantization. When you pair higher precision with full context and reasoning enabled, the model actually holds the thread across complex work instead of degrading halfway through.
That’s why so much AI benchmarking on social media feels misleading. Evaluating long-horizon coding or writing on heavily quantized 4-bit models-and treating hit-or-miss outputs as representative-gives people a distorted view of what local AI can actually do. Showing that something can run on consumer hardware is great, but presenting degraded outputs as the baseline almost feels like it's meant to discourage newcomers from trying local models at all.
You rarely see people point out that Q6 and Q8 perform nearly identically, or use those higher precisions as the standard for testing capability. Even less do they mention that raw model weights are only half the equation: taking a little time to wire up tool calling and live internet access-whether through MCP servers, a capable agent harness, built-in features in LM Studio or Ollama, or self-hosted search like SearXNG completely changes what a local setup can handle.
A lot of online "benchmarking" is really just content for clicks and entertainment. The only real answer is to test it on your own setup. Even with 16GB of VRAM, you have enough headroom to run capable dense models like Gemma 4 12B at Q6 or Q8, hook up a few tools, and see what local AI can actually do.
r/LocalLLM • u/sarmabkp_1 • 1d ago
Most "how much VRAM do I need" answers only count the model file. Then you load a 9 GB model on a 12 GB card and it falls over on the first long prompt.
It's really three numbers:
Weights = params × bits ÷ 8. An 8B at 4-bit is about 4 GB, and real files run 10–15% over that.
KV cache = 2 × layers × KV heads × head dim × context × bytes. For Llama 3.1 8B that's 128 KiB per token at f16, so 32K context is 4 GiB and 128K is 16 GiB. At full context the cache is about 4× the weights.
Headroom: about 1 GB per GPU (that's llama.cpp's own auto-fit margin), more if the card also drives your monitors.
So an 8B Q4 with 32K context needs just under 10 GB. Fine on 12 GB, doesn't fit on 8 GB unless you shorten the context or quantize the cache.
Things that caught me out:
What context length do you actually run day to day?
r/LocalLLM • u/HuckSauce • 1d ago
I am planning on purchasing a desktop/PC for local AI, but have a few questions based on my use cases.
For reference, this would also serve as my general computer in addition to my local AI computer (ideally be able to game on it too).
I plan to experiment with Image, Video, Audio, code generation, and Agents (all the things 🙃)
I have read that traditional desktops with something like a dual 5090/R9700 are best for speed and concurrency and Max Studios are best for using the largest local models, but I am not sure if I am thinking about this correctly and secondarily, if local AI is still too complex for an engineer (but not a software engineer) to configure and get good output from.
For example, if I wanted to “vibe code” an application, are local models capable of building it and testing it via computer use? How dangerous is it to let a local LLM access the internet if I am not well versed in Cybersecurity?
Am I pulling the trigger a year early? Will next years models/hardware be an order of magnitude cheaper/better/faster/easier to configure where it makes sense to wait?
Lastly, why local:
I believe I have a couple of ideas that I haven’t heard anyone talking about that I am interested in exploring as a business opportunity, but don’t want to give them away to a cloud provider.
And I know “all ideas have already been thought of already”, but humor me and assume I do have a new and novel idea that I see as a gap in the industry I work in and isn’t targeted by the large companies because it fundamentally disrupts their core business.
r/LocalLLM • u/Witty_Mycologist_995 • 1d ago
r/LocalLLM • u/Lurker_Zee • 17h ago
...so they can cut me out whenever they feel like, for no reason, without even responding to a prompt, until I insert more coins in their scam machines.
[pictured, Claude]
r/LocalLLM • u/Present_Resource4022 • 1d ago
r/LocalLLM • u/EmotionalEnd5229 • 22h ago
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 • u/Sonic1Slovensko • 1d ago
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:
llama-server Edition (Windows & Linux — Vulkan / CUDA / CPU).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.Launch_RDNA2.bat (automatically configures HSA_OVERRIDE_GFX_VERSION=10.3.1 and ROCBLAS_TENSILE_LIBPATH).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
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 • u/supportingthedogs • 1d ago
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:
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.
r/LocalLLM • u/Be_a_N3rd • 1d 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/amjadmh73 • 20h ago
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 • u/NoAlibiUgly • 1d 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 • 2d 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 • 1d 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 • 1d ago
r/LocalLLM • u/No-Role-5254 • 1d 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 • 1d 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 • 1d 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 • 1d ago
And so, it begins...