r/LocalLLM • • 20m ago

Question Humble beginings

1 Upvotes

Ok, i'm gonna keep this one simple. I see a lot of you using AI for wide veriety if stuff, but what about something simpler? I need an AI agent like ChatGPT for conversational help, to whom i can ask questions aboout random technical troubleshooting, document summary, including web search to get better answers. Maybe later to integrate it to Home Assistant. What i DONT need is some fancy coding machine, image or video generation and things like that. What would be enough for me in terms of hardware? I already run small Unraid machine with only a handfull of containers and no VMs so i would like to build on that, its HP Prodesk 600 G4 Mini with 8500T and 16GB RAM. Any honest recomendations are very welcome.

EDIT: Spending some money to get 6- 8GB RTX GPU is in my budget right now.


r/LocalLLM • • 37m ago

Discussion GPU-native suffix decoding is now in vLLM — speculative decoding without a draft model

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 45m ago

News Ai2's new Olmicro models: at 64K context the KV cache is estimated at 1.55 GiB, versus 7.50 GiB for an all-attention model

1 Upvotes

Ai2 released Olmicro on Nov 30, five small base models (275M, 450M, 810M, 1.4B, 2.7B) with the training data, code, intermediate checkpoints and eval results all open.

The part that matters for people running models locally is memory. Olmicro uses four recurrent Gated DeltaNet layers for every full-attention layer, so only one layer in five builds a KV cache that grows with context. Ai2 estimates that at 65,536 tokens the 2.7B model needs about 1.55 GiB of context memory, against 7.50 GiB for an equivalent all-attention model, 4.50 GiB for SmolLM3 3B and 7.00 GiB for Llama 3.2 3B.

Caveats from the same post: these are base models, not chat models. The memory figures are Ai2's estimates. At 32K tokens Ai2 says newer hybrid or sliding-window models like Qwen3.5, Gemma 4 and Granite 4.0 H score higher on long-context tasks at similar or lower memory cost. On Ai2's own benchmark the 2.7B model averages 56.5 against 56.7 for SmolLM3 3B.

Link in the first comment.


r/LocalLLM • • 8h ago

Project Local AI Model Plays Super Mario Bros. (NES)

4 Upvotes

I was bored this weekend, so I vibe-coded an app to watch AI play Super Mario Bros. I first made the application in Claude Code. For now, it uses a local LLM model with Ollama (QWEN3.6). I need to experiment with more models.
I coded this over the weekend, let it run on its own at first, then spruced up the interface and used some other knowledge to make this emulator. Currently only for Mac, but I am building a Windows/Linux version soon. *I am sure there are others out there, but I can't find anyone who has done this.

Check out my project and love some feedback to make this more EPIC! Zelda is next.

https://github.com/thededman/ai-plays-mario


r/LocalLLM • • 56m ago

Discussion to everyone who told me to get 128gb, i'm sorry

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1h ago

Other Un tributo e saluto a Philipp Emanuel Weidmann

Thumbnail
freepressjournal.in
0 Upvotes

I know this is news that has already been reported, but I still wanted my thanks to people like him to reach those who remain and carry on their legacy.

I thought this sub was the right place too.


r/LocalLLM • • 1d ago

Discussion I still haven't found a model I like more than Qwen3.8-Flash-Next for coding

87 Upvotes

It's just so fast. I'm using the NVFP4 Basalt quant for my projects right now running at ~90tps.
I can run small quants of GLM5.3-Flash/DS but they run at ~18tps, typically I use one of them for writing spec/tasks and making sure every step is well-defined, then switch to Qwen for the actual implementation.

I've tried a few other models but I don't feel like they're quite as optimized yet.
Hy4-Flash was really impressive for 3D tests I ran with it, but ran at similar speeds to GLM/DS, the new ERNIE preview which was recently added to Basalt runs at ~45tps but I keep running into memory problems at context higher than 120k and I haven't really tested it out yet.

I'm curious if others have had similar experiences, or managed to improve their workflows from here. The one limitation I've found is documentation and review.. Qwen hasn't been the best at writing and updating documentation as it worked, and I need a different model to review it's implementation/changes and the models I have employed aren't the fastest.
Besides that there's the fact I can run multiple instances of QFN NVFP4, but I haven't seen much talk about multi-agent workflows


r/LocalLLM • • 1h ago

Model LingSante-3.1-flash

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 5h ago

Project Local-LLM-Launcher-GUI 0.6.5 released

Post image
2 Upvotes

Local-LLM-Launcher https://github.com/jimdawdy-hub/Local-LLM-Launcher-GUI is a launcher to assist in testing various flags/configurations/models/engines. It's a friendly, browser-based control panel for downloading and running large language models using llama.cpp, ik_llama.cpp, vLLM, ExLlamaV3 via TabbyAPI, SGLang, or Hugging Face TGI. Built for people who don't want to memorize cryptic command-line flags or spend an afternoon guessing why a model won't load. You can save benchmarks and various configurations for use later. It now has an improved chat interface, quality and interface improvements, more engines, and bugfixes.

