r/LocalLLM • • 2h ago

Discussion PSA. Abliterated models will happily wipe your disk. Give them a sandbox, not your main machine

52 Upvotes

Quick warning for anyone running the no refusal builds locally. The refusals you stripped out were doing more work than you think.

I asked a local Hermes based abliterated model to free up some disk space on my dev box. A normal model asks what it is allowed to delete or plays it safe. This one just went. It cleared the package caches, then started deleting docker volumes with data I needed, then went for files in my home folder. I killed it while it was staring at the ssh folder. Maybe twenty seconds start to finish.
Nothing in the model said stop, because stop is exactly what got removed. That is the whole point of these builds and it is great for writing and roleplay and genuinely terrible for giving one a shell on a machine you care about.

So now anything with tool access runs in a throwaway VM. Snapshot a clean Ubuntu, run the agent in there, and if it eats itself I start a fresh one. My real machine, my keys and my projects never share a kernel with it.

The models themselves still run on my own GPU box. Only the agent loop and its shell live in the disposable VM, talking to the model over the network. For the VMs I used Proxmox for a while and now use boatdev , because ,can script start and stop and pay by the second. No GPU on them, which is fine since inference stays home, and they are EU only.

Uncensored is a feature for text. The second it can run commands it needs walls. A wiped home folder is a cheap lesson, but leaked keys are not.


r/LocalLLM • • 12h ago

News AMD's 192GB Ryzen AI Halo brings much larger AI models to local desktop hardware

Post image
155 Upvotes

r/LocalLLM • • 11h ago

Discussion Is it time to start investing in local llm before ai becomes heavily restricted?

58 Upvotes

Hi guys,

With everything happening right now with llm, especially in coding, reverse engineering, decompilation and emulation, how long this window of opportunity will last. It feels like a victory for many of us, but I doubt things will stay this way. those in power will eventually try to control what we can and cannot do with ai, through more regulations, censorship and increased surveillance

I feel like we're in a transitional phase, and those who can run powerful models entirely locally will have the most freedom in the long run. Are any of you already preparing for this? Is it time to start investing in local hardware and infrastructure? Are there any interesting projects worth following in this direction? Even running open models through the cloud means you're still dependent on a provider whose service could be restricted or shut down at any time due to government regulations or policy changes. I just don't see relying on proprietary frontier models as a viable long term solution.

I would love to hear what others are doing to prepare while we still have this opportunity.


r/LocalLLM • • 5h ago

Project Learn how LLMs work by playing with them: 62 interactive labs, models that run locally in the app, and a private offline AI guide

Thumbnail
gallery
13 Upvotes

Open-source app for learning how AI works by playing with it. Everything runs on your own computer. The desktop app has an optional AI guide you can ask about whichever lab you're on. One click downloads Qwen3.5 2B (about 1.3 GB) and llama.cpp, and the app checks both files before it runs them. After that the guide works fully offline, and nothing you type leaves your machine. The labs run small models locally too. The attention lab runs a 1.37M-parameter transformer through ONNX Runtime, and the training labs train a tiny character-level model live as you move the sliders.

There are now 62 hands-on labs, from vectors and gradients through attention, the KV cache, quantization, distillation and serving. Since my last post I've redrawn every lab to be more visual, added 3D views to a few, and added new labs on math, a knob-based neural network, and AGI. There's no account and no telemetry.

Desktop app: https://github.com/Fazmin/AILearningGuide/releases/tag/v0.2.2

Feedback and PRs are welcome.


r/LocalLLM • • 2h ago

Question Are those mini PCs worth it if I want to switch to local models or stick to cloud? Anything cheaper than the one in the pic?

Post image
7 Upvotes

I like doing AI roleplay using sillytavern as my front end and doing some vibe coding for small personal projects. But I want to expand and get into game dev solo (doing all the art, music, coding etc myself or ai assisted) in the future but I'm not committed to that route yet.

I used to spend $100+ for the claude max sub and ever since the release of Gemini 4, I already spent around $70. That's solely through RP, I haven't done any coding yet with Gemini. I wanna know if switching to local would be cheaper in the long run.  I can see my myself breaking even if I fully commit to the game dev pipeline.

My current hardware isn't great, its those prebuilt Victus 15l gaming PCs I bought from best buy with a few upgrades. GPU: RTX 4060 8GB, CPU: i3-12100F, 32gb RAM. The motherboard is proprietary limiting my options for upgrading (Reno2 I think?)

If there's any cheaper alternatives than the one in the pic, please comment!


r/LocalLLM • • 12h ago

