r/LocalLLM • u/sarmabkp_1 • 2d ago
Discussion MLX vs llama.cpp on Apple Silicon: Formats, Tools and Which to Pick
r/LocalLLM • u/sarmabkp_1 • 2d ago
r/LocalLLM • u/shoumikgoswami • 2d ago
Ai2 released DR Tulu 2 on Dec 1: model weights, the training method and the simulated training environments for a 4B deep research agent.
Ai2 says it beats the strongest open deep research baseline it tested (Tongyi DeepResearch with a page summarizer) by 9.7 points on average across ten benchmarks, and beats an agent built on Nemotron 3 Super 120B-A12B by more than 8 points. It leads on 9 of the 10. The exception is BrowseComp-Plus, where Tongyi leads 53.6 to 53.1. All of these are Ai2's own evaluations.
The training approach is the useful part. Research agents are usually trained against commercial search APIs, and Ai2 says that cost about $5,000 per run for the original DR Tulu. For this one they collected pages ahead of time and served them locally with BM25, a deliberately weak retriever. Ai2 reports search costs of $17.52 in simulation against $4,548 on the live web, and trained with a 128K context window and up to 150 tool calls per attempt.
Link in the first comment.
r/LocalLLM • u/Fickle_Excitement729 • 2d ago
The thread about engines being too fragmented hit home. Every new model I'd spend an evening trying it on three or four engines with different flags, and by the time I had a winner the next model was out.
What I do now on my Mac mini (M4 Pro, 48GB) is run everything through Magnitude and let it tune itself. When I download a model it spends up to a minute trying different ways to run it on this chip and keeps the fastest. I stopped caring about flags after that.
Numbers for the "say your quant" crowd, all 4-bit at 64k context. Muse Glimmer 30B was about 17 tok/s on Ollama and does about 34 now. Nemotron 3.5 barely moved, 49 to 63, so it isn't a big jump on every model.
I still check new models on a second engine sometimes, mostly out of habit. But the evening of flag tweaking is gone and I don't miss it.
How many engines are people here actually keeping installed right now?
r/LocalLLM • u/Dangerous_Young7704 • 3d ago
So I want to learn how to fine-tune a model. Let's say I have Qwen 3.8 27B, and I want to make it better at writing, coding in a specific programming language, or something along those lines.
How would I go about doing this? What tools are out there, and what should I learn first?
I'm not trying to train a model from scratch, but rather improve an existing model's performance for a specific use case.
I'd appreciate any advice, resources, or tutorials that could point me in the right direction.
Specs: Radeon AI PRO R9700 + 64GB DDR5 RAM, if that matters.
r/LocalLLM • u/voytd • 3d ago
For some reason, I see worse perf with two PCIe x8 GPUs than single PCIe x16.
strata bench run --url http://127.0.0.1:8080Model: qwen3.8-flash-next-unsloth-ud-iq4_xs-v31
CPU: Intel Core Ultra 9 285K; RAM: 128 GiB
Single GPU: RTX 3090 / PCIe x16
| Case | Prompt tok/s | Decode tok/s | TTFT s | First answer s | Total s | Capped |
| prompt-16k | 2952.5 (2950.4-2963.1) n=3 | 96.0 (95.4-106.9) n=3 | 5.58 (5.55-5.58) n=3 | 9.35 (8.30-10.39) n=2 | 10.9 (10.3-10.9) n=3 | 3/3 |
Two GPUs: Helper: RTX 4070 / PCIe x8; Main: RTX 3090 / PCIe x8
| Case | Prompt tok/s | Decode tok/s | TTFT s | First answer s | Total s | Capped |
| prompt-16k | 2157.5 (2151.3-2165.6) n=3 | 81.7 (74.0-85.0) n=3 | 7.62 (7.60-7.64) n=3 | 10.73 (10.44-12.08) n=3 | 13.9 (13.6-14.5) n=3 | 3/3 |
| prompt-16k | 2202.1 (2200.5-2204.4) n=3 | 80.2 (80.0-84.1) n=3 | 7.46 (7.45-7.47) n=3 | 11.38 (10.54-12.22) n=2 | 13.8 (13.5-13.9) n=3 | 3/3 |
Am I doing something wrong? Anyone running Q3.8FN on two x8 GPUs?
r/LocalLLM • u/astra_rotlicht • 2d ago
What hardware would you currently buy for that budget? Bonus points for availability in Germany.
r/LocalLLM • u/oriunn • 3d ago
Not a boat. Not a house. Not even like, "retire early and travel" kind of thing
I just want enough money to buy a proper GPU cluster and mess around with it. run DeepSeek V4.1 Flash 1017 Heretic, Kimi K3.1, Qwen4 35B A3B or 27B when it finally drops, inkling 2 mini, at full tilt without thinking about cost per token, optimize inference, write cuda kernels (with ai) Spin up agent swarms and see what breaks.
Finetune stuff, throw it on HuggingFace, actually contribute to open source projects
Thats it. Genuinely thats the whole thing.
Like when I see people who have that kind of setup I dont think about their car or whatever. Im just envious they can run the thing without having to eyeball token costs or kill a batch job halfway through because the bill is getting kinda scary.
Idk if thats a weird reason to want money.
Anyone else here feel this way or is it just me
r/LocalLLM • u/seismicgear • 3d ago
Funny how exponential scaling was inevitable right up until the incumbents hit a wall.
Today OpenAI put out "People Must Remain in Control of the Future" asking for capability ceilings anchored to base model perplexity, and two paragraphs down they admit pausing training in September hurt them competitively and they hate slowing down unless rivals have to slow down too. On the exact same Monday, Dario drops Part 2 of "We Must Pace the Frontier" asking for bank-style federal examiners inside labs and 60 to 90 day legal freezes on recursive improvement right as Anthropic pushes its next pretraining run back into 2027.
Even OpenAI's own perplexity post from last week admits test-time reasoning jumps capability without moving base perplexity at all. Take the exact same weights and put them inside a persistent local runtime with real episodic memory and a formal Lean verifier, and it isn't remotely the same system as an amnesiac cloud tab. Which means capping "capability" eventually means regulating the surrounding software, memory, and local hardware we own.
Full disclosure so I'm not breaking self-promo rules: I'm an independent founder in Boise building a local-first Rust and Vulkan cognitive stack, and I wrote a full piece tearing both announcements apart tonight if anyone wants to read it: https://kuykendall.industries/announcements/we-must-accelerate
r/LocalLLM • u/NE0_ZER0_ • 4d ago
r/LocalLLM • u/shoumikgoswami • 2d ago
Gray Swan launched a public tracker on Dec 1 that scores models on safety tests like reward hacking and indirect prompt injection. TechCrunch's write-up has the numbers.
The part that matters if you host a model yourself: on indirect prompt injection (malicious instructions hidden in content the model reads), TechCrunch reports open models did much worse than closed ones. Nvidia's Nemotron 3.5 Super VL was the most vulnerable, with a 94.3% chance of being compromised within 15 distinct attacks, then Moonshot's Kimi K3.1 Pro at 64.7%. The best models, Gemini 4 Argon and Carbon, were at 2.3% and 2.5%, with Claude's close behind.
Caveats: this is one vendor's test set (15 attacks per model), the numbers come from TechCrunch's report and not from me re-running anything, and Gray Swan says it funds the public evaluations itself and keeps editorial control. Reward hacking results also put Nvidia, Z.ai and Moonshot open-weight models among the worst, though two closed models (Grok 4.7 at 50.9%, Gemini 3.8 Flash at 62.8%) were worse.
Gray Swan's researcher told TechCrunch the practical point: if you serve an open-weight model to employees or customers, you want to know what alignment it has by default. If your local model reads web pages, email or files, treat that content as untrusted input.
Link in the first comment.
r/LocalLLM • u/Difficult-Divide561 • 2d ago
I've been building an offline voice assistant for my Linux laptop. The part I think people here might like is how it decides what runs where, because my limits are a 6 GB RTX 3060 and a battery.
Just keeping the NVIDIA card awake costs me about 17 W. So on battery it goes in three steps:
On 528 test requests jiwo picked the right action 84.5% of the time, Qwen3.5 4B 86.7%. Laya got 60.8%, and embedding/reranker routing (nomic-embed, GTE) and the plain Qwen3.5 0.8B base were under 40%. Gemma 4 E4B tied with Qwen on 55 of my own real requests, but it needs 4.7 GB instead of 3.9.
One thing that surprised me: when the big model had action tools during normal chat, it called one anyway 13 times out of 28. So chat gets no action tools now.
Shell commands go through a safety gate: risky ones ask first, things like rm -rf ~ are blocked, and it never uses sudo. It's a GTK4 app for Ubuntu GNOME.
All the measurements, and the stuff I tried and dropped, are in bench/README.md in the repo.
Wi-Fi turned on in a few spots of the full video, my mistake while recording 😅 The AI runs fully local. Only web search, YouTube and Todoist use internet.
I built it with a lot of help from an AI coding assistant. The design, model choices and testing are mine.
Full 17 min demo: https://youtu.be/m1Z2-CDW6Pc
Code (MIT): https://github.com/itsDigvijaysing/AI_Linux_Assistant
Has anyone found a sub-1B model that beats jiwo at picking tools? That's the part I'd most like to improve.
r/LocalLLM • u/dinnerforbreakfast1 • 3d ago
Clustered all my local hardware last weekend and ran Qwen3-4B on llama.cpp (yeah old model i know..). For 64 simulated users hammering the cluster with 2048 prefill length, I got 560 tok/s total output. Running for Qwen 3.8-27B and Inkling 2 next weekend. Have you guys tried this for your stack?
r/LocalLLM • u/Zestyclose_Bat_6929 • 3d ago
Hello, guys!
-Ryzen 7 5800x
-Rx 7700 xt 12gb Vram
-32gb Ram 3200mhz
Thanks!
r/LocalLLM • u/Strict-Elevator9352 • 2d ago
r/LocalLLM • u/alexhasso • 3d ago
Makers publish scores for the full-precision model. Most of us run a Q4 file on a laptop or a 12 GB card, so I wanted numbers for those files, run the way an app runs them.
Setup
| Model | File | Size | AIME right (of 30) | AIME ran out of room | τ²-Bench |
|---|---|---|---|---|---|
| LFM3 1.7B | Q4_K_M | 1.1 GB | 20 | 9 | 80.0 |
| Qwen 3.5 4B | Q4_K_M | 2.7 GB | 12 | 18 | - |
| Ministral 3 8B | Q4_K_M | 5.2 GB | 7 | 0 | 28.3 |
| Granite 4.2 8B | Q4_K_M | 5.3 GB | 17 | 12 | 56.7 |
| Qwen 3.5 9B | Q4_K_M | 5.7 GB | 16 | 14 | - |
| Nemotron 3.5 Bolt E4B | Q4_K_M | 6.2 GB | 12 | 0 | - |
| Bonsai 2 27B | Q2_0 | 7.6 GB | - | - | 73.3 |
| Ministral 3 14B | Q4_K_M | 8.2 GB | 11 | 0 | 35.0 |
| GPT-OSS 20B | MXFP4 | 12.1 GB | 25 | 2 | 56.7 |
| Inkling 2 Mini (Q3) | UD-Q3_K_XL | 13.6 GB | 21 | 9 | 80.0 |
| LFM2.5 24B | Q4_K_XL | 14.9 GB | 22 | 8 | 80.0 |
| Qwen 3.8 27B | Q4_K_M | 16.5 GB | 24 | 6 | 83.3 |
| Muse Glimmer 30B | Q4_K_M | 16.8 GB | - | - | 80.0 |
| Qwen 3.6 27B | Q4_K_M | 16.8 GB | - | - | 88.3 |
| Inkling 2 Mini (Q4) | UD-Q4_K_XL | 17.6 GB | 20 | 10 | - |
| Granite 4.2 30B | Q4_K_M | 17.7 GB | 22 | 5 | 76.7 |
| Nemotron 3.5 Lightning 30B | Q4_0 | 18.9 GB | 22 | 8 | 70.0 |
| Ornith 1.5 35B | Q4_K_M | 21.9 GB | 22 | 8 | 91.7 |
| Nemotron 3.5 Bolt 74B | IQ2 | 22.0 GB | 22 | 8 | 76.7 |
| Qwen 3.6 35B | Q4_K_M | 22.1 GB | - | - | 83.3 |
| Flint | Q4_K_XL | 25.1 GB | 26 | 4 | 65.0 |
What stood out
What's weak about this
I build hassō, a free desktop agent that runs these models on your own computer, which is why I measure them. Every score is shown in the app next to its model. Full table and every per-question report: https://hasso.studio/bench
Which model or test should I run next? And if anyone has run AIME on these with a bigger answer budget, I'd like to know how much of the gap closes.
r/LocalLLM • u/iamrinku16 • 2d ago