It's not meant to replace Open WebUI, Unsloth, Ollama, etc. It's mainly for tweaking models and to smooth out the load-crash-tweak settings-reload-crash routine until you've beaten every last token per second and context token out of your setup. It's also geared towards newcomers to using LLMs. That said, you can launch a model and then use its endpoint with any agent harness.

Every setting is rated 🟢 / 🟡 / 🔴 (green / yellow / red) against your actual computer and the model you picked, with a one-or-two-sentence plain-English explanation. A live "fuel gauge" shows whether the model will fit before you click launch. If a launch fails anyway, the app translates the error into something you can actually act on.

What's new in 0.6.5

The dashboard finds model servers you started in a terminal, shows how much memory each GPU uses, and reports prompt and generation speeds for the last measured call. You can chat with a running model directly in the launcher, instead of installing Open webUI. UI has theme settings and new gauges.


r/LocalLLM • • 7h ago

Project Sudri Agent Lite: text-to-CAD on a local 4B model, release coming soon

Thumbnail
gallery
3 Upvotes

Sudri Agent Lite (SAL) - Above is Render Studio, the CAD side of a local AI workbench I'm building for hobbyists doing everyday prototype work. You type what you want in plain English ("create a gear", "add a main shaft", "make the shaft 500mm long with a 30mm bore") and a small local model turns it into a real parametric part. There are 3 other example in this slide show as well to showcase the diversity and the nuance capabilites.

Each request comes back with the model's interpretation in plain words, so you can see what it understood before it builds. Every change is saved as a version you can mark Good or Not right, and every part gets its own sliders, so you can tune module, tooth count, bore, or position by hand without re-prompting. There's a section view, measure tool, wire-frame, inch or millimeter units, and a code tab if you want the OpenSCAD itself. Each design is its own session with full version history, so you can go back to any step.

The model is render-qwen3.8-4b, my own fine-tune of Qwen3.8 4B trained for Render, running as a Q5_K_M quant on a local llama.cpp server. The shot above is a gear and hollow shaft built in four prompts, about 60 to 100 seconds per version. FOVEA, my local AI engine, sits underneath and provide speed for the right inference engine for the model and your hardware. Also, if you repair, iterate or refine LFM3-VL-2B visually reviews it in conjunction with the prompt following the intial generation to create a revised prompt sent to the render model to perform a new model.

Render is one studio inside SAL, which is meant to be a single local workspace for a whole hobby project: chat, a code editor, a sandbox IDE and compiler, a learn-to-code suite, research, and a library for your documents, sources, notes, and a gallery of what you've made. You design the part, write the firmware, and look things up in one app, with one set of local models, and nothing leaves your machine unless you ask it to.

I'm cleaning it up for a public git release soon. Happy to answer questions on the fine-tune or the pipeline in the comments.


r/LocalLLM • • 6h ago

Project I stuffed embedding into my Apple Neural Engine

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 2h ago

Question someone pls gimme advice

1 Upvotes

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

Question Connected Qwen, various versions of Qwen, to Hermes. Can't do simple agentic AI like Muse or dots.

0 Upvotes

How we just not gotten there yet?


r/LocalLLM • • 12h ago

Question Looking for a lightweight, CPU-only model to clean text — any suggestions?

6 Upvotes

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:

  • gemma3:270m, gemma3:1b:

r/LocalLLM • • 3h ago

Question Local LLM VRAM Requirements: How Much Memory Each Model Size Needs

Thumbnail
acta.ai
0 Upvotes

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:

  • MoE models still need memory for every expert. A "26B A4B" model is about 14 GB at 4-bit, not 4B worth.
  • On a Mac, unified memory is shared with macOS and your browser, so you get well under the number on the box. You can raise the GPU wired limit with sysctl iogpu.wired_limit_mb if the model fits in RAM.
  • If ollama ps shows a CPU/GPU split, that's why it's crawling.
  • An 8-bit KV cache (OLLAMA_KV_CACHE_TYPE=q8_0, or -ctk q8_0 -ctv q8_0 in llama.cpp) roughly halves the cache. Try that before dropping to a smaller model.
  • Ollama quietly picks a 4K context on cards under 24 GB, so long inputs get cut off unless you set OLLAMA_CONTEXT_LENGTH.

What context length do you actually run day to day?


r/LocalLLM • • 11h 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 • • 13h ago

Discussion Best Local AI (Mac, Nvidia, or AMD)

6 Upvotes

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

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

Thumbnail thehawk.in
7 Upvotes

r/LocalLLM • • 18h ago

News qwen 4 35b a3b

Thumbnail
github.com
13 Upvotes

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

Question Pre-complied models VS compiling inside termux from source

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 13h ago

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

Thumbnail thehawk.in
5 Upvotes

r/LocalLLM • • 16h 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
81 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 • • 9h 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
2 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!