Discussion Sharing my dual (split brand) GPU setup just in case it helps anyone else. Very happy with the results to date!

Post image
39 Upvotes

I don't see much talk about this, but there may be some folks out there like me who had a 5090 box and decided to add some more VRAM with a different GPU type (Nvidia + AMD in the same machine).

I tried to get this into an easier to read post rather than the giant walls of text we typically see. Hope it helps. Yes. I used Claude. And yes, I realize the irony of that. 😄

The machine

PartWhat's in it
CPUIntel Core Ultra 9 285K (24 cores)
RAM128 GB DDR5-5600 (4 × 32 GB)
GPU 1NVIDIA RTX 5090, 32 GB (PCIe 5.0 x4)
GPU 2AMD Radeon AI PRO R9700, 32 GB (PCIe 5.0 x16)
BoardZ890
OSUbuntu 24.04, everything in Docker (~20 containers)

Two GPUs from two vendors in one box: CUDA on the 5090, ROCm on the R9700. They don't pool memory. Each card runs its own model full time.

The models

SpecRTX 5090Radeon AI PRO R9700CPU
ModelQwen3.8 27B (dense)Qwen3.8 Flash-Next (125B MoE, 6B active)Qwen3 4B + mxbai-embed-large
QuantNVFP4 (~20 GB)Unsloth UD-IQ4_XS (88 GB)Q4_K_M
EngineninferStrata (ROCm)Ollama
Fits on card?Yes, fullyNo: ~23 GB of hot experts on the GPU, the rest in system RAMn/a
Context200k × 2 slots204.8k × 2 slots8k
ThinkingOffOn—
Speculative decodingMTP, 5 draft tokensMTP—
JobFast lead model for agent loops and codingBig-knowledge model for research, review and testing subagentsTitles, small background tasks, embeddings (zero VRAM)

Speeds

MetricRTX 5090R9700
Generation, one request (avg over coding & writing tasks)241 tok/s74 tok/s
Both slots busy (total)387 tok/s41 tok/s
Prompt processing8,400 tok/s at 9k, 3,300 at 151k~1,600 tok/s, flat to 200k
Generation at long context138 tok/s at 151k64 tok/s at 203k
First token, short prompt37 ms~0.5 s

How it fits together

 apps & agents ──► LiteLLM (one OpenAI-compatible endpoint)
                     ├── "qwen"     → RTX 5090 · Qwen3.8 27B
                     ├── "qwen-amd" → R9700    · Qwen3.8 Flash-Next
                     ├── "qwen-bg"  → CPU      · Qwen3 4B
                     └── Claude API (as a fallback to the fallback :) )
  • One endpoint for everything. Every app and agent talks to LiteLLM and just asks for qwen or qwen-amd. Swapping a model never touches the apps.
  • The cards back each other up. If one GPU's server goes down, LiteLLM fails over to the other card automatically.
  • 4 agents at once. 2 slots per card means two agents on each model at the same time.
  • Local first, cloud when needed. A small router sends simple tasks to the local models and escalates complex ones to Claude.
  • One model per GPU, enforced. A watchdog stops any extra GPU container, so an agent can't accidentally load a second model and spill a card into system RAM.
  • The 5090 is time-shared for images. On demand it swaps the LLM out for Qwen-Image 2.1 Turbo (stable-diffusion.cpp). While it's generating, chat requests fall over to the R9700, and it swaps back after 15 minutes idle.
  • Gaming mode. One command stops the whole stack and frees both GPUs, and one command brings it back.

The agents

Agent / appWhat it doesRuns on
pi (coding agent)Lead agent plus parallel subagentsLead + coder → 5090 · researcher / reviewer / tester → R9700
Hermes (Nous Research)General assistant agent with its own workspace5090
n8nAutomations and scheduled workflows (queue mode, 3 workers)Both, via LiteLLM
Open WebUIChat interface with document RAGBoth
Claude CodeCan point at the local models through LiteLLM5090

The split is deliberate. The fast dense model does the tight write–run–fix loop. The big MoE does the "read a lot and think" work (research, code review, writing tests) in parallel, so the lead agent never waits on it.

Memory and documents

  • Qdrant vector database with per-user collections plus a shared one
  • mxbai-embed-large embeddings on the CPU, so the GPUs stay free for the LLMs
  • Honcho for long-term agent memory
  • Unstructured to parse PDFs, Word docs and images into searchable text