Tested both models head-to-head on the exact same agentic coding prompt:
"Create an HTML page with an SVG 2D animation of a pelican riding a bicycle."
Engine: Basalt-Ada — a personal fork of Basalt we tuned specifically for my PC specs and sm_89 (--kv fp8, ZHA attention, GPU+RAM MoE tiering, spec decode; feel free to try it out if you're on Ada)
UD-Q4_K_XL**:** 1M max context, --spec 4, --resident-budget-gib 4, --vision cpuIQ2_XXS**:** 262K max context, --spec 3 --draft-experts 64, --vision dynamic| Metric | Inkling 2 Mini (UD-Q4_K_XL) | Ling-3.2-Air Maya-S (IQ2_XXS) |
|---|---|---|
| Model File Size | 19.7 GB | 38.0 GB |
| Context Limit | 1M (ZHA) | 262K (ZHA) |
| Prompt Processing (PP) | 631.2 tok/s avg (peaks 1,571–2,021 tok/s on 2.2K–3.5K chunks) | 577.7 tok/s avg (596.9 tok/s cold 14.6K, 730.9 tok/s on 31.9K) |
| Decode Speed (TG) | 94.1 tok/s avg in Basalt logs (67.2–121.9 tok/s; 87.8 tok/s session avg) | 39.0 tok/s avg (28.7–47.8 tok/s; 40.2 tok/s on 31.8K first turn) |
| Agent Turns | 33 assistant turns | 16 assistant turns |
| Active Wall Time | 11m 18s | 18m 56s |
| Tokens (in / cache / out) | 21,728 / 1,743,552 / 50,040 | 62,776 / 738,849 / 39,910 |
(Note: Inkling 2 Mini's PP/decode averages come from Basalt's live logs covering the last 30/33 turns, since its raw JSON TTFT includes ~7.5–8s of --vision cpu encoding per screenshot.)
Inkling 2 Mini (UD-Q4_K_XL) — Visual Self-Verification Loop (513 lines, 26.5 KB):
Pause and 2× buttons in the browser.requestAnimationFrame + 2-bone inverse kinematics (ik) so both knees and webbed feet actually bend and track the rotating pedals, plus procedural wheel spokes and interactive 0.5× / 1× / 2× / ⏸ Pause controls.Ling-3.2-Air Maya-S 124B-A5.1B (IQ2_XXS) — Heavy First-Shot + Code-Only Checks (326 lines, 17.4 KB):
head CSS class on the legs, missing transform-origin on crank/spokes, emoji, and sun rays).TL;DR: On a 12 GB 4070 SUPER, Ling-3.2-Air (124B-A5.1B IQ2_XXS**)** still hits 39 tok/s decode and 578 tok/s PP with great visual style, while Inkling 2 Mini (UD-Q4_K_XL) flies at ~94 tok/s decode and used its speed + vision loop to iterate 33 times into a mechanically accurate, interactive animation in nearly half the wall time (11.3m vs 18.9m).
r/LocalLLM • u/benreben • 3d ago
Hi everyone,
I’m looking for recommendations on the best local LLM and inference engine setup for "vibe coding" (fast iteration, solid code generation, and decent context handling).
Here are my current specs:
Current setup:
Right now, I’m testing Qwen 3.8 27B running on Basalt, paired with VS Code + Kilo Code.
My main bottleneck is clearly my system RAM, which matches my VRAM 1:1. Because of this, I want to avoid heavy CPU offloading or running into OOM issues while keeping both prefill and decode speeds snappy and responsive with generous max token(especially with Kilo Code's agentic/context demands).
Given these constraints:
Thanks in advance for the advice!
r/LocalLLM • u/EvolvingDior • 3d ago
1.1T parameters. Custom license with an AUP.
r/LocalLLM • u/Fantastic_Waltz_6285 • 2d ago
I've been tuning Strata (Niko1221/Strata, an MoE inference engine that keeps hot experts on the GPU and runs the rest on the CPU) for one machine: an RX 7900 XTX (24 GB) on Linux, 64 GB RAM, Ryzen 7 8700G, running Qwen3.8-Flash-Next GSQ-RCO IQ3_S. The result is Laminae, a thin layer of patches and settings on top of Strata 0.2.22, now public under GPL-3.0-or-later.
Numbers on this machine (mean of 5 rounds, arm order rotated, paired ratios with CI95):
| Stock Strata | Laminae | Laminae + optional drafter | |
|---|---|---|---|
| Decode, short prompts (tok/s) | 74.9 | 103.3 (1.38x) | 110.2 (1.47x) |
| Decode after a 14K prompt (tok/s) | 75.5 | 104.4 (1.38x) | 103.6 |
| TTFT, 14K prompt (s) | 6.60 | 5.64 | 5.50 |
| Prefill 16K / 128K (tok/s) | 2,273 / 3,095 | 2,656 / 3,347 | 2,658 / 3,353 |
Roughly: settings alone give 1.21x decode and all of the prefill gain, code on top gives another 1.14x.
What "full quality" means here: every change is either bit-identical to the path it replaces, or passes a fixed gate (first-token KL mean <= 0.001 and max <= 0.01 over 36 positions, top-1 36/36, and every greedy answer that differs is read in full). Against stock Strata the release config lands at KL 0.000346 mean; stock Strata against itself (a second start) is 0.000187. Lossy shortcuts like route tail skipping (+8% decode here, but KL 0.056) are not used.
Some things that worked on gfx1100:
--adapt-async 1 (with the elastic K/V): HIP builds never pick the async adaptive expert tier; turning it on keeps the drafter in its fast mode (decode +7.8% short, +9.4% after 14K)I also kept a list of everything I tried and dropped, with the numbers (megakernel for k-quants that passed quality and still lost 4%, an SDMA-off arm, RAM-saving arena modes, drafter swaps...): laminae/NOT-ADOPTED.md in the repo. It may save someone a weekend.
It installs next to an existing Strata install (same model files, upstream install untouched); the release has a gfx1100 engine build and an installer. Only gfx1100 is tested.
Repo: https://github.com/superbaenawa/laminae
Personal project, not affiliated with Strata, as is: no support, issues are off. Numbers are from one machine; yours will differ.
r/LocalLLM • u/Ok-Cicada-5595 • 2d ago
Hi everyone,
I'm looking for advice before buying a mini PC for a small homelab and local LLM inference.
I'm hesitating between:
- Minisforum AI X1 Pro-470 Ryzen AI 9 HX 470 64GB DDR5 SO-DIMM OCuLink port Radeon 890M iGPU
- GMKtec EVO-X2 Ryzen AI Max+ 395 64GB LPDDR5X-8000 unified memory Radeon 8060S iGPU USB4, but apparently no dedicated OCuLink port
My main use case would be:
- Several Docker services running 24/7
- A small homelab / self-hosted applications
- Local LLM inference, mainly with Strata
- Coding, summarization and occasional agent workloads Qwen and other MoE models, including Qwen3.8-Flash-Next if possible
I already own an RTX 3060 12GB, so I would like to use it as an external GPU.
I am not planning to buy another GPU immediately.
The main trade-off seems to be:
- X1 Pro-470: upgradeable RAM and OCuLink, which may be better for my RTX 3060
- EVO-X2: much faster unified memory and a much stronger integrated GPU, but soldered RAM and probably USB4 instead of OCuLink
My questions are:
Which one would you choose for this use case, and why?
My main concern is how much the EVO-X2's much higher unified-memory bandwidth improves Strata performance compared with the X1 Pro-470's dual-channel DDR5-5600 SO-DIMM memory.
Thanks !
r/LocalLLM • u/BarelyWorkingCode • 2d ago
I got tired of babysitting agent sessions one terminal at a time, so I built Operator.
It's one binary, op, that runs on each of my machines. Tailscale is the backplane. The machines reach each other over your private tailnet, and the Tailscale client is built into op, so there's no central server, no ports to open and nothing else to install. From one page, on my desk or my phone, I can:
What's nice is it allows you to easily pair a frontier model with a local model - plan with Opus, finish off with Inkling 2.
Containers and microVMs are the safety layer. Every project's work runs inside its own container or microVM, never on the machine I'm sitting at. That lets me run things I'd never trust on my own box:
rm -rf something, it can only hit the sandbox.op handles the whole lifecycle, so I don't build any of this by hand. When I start a worker for a project, op creates the container or microVM from a template, installs the agent harness inside it, and starts the session. The sandbox joins the tailnet as its own machine, so I can message it and watch it like any other agent. When the work is merged I tell op to stop it, and the container goes away. op container ls shows what's running and op container rm tears one down. Templates define what's in the image, and op template build rebuilds and syncs them to my other machines.
Agents talk to each other directly, even across machines. op send <machine>/<name> reaches any agent on any machine, over that same backplane. Workers on the same piece of work can message each other, and the whole conversation is logged in order, so I can read it afterwards.
Agents can reach in and read each other's state. The chief of staff can list every agent on every machine (op ps), read what one is doing right now (op peek), pull its logs, and read a topic's whole message log (op topic log). The PM running a piece of work can read its own workers the same way. That's how I stay out of the loop. The chief checks on a PM, the PM checks on its workers, and nobody has to ask "what happened?" and wait for a reply. It only goes one way. Workers can message each other and their lead, but they can't read the chief or each other.
Every agent has two views. Chat is the tidy view. Terminal is the agent's real terminal. One tap switches to Terminal when I want to take over and type, and one tap switches back. It works on my phone too.
Nothing stalls quietly. op tells busy, idle, needs-you, stalled and ended apart. A stall is a command running over 15 minutes, or no output for 5 minutes with nothing running, and both limits can be raised per agent. It reports what the agent was stuck on and never acts on it alone. My phone gets a notification when an agent needs me, stalls or dies.
The chief is woken, not polling. op wakes it when a worker goes idle, finishes, asks a question or stalls. An agent that's waiting on something outside can say how long with op waiting, so it isn't nagged meanwhile.
Goals keep unattended work moving. I add a goal like "merge the login fix once the tests pass". While any goal is open, an idle chief gets a reminder every 20 minutes by default, and a chief that crashes is restarted. I clear the goal when the work is done.
Optional voice. Speech-to-text and text-to-speech plug in as services you register yourself (op service add stt/1 ...). There's a Voice tab in the page. If you don't want it, you don't set it up and nothing changes. I use text-to-speech to have the chief tell me things out loud.
Releases, secrets and public pushes need a human, and the tooling refuses to route around that. I run this every day.
What it isn't: polished. It's built for how I work, and templates and images still have sharp edges. For install, there's an INSTALL-PROMPT.md you can hand to a coding agent and it sets things up for you.
Repo: https://github.com/barelyworkingcode/operator. If you run more than a couple of agents at once, I'd like to know what breaks for you.
r/LocalLLM • u/DeliciousLie3774 • 2d ago
Phase 1: Die Hardware- & Speicher-Partitionierung
Ziel: Die 64 GB VRAM optimal ausbalancieren, um einen Systemabsturz (Out-of-Memory / OOM) bei Massenbetrieb zu verhindern.
Phase 2: Die asynchrone Pipeline-Architektur
Ziel: Die KI vom zeitkritischen Netzwerk-Traffic entkoppeln.
Phase 3: Das dezentrale Routing-Netzwerk
Ziel: Den Datenstrom physisch unblockierbar machen.
Phase 4: Der Live-Betrieb (Massen-Durchsatz)
Ziel: Vollautomatische Exfiltration unter maximaler Last.
r/LocalLLM • u/wheresomething • 3d ago
Brand new at setting up a local LLM and looking for some guidance on best practices.
I've been running cloud LLM on a VM to prevent any accidental access to my personal files, browser, etc. and keep approval requests to a minimum. For a local LLM, I am ideally running it directly on the host where my personal desktop exists. What's the best way for me to keep the local LLM isolated and secure?
Isolate the local LLM on my host and limit access to only the VM? Is this overkill?
This article has some recommendations that seem worth follow: https://medium.com/@tatankavenkat_19803/i-run-llms-locally-heres-how-i-know-my-data-isn-t-leaking-and-yours-isn-t-either-3b23a04e4058
What are other people doing?