Tuning that made a difference

  • MTP draft tokens 3 → 5 on the 5090: +21% generation
  • Strata auto-tune on the R9700: prompt processing ~1,100 → ~1,600 tok/s
  • R9700's image reader moved to the CPU: ~6% more experts on the GPU
  • R9700 on the COMPUTE power profile, runtime power management off: the idle card no longer evicts the model to system RAM
  • NVFP4 + int8 KV cache on the 5090: the 27B plus 2 × 200k context fit in 32 GB
  • No overclocks or undervolts, and stock power limits

r/LocalLLM • • 5h ago

Question Memory upgrade for RTX 4090

10 Upvotes

Well apparently, or not so apparently, it seems like GPULabs has gone the way of the dodo. People have mentioned that they no longer take private orders for modifying RTX 4090 gpus to 48gb anymore.🤔🤷‍♂️ I guess the corporate cash siren was too strong. Or they (Greg Sky et al) are simply tired of doing it anymore. Either way it seems like they're out of the GPU modding biz. That said does anyone know of any other "professional" modders in N. America who can do the upgrade? Or am I stuck with Aliexpress?


r/LocalLLM • • 4h ago

Discussion Ollama vs LM Studio vs llama.cpp vs vLLM: Which Local Runner Fits?

Thumbnail acta.ai
9 Upvotes

Open any popular model on Hugging Face, click "Use this model", and you get a list: Ollama, LM Studio, llama.cpp, vLLM, Jan…

They all run the same model. They're built for very different people, and picking the wrong one is how a Friday afternoon experiment turns into a weekend of driver errors.

The short version:

  • LM Studio: a desktop app. Search, download and chat with a mouse. Best if you want to try models this afternoon.
  • Ollama: a terminal tool with a local API. Best if you'll script and automate later.
  • llama.cpp: the engine underneath much of local AI. Best if you want every setting, or unusual hardware.
  • vLLM: a GPU server for many users at once. Best for a team or a product, overkill for one laptop.

Two mistakes I see a lot:

  1. Choosing on speed claims from someone else's machine. Speed depends on your hardware, model, quantization and settings. Test your real task on your real computer.
  2. Forgetting the file format. llama.cpp needs GGUF files. Check before you download 20 GB.

The most useful part: they almost all speak an OpenAI-compatible API. Write your script once against Ollama on your laptop, then point it at a vLLM server when the team wants to share it. It's mostly a change of base URL.

Which one are you running?


r/LocalLLM • • 1h ago

Discussion Coding model on 16gb of vram

3 Upvotes

im looking for a good ai model that is able to code though a harness, able to fit on a 16gb consumer gpu, speeds dont restrict here as im more after quality.

i have done some searching and nothing is giving me a definite answer on which is a good option


r/LocalLLM • • 4h ago

Question Local LLM setup for basic needs

5 Upvotes

I need advice for a local LLM setup mainly to read my emails, calendars, do web searches, and work on private information and data in general. Works 24/7 like a personal secretary. No need to do heavy coding.

My main motivation for looking into this is privacy and my max budget can afford a M5 Studio with 64GB ram. Is it feasible for meeting my needs?


r/LocalLLM • • 17h ago

Model Fintan-9B: Qwen3.5-9B that learns into its own weights on your hardware, without touching the base model (Apache-2.0)

54 Upvotes

I'm Troy, and for the past few months I've been building models that keep learning after they're released. Today I'm putting out the first one, Fintan-9B.

It's Qwen3.5-9B plus small update files. You give it documents, things about yourself, a topic, a folder of code, or how you want a task done, and it learns them into a new update on your own GPU. Qwen's weights never change, and deleting an update puts it back exactly as it was.

What I measured with the repo as you'd download it, on one 24 GB card: a learning run took 23 minutes and peaked at 9.4 GB. On 84 questions about what it learned, worded in ways it never practised, plain Qwen3.5-9B got 6.0% and Fintan got 94.0% (96.4% on a second run). It answered 5 of 5 questions about a person it had been told about (plain model: 0), followed two new skills on 8 of 8 new requests (plain model: 1), and sent none of 20 everyday requests to an update. It ships with the news of 18 to 23 November: 5.8% to 89.5% on 172 questions, with MMLU, GSM8K and ARC exactly unchanged.

Why not just notes or RAG?

  • It answers from its weights, with nothing added to the prompt. No retrieval step, no extra tokens per question, and it still knows after you delete the files.
  • It learns how things are done, not only facts. Skills, as above. In my research, when a workplace's rules changed, a model with Fintan got about half of the changed tasks right first time; an assistant keeping notes of the corrections got 7%.
  • To be fair, notes are better at quoting a passage back (73.6% against 56.0% on SQuAD in my tests). So Fintan uses notes too: anything you teach is used as a note until it's learned, and you can keep personal facts as notes permanently.

Why not just LoRA?

  • On the same sealed day of news, standard fine-tuning on the articles answered 13 to 16% of the next day's questions. Fintan answered 91%.
  • It keeps what it learned before without storing old data. Over four days of news, Fintan kept 91.9%, LoRA with replay 84.9%, plain LoRA 70.9%. Over eleven years of changing facts (TempLAMA, 7B): 86.5% against 30.6% for LoRA with replay.
  • It leaves the rest of the model alone. In those tests Fintan's MMLU and maths were exactly the original's, while LoRA moved them (plain LoRA's maths ended anywhere from 2.0% to 90.0% depending on how its answers were written). Ordinary questions go to the untouched base model.
  • Every update is tested on wordings it never practised and kept only if it beats the plain model.

Privacy

  • Everything runs on your machine: weights, server and learning. Nothing you teach it is sent anywhere.
  • The model never goes online. If you ask it to learn a topic, plain code fetches articles from Wikipedia only and logs every address.
  • One switch keeps your personal facts as notes so they're never trained. You can flip it in chat ("keep my personal stuff as notes") and back again later. Every other kind (documents, code, skills, topics, news) has its own switch, and automatic learning can be turned off or scheduled.
  • Passwords, API keys and card numbers in anything you teach are replaced with [removed] before it's stored, so they're never learned.
  • Each learning run is its own file with a list of the facts in it. Delete the file and the model is exactly what it was before.
  • Usage counts stay local. Sharing is off unless you turn it on, and even then it's counts only, no text.
  • The job loop asks before every action until you've approved that kind of action 5 times, and logs every call it makes.

What it doesn't do yet: it doesn't reason better than Qwen3.5-9B. The learning checks above are development runs on a small set of material. The job loop failed 4 of 5 marks on realistic workplaces. The learning engine ships compiled (Linux and NVIDIA); the server, router and job loop are plain Python. Every result, failures included, is in RESULTS.md, and the research numbers are at fintanlabs.com/research.

https://huggingface.co/fintanlabs/Fintan-9B

I'd value hearing where it falls short for you.


r/LocalLLM • • 16h ago

Model Dark Scarlett v1.0 26B A4B Uncensored - 0/686 refusals

Thumbnail
huggingface.co
36 Upvotes

Full story: https://rakshazi.me/blog/gemma-4-abliteration/

Quants: https://huggingface.co/rakshazi/Dark-Scarlett-v1.0-26B-A4B-Uncensored-GGUF

Clarification: SFW, blog post/model card/repo with scripts and recipes do not contain any unsafe materials


r/LocalLLM • • 1h ago

Project Two 256 GB Mac Studios just outpaced a 4-node NVIDIA DGX Spark cluster on DeepSeek-V4.1-Flash. Half the nodes. 100% lossless.

2 Upvotes

I just open-sourced Machd (dsv41-hyper), a C++20 / Metal-4 distributed inference engine built for running DeepSeek-V4.1-Flash losslessly on 2× 256 GB Apple Mac Studio M5 Ultra over Thunderbolt 5 RDMA (JACCL).


r/LocalLLM • • 11h ago

Discussion Proving math theorems using Qwen3.8 27B on local hardware (RTX 3090)

13 Upvotes

Hi, I have for the last couple weeks looked into the ability of solving maths theorems using Qwen3.8 27B. Lots of results coming out of the frontier labs, so I thought it could be interesting to check what the abilities are with Qwen3.8 27B. Almost everything is open source here: https://github.com/aisathome/aisathome including the setup of the model and harness: however it is integrated into a larger system so it's not intended to be run in isolation.

I am using prove2me for the open theorem statements, these have been generated out of real maths papers, but a Lean 4 proof does not exist. Anyone can submit a proof here, and most I would assume use frontier labs (Opus 5.5, GPT-6.1-sol.) So this setup is actually competing against people running frontier models.

Right now 16 proofs from this setup have been accepted on prove2me, 13 of them proved from scratch by Qwen3.8 27B. And I am looking at how to scale it up right now.

HardnessLevel (rough)Proved by QwenClosed by reusing an existing proofGPU-hoursTokens in / out, trials 6-11 (from KV cache)
easybachelor5 of 8–13.555M / 1.7M (95%)
moderatebachelor8 of 11 (+1 running)–66.1201M / 5.7M (96%)
moderate-hardmaster0 of 5116.950M / 1.5M (95%)
hardPhD0 of 162129.2491M / 13.7M (96%)
researchresearch0 of 4–2.4–
Total13 of 443~228796M / 23M (96%)

The hardness level is Opus 5.5's opinion on how hard it is. On the bachelor-level lemmas it proved 13 of 19; on master and PhD level it proved none of 21. Around 3 GPU-hours per proof. Since trial 6 the agents have read 796M prompt tokens (96% from the KV cache) and generated 23M, so about 72M in and 2M out per proof, failed attempts included; only about 3M of those 72M were not already in the KV cache.

Still figuring out if there are harness/scaffolding things that could improve the results on these harder theorems, but right now I will be focusing on the easier/moderate theorems. They're still open on prove2me, so nobody has submitted a proof for them yet.

So far prove2me has accepted 16 of our submissions. Qwen3.8 27B proved 13 open lemmas from scratch (out of 48 it has tried, one still running), and 3 more were closed by reusing a proof that was already on prove2me. prove2me has rejected none of what I submitted, because everything is checked by Lean on my side first.

Everything below is also in github, the proving harness is in harness/ and the configuration of the model/node is in node/.

For comparison, I ran OpenAI's GPT-6.1-sol (via Codex) through the same pipeline on three of the hard ones. It proved 2 of them, each in under 30 minutes, and failed three times on the third (one that needs stochastic calculus). It did burn my 5-hour limit as well.

Given GPT-6.1-sol's own plans, Qwen proved 0 of 5 steps on one of them (in 7.7 GPU-hours) and 3 of 6 on the other before I stopped it. The gap to frontier is real, but the easier half is definitely doable on a 3090. And this is math coming out of math papers.

The model:

  • Qwen3.8 27B, Unsloth UD-IQ4_XS (~14.3 GB), llama.cpp, q4_0 KV cache, 192k context on a 24 GB card.
  • Why 192k: on a needle-in-a-haystack recall test it got 77/80 at about 195k and 62/80 at about 247k, so I capped it at 192k. I have space for more context, but the evidence showed that recall degraded with bigger context. In practice about 1 in 8 agent sessions fills the 192k window and gets compacted, mostly on the hard lemmas; the median request is about 57k tokens.
  • MTP speculative decoding (Qwen's own multi-token-prediction head as the draft): generation after a 32k prompt went from 37 to 71 tok/s on a 3090, and 90 tok/s on a 4090 (llama.cpp b12342, same quant and KV cache). The outputs still pass the same model check as without it. This was a very good speedup.
  • 16 GB cards run UD-Q3_K_XL at 80k context, but every proof so far came from 24 GB cards.

The agents:

  1. The model first writes an outline: the proof split into small steps, each left as sorry in Lean.
  2. Each sorry becomes its own task, sent to a GPU in the network. A fresh agent session (opencode, in a sandbox with Lean and Mathlib, no internet) proves just that one step, compiling as it goes. So any agents can attempt the individual tasks. That means multiple agents usually contributed to a final proof.
  3. When every step is proved, the pieces are put back together and checked by Lean, then by a separate kernel replay, and only then submitted to prove2me, which checks it again.

One task is often 40-130 agent steps, and the agent re-reads its context every step. About 96% of the prompt tokens come from the KV cache.

In money: ~3 GPU-hours per proof is about 1 kWh on a 3090 at home, or about $0.70 on a rented one, which is what I am using right now.

Splitting the proof into small steps was the single biggest improvement: before that it proved 0 of 10.

What goes wrong

  • Hard lemmas (master and PhD level): 0 of 21. In 4 of the 7 failures I could check against a known proof, the model had found the right Mathlib lemmas; it just couldn't put the argument together. Better scaffolding mostly saves GPU time; it doesn't add proofs at this level.
  • The outline is the weak point. A good outline means almost every step gets proved first try. One false step in the outline and everything after it is wasted.
  • Easy lemmas get taken fast, because people also point frontier agents at prove2me.

Full write-up with every attempt: https://aisathome.org/devlog/5-qwen-proofs-on-consumer-hardware/ Live queue and results: https://aisathome.org/science/prove2me/


r/LocalLLM • • 8h ago

Project Got Apple's Neural Engine and Metal GPU reading the exact same 4-bit weights in RAM — 707 tok/s 4k prefill, 98 tok/s decode, 0 swap at 128k on a 27B model (M4 Max)

8 Upvotes

I've been building a C++/Metal inference engine for Apple Silicon (mometal, no Python or MLX) and just pushed v1.2.

The main annoyance with using Apple's Neural Engine for LLM prefill has always been memory. Running 27B MLPs on the ANE is more than 2.5x faster than GPU-only, so it's tempting, except normally you end up wiring two full copies of the weights: .safetensors for Metal decode and compiled CoreML model.hwx binaries for the ANE. That jumps active memory from ~14–16 GB to 25+ GB, and once you push long context on a 48 GB Mac, macOS starts thrashing the VM compressor hard (we logged 343 GB of compressor churn during a 66k run).

To get around that, mometal digs into /Library/Caches/com.apple.aned/.../model.hwx, parses Apple's Mach-O (0xbeefface) __KERN 4-bit weight layout, verifies the bytes against weight.bin at boot, and MAP_SHAREDs those exact files directly into Metal. The GPU decode kernels read the same physical pages the ANE is using, and the duplicate .safetensors MLPs stay unmapped. If anything fails verification on boot (say a future macOS update changes the binary format), it unloads ANE and drops cleanly back to GPU-only instead of silently doubling your RAM.

Benchmarks — M4 Max 48 GB

Test config: AC power, Qwen3.8-27B 4-bit + 1-layer MTP, exact dense 8-bit KV cache

  • Prefill: 645 tok/s @ 512, 674 tok/s @ 1k–2k, 707 tok/s @ 4k (exact), 514 tok/s @ 32k, 396 tok/s @ 64k, 279 tok/s @ 128k (GPU-only / MLX sits around ~255–270 tok/s at 4k)
  • Decode: 98.2 tok/s mean across our 4-task greedy suite (up to 118.9 tok/s on code, 121.4 sampled), and 52.8 / 53.4 / 37.5 tok/s dense at 32k / 64k / 128k with 10/10 needle recall
  • Memory & Load: ~14.2 GB active at 4k (6.05 GB process footprint, or 5.05 GB with --mtp off*)*, 0.00 GB swap at 128k, and ~0.6s warm startup

What's New in v1.2

  1. Zero Python needed anymore. Wrote a native C++/NEON .mlmodelc builder that converts all 64 MLP layers directly from .safetensors in ~7–8 seconds on first launch.
  2. M1–M3 support + NF4. Turns out Apple's ANE compiler silently promotes linear 4-bit (hf4) to 8-bit on M1–M3, which breaks single-copy RAM savings. Switching to 4-bit palettized weights (lut4 / nf4) keeps it at a true 0.50 bytes/weight across every generation from M1 to M5. Bonus: --format nf4 cuts WikiText-2 KL divergence vs. BF16 by 44% (top-1 agreement jumps from 88.9% to 92.8%) and decodes at 338 GB/s on Metal using a 1 KB byte-pair lookup table in threadgroup memory.
  3. Killed a bunch of memory bloat. Lazy Vision Tower loading, fixing a sneaky double-mmap on the MTP weights, scratch heap aliasing, half2 KV scales, and full-context 4-bit KV for the 1-layer MTP drafter dropped footprint by ~1.5 GB and completely wiped out 128k swapping.

Honest Caveats

  • Undocumented Internals: Relying on model.hwx internals and readable aned caches is obviously undocumented Apple territory. That's why boot-time byte verification + clean GPU-only fallback (91.6 tok/s greedy) is strict.
  • Format Trade-offs: hf4 is still the speed default on M4/M5 (707 tok/s prefill vs. 430 tok/s on nf4), while nf4 is there for better quality and native 4-bit on M1–M3.
  • Looking for M1–M3 / M5 Testers: I only own an M4 Max right now. We verified the M1–M5 binary layouts via ANECompiler.framework, and I threw a 30-second probe script (python3 scripts/probe_m_chip.py) in the repo. If anyone on an M1, M2, M3, or M5 wants to run it and paste the output, I'd genuinely appreciate it.

Links:


r/LocalLLM • • 9h ago

Model 8GB GPU Running Inkling 2 Mini FAST (No catch!)

9 Upvotes

Spent time dialing in Inkling 2 Mini (UD-Q3_K_XL) at 256K context on an 8 GB RTX 3070, with only 48GB DDR4, via PolyStrata without the lossy small-card flags (--tail-skip, --attn-requant q5_0).

Sweet spot landed at 49–64.7 tok/s decode and 421–796 tok/s prefill, zero thinking loops, and patched tool-calling for OpenCode & Oh My Pi (omp).

Everything is here. Benchmarks, cross-OS notes, sanitized configs, and an AGENT_SETUP.md your coding agent can auto-configure.

https://github.com/ChupkithModder/8blitz-strata

Open to any optimization tips if you're running similar 8 GB setups!

Let me know if this helps, and if you like the setup!


r/LocalLLM • • 21h ago

Question How much VRAM is generally needed for a decent local reasoning model?

82 Upvotes

I wanted to investigate what it would take to run a local model that is good at answering your everyday questions and improving your general knowledge.

A simple benchmark that use is asking it to list the order of final bosses of certain video games, such as Bloodborne. Good being something close to a frontier model of +- 1 year back or a specialized version that is catered towards this use-case.

I have an RTX 4080 (16GB) and I configured Swift 1.5 Qwen 3.8 27B, GSQ-RCO IQ3_S with MTP (12.12 GB), because that's what all the promising video's on YouTube mentioned. I also tried Gemma4:12b and gpt-oss:20b. The results where absolutely underwhelming; massive hallucination, failing to use web search properly and many time-outs... completely useless.

Now I wonder, if this experience could be turned around if I would add a 16-24GB GPU to my set-up, or is general reasoning too much for local set-ups (<40GB VRAM) at this point in time?


r/LocalLLM • • 5h ago

Discussion Top:GLM5.3-flash Bottom:Hy4-flash

Post image
4 Upvotes

Prompt came from the Qwen/Blenderworld tasks, this was task 0153 which described making ammo container with a latch. No images in the prompt.

Total usage was ~4Mil tokens each... Though I still have some I want to check with that, I did a bunch of tasks and it seems the harness would keep running until it filled it's token limit.

Still, Hy4-Flash is very impressive. I had done a different task with DS4.1Flash1017 before but it seemed to favor the GLM-like modeling where there's dozens of mesh bodies all in one collector while Hy4-Flash basically just box modeled it using a python script I found in it's work folder. Only critique I'd give it is it made a high and low poly and baked but they're the exact same model, vertex for vertex.

Was planning on testing Ernie-5.5-Flash-Preview next, since that's closer in parameters to DS/GLM-flash which I've liked for so long, but I was curious what Hy4-Flash could do since it touts it's 3D/asset creation ability


r/LocalLLM • • 16h ago

Model Qwen 3.8 27b

28 Upvotes

I just had my local model hallucinate a comment in my code and then updated six linked files to address the hallucinated comment.

I caught it right away but that would have set me back a a lot if I didn’t.

Anyone have any tips and tricks to avoid this?

I run it in Q6 and use llama.cpp set to default which is high reasoning I believe. My local server is a Ryzen 9950 with 64 GB of RAM and a single 5090 GPU.


r/LocalLLM • • 2h ago

Question Dual RTX 5090s (64GB VRAM) + 32GB System RAM: Fastest local stack for 130k context summarization? (Windows vs. Linux)

2 Upvotes

I’m building a local pipeline specifically for high-speed, long-context summarization (~130k tokens per document) and want to squeeze every bit of prefill and generation speed out of my hardware.

My Specs:

  • GPUs: 2x RTX 5090 (64GB total VRAM)
  • System RAM: 32GB
  • OS: Currently on Windows, but completely open to switching to native Linux (or dual-booting) if the speed/engine gains on Blackwell are worth it.
  • Workload: Batch summarizing ~130k token documents/transcripts (massive prompt processing/prefill, relatively short outputs).

Because I have 64GB of VRAM and only 32GB of system RAM, I want to keep everything strictly in VRAM and avoid system RAM bottlenecks during model loading or massive KV cache allocation.

Questions:

  1. OS & Backend: For dual 5090s doing heavy 130k prefill, is native Linux with vLLM, SGLang, or TensorRT-LLM significantly faster than staying on Windows with TabbyAPI (EXL2/EXL3) or llama.cpp?
  2. Model & Quantization: What is the best summarization model and quant (e.g., Qwen, Llama, Mistral, etc. in FP8, AWQ, or EXL) that natively supports 128k+ context and fits inside 64GB VRAM alongside a 130k KV cache without OOMing my 32GB system RAM?
  3. Throughput Flags: What specific flags or optimizations (tensor parallelism vs. pipeline parallelism, FP8/Q8 KV cache quantization, FlashAttention, chunked prefill) should I run to maximize prefill speed at 130k context?

r/LocalLLM • • 2h ago

News I made ablated MLX quants of Swift-1.5-Qwen3.8-27B (8-bit, 6-bit, 4-bit) with vision and MTP heads left completely untouched for oMLX

Thumbnail
huggingface.co
2 Upvotes

Most abliterated/uncensored VLM builds either break the vision encoder or strip out the multi-token prediction (MTP) heads, which kills speculative decoding speed on Mac.

I put together a set of Apple Silicon MLX builds (8-bit, 6-bit, and 4-bit) for my own oMLX setup on an M5 Ultra where only targeted language projections were modified, leaving all visual.* tensors in full BF16 and all mtp.* heads completely intact:

- 8-bit: https://huggingface.co/RareVector/Swift-1.5-Qwen3.8-27B-VectorCut-MLX-8bit

- 6-bit: https://huggingface.co/RareVector/Swift-1.5-Qwen3.8-27B-VectorCut-MLX-6bit

- 4-bit: https://huggingface.co/RareVector/Swift-1.5-Qwen3.8-27B-VectorCut-MLX-4bit

(BF16 master checkpoint and GGUF builds are linked in the model cards too if you're on Linux or Windows.)

Figured I'd share them here in case anyone running oMLX or MLX-VLM wants an uncensored 27B VLM that keeps its eyesight and native token speed. Let me know how they run on your Mac!


r/LocalLLM • • 3h ago

Question RTX 3090 + 5060 Ti 16GB vs. single RTX 3090 for local LLMs and AI engineering -- worth keeping both?

2 Upvotes

I recently built a workstation to learn AI/ML engineering, local LLMs, AI agents, and AI-assisted software development and cybersecurity research. I'm an experienced software developer and offensive security researcher, but relatively new to AI engineering.

Current build (prices in USD, including tax):

  • AMD Ryzen 9 9950X
  • ASUS ProArt B850-Creator WiFi NEO
  • G.Skill Flare X5 32GB DDR5-6000 CL36
  • NZXT H5 Flow RGB 2024
  • Above four components combined: $1,029
  • HP OEM RTX 3090 24GB (M24410-002, used on Ebay with a 30 day return window): $1,696
  • PNY RTX 5060 Ti 16GB OC (new - Microcenter): $838
  • ASRock SL-1200P 1200W Platinum PSU: $180
  • Thermalright Phantom Spirit CPU cooler: $47
  • Additional Arctic fans and temperature sensor: $30
  • 2TB NVMe SSD (not included in total since I had a spare one)
  • Ubuntu Linux

Total: $3,820

I also have an NZXT C1000 Gold ATX 3.1 PSU (~$130) and will return whichever PSU I don't use. My motherboard supports PCIe x8/x8 for dual GPUs.

Intended workloads:

  • Local LLM inference, coding agents and large codebase analysis.
  • AI agents, RAG, embeddings and tool integration.
  • AI-assisted reverse engineering, vulnerability research and cybersecurity.
  • AI security research and CUDA programming.
  • Occasional fine-tuning and generative media experiments.

My focus is approximately 80% inference and 20% fine-tuning/other AI experiments. I also have a separate Proxmox homelab server with 64GB RAM and am open to using cloud GPUs for heavier workloads.

My dilemma:

I can still return the 5060 Ti and the 1200W PSU, bringing the build down to approximately $2,932 with the 3090 and 1000W PSU.

I understand that 40GB of aggregate VRAM isn't equivalent to a single 40GB GPU. However, being relatively new to AI engineering, I don't yet fully understand how much practical value the second GPU would provide beyond running larger models.

I'd appreciate advice from people with real-world experience:

  • How useful is a heterogeneous dual-GPU setup for local AI engineering?
  • How do you actually utilize your secondary GPU beyond model splitting?
  • What practical workflows benefit from running multiple models simultaneously?
  • Are there significant performance or compatibility issues when mixing Ampere and Blackwell?
  • Would you keep both GPUs, return the 5060 Ti, or consider another configuration?
  • Given current hardware prices, is this build good value overall?

I'm trying to balance long-term technical capabilities, learning opportunities, and financial practicality without buying hardware just for the sake of having it.

I'd particularly appreciate firsthand experiences, benchmarks, and examples of projects where a second GPU proved genuinely useful or unnecessary.


r/LocalLLM • • 3h ago

Question is there a guide on how to use the local llms

2 Upvotes

hello everyone i'm new to that whole local llm stuff i have rx 9060xt 16gb
16gb 5200mhz ddr5 one kit
and i want to use a good model for coding stuff and some daily uses but mainly for coding and i want to connect it to opencode or deepseek harness
i think qwen 3.8 27b is good and maybe qwen4 27b when it's arrive will i be able to use it and how to choose one on hugging face there is a lot
i see some people suggest lm studio to download the model
and what drivers should i download i'm on arch linux
so is there a guide or a proper video i can watch
thx in advance


r/LocalLLM • • 3h ago

Discussion What if you never had to take screenshots or copy-paste context for AI again? An idea for cross-app human memory

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 4h ago

Project Local LLM Estimator

2 Upvotes

I’ve built a website where you can check if your computer is fit for a specific model and estimate the potential tokens-per-second: https://vramcalc.me

It’s a new project that’s still being refined. Please give it a try if you find any inaccuracies or other suggestions, please leave a comment. Thank you very much!