r/LocalLLM • • 12h ago Mindblown Bravo

Project I trained a 1.51M parameter Transformer from scratch inside Ring-0 TempleOS V5.03 in pure HolyC (1,241 tok/s)

Post image
1.6k Upvotes

r/LocalLLM • • 19h ago Regret

Other Last message from Philip Weidmann, creator of AI uncensoring tool Heretic, before his death few days later

Post image
1.1k Upvotes

r/LocalLLM • • 15h ago

News Amazon releases Ergo: open weights, 1.1T MoE (55B active), 1M context, built for coding and agents

719 Upvotes

Disclosure: I work at AWS. Happy to answer what I can.

Amazon just released Ergo as an open weight model. The weights are on Hugging Face: https://huggingface.co/Amazon-FMR/Ergo

The specs

  • Mixture-of-experts transformer, 1.1T total parameters, 55B active per token
  • 256 routed experts per layer (8 active per token) plus 1 shared expert
  • 1M-token context window, 128K max output
  • Built mainly for coding and agentic workflows. Text only for now, and it always reasons.
  • License: Amazon Ergo Open-Weights License. It's free, and it allows commercial use, fine-tuning and redistribution under an acceptable use policy. (The full terms are linked from the model card.)

Running it yourself To be upfront: this isn't a single-GPU model. Because only 55B parameters are active per token, setups that offload experts to CPU and RAM are more practical than the total size suggests.

  • MXFP4 (default): 626 GB
  • MXFP8: 1.17 TB
  • BF16: 2.22 TB
  • SGLang and vLLM support it from day one. llama.cpp/GGUF isn't official yet, so community quants are welcome.

Benchmarks It ranked first among U.S. open weight models on all seven coding benchmarks we reported, including 74.2% pass@1 on DeepSWE. Kimi K3.1 Pro is still ahead on some of them (77.9 on DeepSWE), and the full table with all the comparisons is in the blog: https://www.aboutamazon.com/amazon-ergo

The training side (for the nerds)

  • The training stack was built from scratch in 11 months. Pretraining was fault-tolerant and bitwise deterministic, at 96% goodput.
  • We fit scaling laws on smaller models and predicted 0.1562 nats/byte on held-out code. The actual result was 0.1559, across two orders of magnitude more compute.
  • There were no loss spikes during the whole pretraining run.
  • By our estimate, the base model is 19.6x as compute-efficient as Kimi K2 Base on code.

This is the first model in a series. I'd love to hear how it works for you, especially if you get it running locally.


r/LocalLLM • • 23h ago

Discussion Opinion: local AI already won the boring work, and that's the part that matters for most people

72 Upvotes

There's a thread going asking if local AI is the future. I think the question is framed wrong, because for a lot of work it's already the present.

I use cloud models every day for hard code and planning, and I don't see that changing soon. But when I looked at what I actually send to AI in a week, most of it is small. Summaries, rewriting, sorting email, explaining a file, commit messages. On my Mac mini (M4 Pro, 48GB) Gemma 4 26B at 4-bit does about 82 tok/s through Magnitude, and for that kind of work I can't tell its output from the cloud.

There are real downsides though. You need 48GB or more to run the good models, which isn't cheap. Long prompts are still slow on Macs. And setting it up still takes an evening that most people won't spend.

My guess is local ends up with the boring 60% and the cloud keeps the hard part. Where do people here think the line ends up?


r/LocalLLM • • 10h ago

Discussion Despite hardware costs being crazy, I caved and bought a 5060ti because NVP4 and Basalt is just THAT good

Thumbnail
gallery
56 Upvotes

i9-14900K
RTX 5090 32GB
RTX 5060ti 16GB
160GB DDR5 6000mt/s
10TB NVMe total (two in Raid0 for fast load into RAM)
106TB of HDD total

With Qwen 3.8 Flash Next NVP4 uncensored (arguably still the best MoE model), and https://github.com/jesdga95/basalt I get about 465.2 tokens per second, I see closer to 300 for coding tasks.

It beats Sonnet 4.6 for sure, I've been using it with Opus as orchestrator with excellent results.

I have officially jumped on the local model bandwagon or so to speak, I am personally excited for Qwen 4 and if any good smaller versions of Ergo come out. MoE is insanely impressive to me, and there is still a lot that can be optimized.

In my own time I've been exploring speculative decoding of prompts in semi-realtime, something that is not financially feasible at all with cloud models. I feel as if there is much more performance to be discovered with local models in terms of throughput, just because of the low latency and cheap cost.

Thought I’d share. You can get similar results without 5xxx series if you use Adament, but I wanted to retain NVP4, which requires Blackwell.

These cards BARELY fit! If I was buying from scratch I’d definitely get a Ryzen or Threadripper for more PCIe. I think if you had enough PCIe lanes, you could use four PCIe5 NVMe lanes, at 15gb/s each, in RAID0 to get 60gb/s, faster than most people’s RAM to load huge models. If I had more money I’d definitely try this, I bought most of this hardware in 2023.


r/LocalLLM • • 17h ago

Discussion Just to take your minds of all that wanking over the V100s

Thumbnail
gallery
48 Upvotes

I will just say this ,prices are around 500 euros for 24GB of HBM2


r/LocalLLM • • 8h ago

Other Let's unlock the full RTX 2080 Ti potential: the empty 12th memory spot (11GB -> 12GB, 22GB -> 24GB) and maybe more

43 Upvotes

We all know NVIDIA limits some GPUs, even though the hardware can do more than it shows.

The RTX 2080 Ti is a good example. The board has room for 12 memory chips, but only 11 are fitted, because NVIDIA switched the 12th memory channel off inside the chip with factory fuses. The Quadro RTX 8000/6000 and Titan RTX use the exact same chip with everything switched on.

Recently Kate showed that this kind of lock can be undone, by bringing back switched-off memory on an NVIDIA A100-based card (blog post).

I really want to try the same on the 2080 Ti, and I can't do it alone. If you have one of the cards below, 10 minutes of your time and one text file from your card would help a lot. Everyone who helps gets credited, and I'll share all the results.

  • Most wanted (full chip): Quadro RTX 8000 / 6000, Titan RTX, Tesla T40, or a 12GB 2080 Ti engineering sample
  • Also very useful: CMP 50HX, Tesla T10, and any RTX 2080 Ti

A bit about me and where I am

I've been repairing GPUs for about 3 years. NVIDIA cards have always been my favourite thing to work on, and modding electronics has always been the goal. I've already read and mapped where the switched-off parts are recorded, using my own five 2080 Tis. I worked the map out on two cards, and it then correctly predicted the other three. What's missing is the same data from a full chip to compare against, which is the same approach that was used in the A100 work.

How it works

A small tool reads your card and saves one text file. On Windows you write it to a USB stick with Rufus and boot from it, nothing gets installed. On Linux it's two commands. Step-by-step guide: https://github.com/lx52534/tu102-fuse-map

As a bonus, you'll see exactly which parts of your own card were switched off at the factory.

It only reads, it's all open source, and anything unique to your chip is removed from the file. If you don't want to trust a stranger, totally fair: paste the files into ChatGPT or Claude and ask what they do.

To be honest, this is research, not a ready-made unlock. It might work, it might not, but without data from a full card I can't get any further.

I'm happy to answer any questions, and if something doesn't work, I'll help you get it running. You can reach me any way you like:

Thanks a lot!


r/LocalLLM • • 11h ago

Model Mallard 1.0 (9B/27B): 5.2x less KV cache than Qwen, same performance. Full context fits 12GB / 16GB cards

37 Upvotes

I'm u/Charming_Car_504, Obit Research, and we just released Mallard 1.0, with 27B and 9B variants.

HuggingFace 9B -- HuggingFace 27B -- Inference Engine

Summary

  • Full 9B context + weights fit a 12GB card (q8); 27B fits a 16GB card (q3) and a 24GB card (q4)
  • Full 262k context fits in 3.3 GB on the 27B and 1.65GB on the 9B (KV cache shrunk 5.2x)
  • Hybrid DSA (DeepSeek V3.2) / GDN architecture (ratio 1:4), with MLA (DeepSeek V2) KV cache
  • The model parents are Qwen 3.5 / Qwen 3.8 checkpoints
  • 27B training run completed in 26 H100 hours and 9B run in 8 H100 hours
  • Public GGUFs included with Unsloth Dynamic quants, several precisions

Benchmarking Mallard

AreaBenchmarkQwen3.8-27BMallard 1.0-27B
Long-context retrievalRULER, 1,440 rows, at 8k / 32k / 128kreference−1.38 / +8.06 / −0.07
KnowledgeMMLU-Pro (500)80.883.4
Instruction followingIFEval (200), strict / loose94.0 / 97.789.5 / 95.4
CodeHumanEval+ (164), pass@191.4694.51
Science reasoningGPQA Diamond (198), ~80k thinking budget89.9087.88
Math reasoningAIME 2025 + 2026 (120), 81,920-token cap98.3396.67

Running the model

Because the model is architecturally different than stock Qwen, it learned to think (produce more reasoning tokens) a little more on hard problems, up to 16% more on the hardest problems. It also thought up to 9% less in some other benchmarks.

Stock llama.cpp and llama.cpp-based apps do not support Mallard. We've forked llama.cpp to integrate fast sparse attention, speculation, prefill and loader kernels. Fork is here.

With a tuned inference engine (coming out alongside our next release), both prefill and decode on Mallard stay stable as context increases. This table illustrates this on the 9B and 27B variants; "max" refers to the maximum that the hardware can support with the given model (Q4, on NVIDIA A40). Each cell shows empty context / 131k context.

Mallard's architecture delivers up to 2x prefill and decode at 131k context:

ModelTestQwen maxMallard max
9BDecode107 / 60108 / 105
9BPrefill (pp512)21.5k / 6.2k21.2k / 13.9k
27BDecode34.3 / 22.934.6 / 34.0
27BPrefill (pp512)6.0k / 2.0k6.0k / 4.4k

Licensing

We release these models under Apache 2.0, and the inference engine under MIT.

Future work and an invitation!

Mallard 1.0-27B still takes 12KB per token, and we think that we can get that down to less than 3KB per token. This is the naive version of the architecture, effectively a pilot- please expect a smarter, more efficient model in the Mallard model line in a few weeks' time.

We can also do this on much larger models, and we will be releasing conversions of larger models in the future, with the goal of running on hardware like the DGX Spark.

We're always working on new models. We're a new lab and we are constrained on resources, but we have more ideas than we have the mental and computational resources to pursue. If you're interested in helping us, send me a DM.

We acknowledge the National Artificial Intelligence Research Resource (NAIRR) Pilot and the San Diego Supercomputing Center for contributing to this research result.


r/LocalLLM • • 14h ago

Project I made a severence inspired app that lets you pick scary numbers to edit AI models

35 Upvotes

I made a little Severance-inspired project called NEURO REFINER. It's basically an app to shape the actual neurons from a small language model, it's shaped like a Macrodata Refinement program and it's running fully in your browser.

You get a grid of neurons from a really small AI model and sort them into four bins: MALICE, DREAD, WOE, and FROLIC. Each bin changes how much influence those neurons have on the model, from completely disabling them to amplifying them.

And it actually works. You can chat with the model before and after your changes, run a small benchmark, and see how your little refinement recipe affects its outputs and you can also share your recipes aswell!

I also gave the numbers some subtle visual characteristics based on how the neurons behave, so the whole thing feels a bit more like you're actually doing refinement rather than just moving random numbers around, so yeah some numbers do give off a scary vibe lol.

Everything runs locally through WebGPU. No backend, no accounts, no telemetry, no cloud inference. The model downloads once (~220 MB) and that's it.

Live: https://yussufbiyik.github.io/neuro-refiner/
Source: https://github.com/yussufbiyik/neuro-refiner

It supports English and Turkish, and works best in desktop Chrome or Edge.

Would love to hear how it feels to use.

Disclaimer:

- This is a unofficial fan project, not affiliated with Severance, Apple, or the rights holders. And this was made using AI in the process.


r/LocalLLM • • 7h ago

Model I made a 14GB Inkling-2-Mini quant that beats the official NVFP4 base on LiveCodeBench (43/68 vs 35/68)

32 Upvotes

I wanted Inkling-2-Mini (26.4B MoE, 3.4B active) running at full 128K context on my 16GB 5070 Ti, so I made a custom 14GB GGUF (Ember-2-Mini) and an open-source Windows CUDA server for it. While I'm a personal fan of ISTA-DAS Lab's work, the quality of their quants wasn't cutting it for me this time!

Weights + IQ4_NL DFlash2 drafter + Q8_0 mmproj (Apache-2.0): https://huggingface.co/Kryzern/Ember-2-Mini-GGUF

Engine source + Windows binary:
https://github.com/Kryzern/ember-engine

For the quant, I decoded thinkingmachines/Inkling-2-Mini to BF16, blended 40% Ex0bit/Inkblot-2-mini, and quantized with a mixed chat/code imatrix (IQ3_S/IQ4_NL experts, Q8_0 attention, Q6_K output).

On LiveCodeBench v6 (68 med/hard, identical prompts and harness, 10K budget + forced answer, greedy), it scores 43/68 vs 35/68 on the official NVFP4 checkpoint (10 won, 2 lost, p = 0.04). Pure quant KLD without the blend is 0.0129, and with the blend it is 0.0221 vs 0.0249 for ISTA GSQ-RCO.

It TECHNICALLY runs in llama.cpp too (~68 tok/s on my 5070 Ti). With the custom Ember engine + required IQ4_NL DFlash2 drafter (259 MiB VRAM), it hits 197 tok/s on structured code and 113 tok/s on creative 3D with static 128K context in 14.7GB total VRAM. So, I'd recommend you use that :)

30 and 40 series cubins are built in too (only tested on my 5070 Ti so far). Credits to Thinking Machines, Ex0bit, incoai, ISTA-DASLab, and llama.cpp.


r/LocalLLM • • 17h ago

Discussion Honestly, the only reason I want to be rich is compute

22 Upvotes

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

Question Getting started

15 Upvotes

Hello everybody! Does anybody know any resources for making this self-hosted AI more easily accessible? Do you have any recommendations?


r/LocalLLM • • 23h ago

Discussion The narrative about european regulations was being orchestrated

15 Upvotes

Do you remember people pushing the narrative that Europe is behind in AI because of regulations? Yet they never named the regulations that supposedly put Europe behind. What they really meant was the privacy laws that protect european people against giant corporations. Yet they never explained why European AI labs couldn't just use American datasets, or why Europe needed to relax any laws. I therefore conclude that it was a coordinated campaign, using bots and other paid manipulators, to pressure European lawmakers into relaxing those laws so that American AI corporations could siphon off Europeans' data.


r/LocalLLM • • 18h ago

Discussion Benchmarks on the GGUF files people actually download, 21 models from 1 GB to 25 GB - numbers and what went wrong

14 Upvotes

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

  • llama.cpp b12110 on an RTX 4070 12 GB and an M3 24 GB, b12859 on rented A10, L40S and 2× T4
  • 32k context, f16 cache, thinking on with no budget, answers up to 29,768 tokens (Inkling 2 Mini: 16k context, answers up to 13,384)
  • one run per model, each question in a fresh conversation
  • AIME 2026: all 30 questions. Running out of room counts as wrong
  • τ²-Bench v0.2.0: 60 tasks across airline, retail and telecom, one try each, with the customer played by gpt-4.1
ModelFileSizeAIME right (of 30)AIME ran out of roomτ²-Bench
LFM3 1.7BQ4_K_M1.1 GB20980.0
Qwen 3.5 4BQ4_K_M2.7 GB1218-
Ministral 3 8BQ4_K_M5.2 GB7028.3
Granite 4.2 8BQ4_K_M5.3 GB171256.7
Qwen 3.5 9BQ4_K_M5.7 GB1614-
Nemotron 3.5 Bolt E4BQ4_K_M6.2 GB120-
Bonsai 2 27BQ2_07.6 GB--73.3
Ministral 3 14BQ4_K_M8.2 GB11035.0
GPT-OSS 20BMXFP412.1 GB25256.7
Inkling 2 Mini (Q3)UD-Q3_K_XL13.6 GB21980.0
LFM2.5 24BQ4_K_XL14.9 GB22880.0
Qwen 3.8 27BQ4_K_M16.5 GB24683.3
Muse Glimmer 30BQ4_K_M16.8 GB--80.0
Qwen 3.6 27BQ4_K_M16.8 GB--88.3
Inkling 2 Mini (Q4)UD-Q4_K_XL17.6 GB2010-
Granite 4.2 30BQ4_K_M17.7 GB22576.7
Nemotron 3.5 Lightning 30BQ4_018.9 GB22870.0
Ornith 1.5 35BQ4_K_M21.9 GB22891.7
Nemotron 3.5 Bolt 74BIQ222.0 GB22876.7
Qwen 3.6 35BQ4_K_M22.1 GB--83.3
FlintQ4_K_XL25.1 GB26465.0

What stood out

  • On AIME the small thinking models were almost never wrong when they finished. Qwen 3.5 4B got all 12 it answered right and ran out of room on the other 18. Qwen 3.5 9B: 16 of 16, 14 ran out. Granite 4.2 8B: 17 of 18. LFM3 1.7B: 20 of 21. Of the 14 models that ran out at least once, 10 got every question they finished right. So at this size the score mostly measures how many problems fit in ~30k tokens. The ones that ran out are probably the hardest though, so I wouldn't read it as "they'd get 100% with more room".
  • The three that never ran out (Ministral 3 8B, Ministral 3 14B, Nemotron 3.5 Bolt E4B) just got more wrong.
  • LFM3 1.7B is a 1.1 GB file and sits level with models 10-20x its size: 20 of 30 on AIME, 80 on τ². It's slow though - 400 minutes for AIME on the M3, because it thinks a lot.
  • Inkling 2 Mini: the smaller Q3 file (13.6 GB) did as well as the Q4 (17.6 GB) everywhere I ran both - AIME 21 vs 20 of 30, IFBench 64 vs 59, MMLU-Pro 79.3 vs 78.0 (IFBench and MMLU-Pro on samples of 100 and 150 questions). That's within noise, so on a 16 GB card I'd take the Q3. Both ran with 13k tokens for the answer, less than half what the others got, and still landed with the 24-30B models on AIME. The Q3 got 80 on τ².
  • Nemotron 3.5 Bolt 74B squeezed to IQ2 (22 GB) scores the same as the 30B models at Q4 on both tests.
  • Maths and tool use don't track each other much: Flint is first on AIME (26 of 30) and 65 on τ². GPT-OSS 20B: 25 of 30 and 56.7. Ornith 1.5 35B goes the other way, 91.7 on τ².

What's weak about this

  • One run each. One AIME question is 3.3 points, so I wouldn't call anything under ~7 points a difference.
  • Different machines and two llama.cpp builds, so I've left speed out.
  • AIME 2026 came out in February, so newer models may well have seen it.
  • τ²'s customer is played by gpt-4.1, so that part isn't local.
  • Left out: Qwen 3.5 2B ran to the limit on all 30 AIME questions without answering, which looks like looping rather than a maths result. Ornith 1.5 9B was run with thinking capped at 128 tokens, so it isn't comparable.
  • No maker scores next to these. I ran the tests where the makers hadn't published a score, so there's nothing to set them against yet.

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

Question Where do I start with fine-tuning local LLMs?

13 Upvotes

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

Other Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS vs IQ3_S

10 Upvotes

I've been benchmarking local models with OpenCode to decide which one to use for my C++17 projects. Following some recommendations in the comments, I've now also tested QFN GSQ-RCO IQ3_S.

Setup:

  • 2× RTX 3090 (PCIe 4.0 x8/x8, P2P enabled, 260W each)
  • Ryzen 5 5600XT, 64GB DDR4, Ubuntu
  • Qwen3.8-27B FP8 on vLLM
  • Qwen Flash Next UD-IQ4_XS v3.1 (Unsloth) on Strata
  • Qwen Flash Next GSQ-RCO IQ3_S (ISTA-DASLab) on Strata
  • All using xhigh reasoning

Observed inference speeds:

  • 27B FP8: 170+ t/s coding, ~100 t/s narrative.
  • QFN IQ4_XS: ~130 t/s coding, ~100 t/s narrative.
  • QFN IQ3_S: slightly higher effective generation throughput across the benchmark.

Hase-Bench results with OpenCode:

C++ TaskQFN IQ3_SQFN IQ4_XS27B FP8
Thread pool4m 07s3m 44s*8m 23s
SPSC ring buffer3m 39s4m 59s8m 48s
Lifetime repair4m 34s4m 53s15m 23s
Deadlock repair2m 48s1m 25s2m 40s
RAII resource pool2m 43s3m 51s3m 55s
Total17m 50s18m 51s39m 09s
Tasks accepted5/55/5*5/5

* IQ4 passed the visible thread pool tests but encountered an apparent MSVC 2019 compatibility issue when compiling the hidden tests. Provisionally accepted after code review (official score: 4/5).

Token usage:

MetricIQ3_SIQ4_XSFP8
Output tokens37,12333,39155,096
Thinking tokens57,00959,659127,183
Total tokens94,13293,050182,279
Effective throughput (est.)104.7 t/s97.3 t/s93.4 t/s

Code review highlights:

  • Thread pool: Both QFN quants had better exception safety than FP8. IQ3 also improved argument forwarding and MSVC compatibility.
  • Ring buffer: Both QFN implementations handled destruction better. All three had counter wraparound issues.
  • Lifetime: Both QFN quants produced simpler solutions without rebuilding temporary vectors on every owning-template render.
  • Deadlocks: IQ3 used std::scoped_lock, IQ4 used portable pointer ordering, and FP8 used raw pointer comparisons. All three missed signed integer overflow (UB).
  • RAII pool: Both QFN quants used O(1) resource acquisition vs FP8's O(n). IQ3 also improved weak pointer cleanup.

Takeaways:

Despite FP8's higher peak coding throughput, both QFN quants completed the benchmark more than twice as fast, consuming roughly half as many generated tokens.

IQ3_S finished 5.4% faster than IQ4_XS, with comparable or slightly better implementations, while requiring roughly 10GB less memory for transformer weights.

FP8 and IQ3 were more thorough with stress testing, cross-compiler validation and attempts to use sanitizers than IQ4 in these runs.

Interestingly, IQ4 initially timed out on the lifetime task with high reasoning but solved it in under five minutes with xhigh.

Neither model nor quant produced flawless code. Manual review revealed issues that the official hidden tests missed.

Small sample size, one comparable run per task and no comprehensive sanitizer coverage, so this isn't a definitive ranking. However, I haven't observed a clear quality downgrade from IQ4 to IQ3.

I'm now leaning towards QFN GSQ-RCO IQ3_S with xhigh as my daily driver. My next experiment will be adding an independent review subagent to the workflow.

Hopefully this helps anyone choosing between these models.


EDIT: Full hardware setup

  • CPU: AMD Ryzen 5 5600XT
  • Motherboard: ASUS ROG Strix X570-E Gaming WiFi II
  • RAM: 64GB (2×32GB) Kingston Fury Beast DDR4 3200MHz CL16 (KF432C16BB/32)
  • GPUs: 2× MSI RTX 3090 Ventus 3X OC (PCIe 4.0 x8/x8 directly connected to the CPU, P2P read/write enabled, 260W power limit each)
  • Case: Corsair FRAME 4000D RS
  • Cooling: 3× stock front intake fans + 2× ID-Cooling XF-120-K exhaust fans (top rear and rear)
  • Storage: 1TB M.2 SSD
  • OS: Ubuntu Linux
  • PSU: ADATA XPG Core Reactor II 1000W, 80 Plus Gold, fully modular.

EDIT 2: Following the recommendations in the comments, I've also benchmarked QFN GSQ-RCO IQ3_S. I've updated the tables, code review highlights and conclusions below to include all three configurations. Surprisingly, IQ3_S performed slightly better than IQ4_XS v3.1 while requiring less memory.


r/LocalLLM • • 6h ago

Discussion I am extremely happy with my local setup

9 Upvotes

96GB Strix Halo (sadly a GMKTek, but it runs cool)
Ubuntu Server, ~90GB dedicated to GTT
Opencode 1, no system prompt, skills, or MCPs
Tailnet with everything else blocked to SSH into it/host LLM for OpenCode to other servers
Halogen Flash w/ Vision and ~244k Context limit (~4.5bpw from what I recall)

If I were in February this setup was possible with the $1700 I originally spent (or even with the current $3500 for a 128GB version), I would've been shocked. I started over on a project I was using originally building with Sonnet and Opus 4.6 on a $200 plan and this is smoking it in every way.

My specific workflow: After an initial greenfield attempt, I like to implement each feature/improvement one at a time and QA myself before moving to the next, it's slow but it allows the project to feel more in control and ensures better quality. I use the same session and don't provide any context other than what the LLM gathers from code reads and session context. It's honestly a caveman workflow in late 2026, but I just feel like I'm getting amazing and accurate results. And I'm spending 0 time working on anything other than my project.

The reason I mention my workflow is because HaloGen is flat out rock solid, I can't get 262k context length exactly because of being a little short on Memory, but the ~244k has worked just as well. Either Qwen Flash Next is doing some miracles, or it is just tuned to run well with OpenCode because I just let it auto compact all day and haven't bothered with any workflow optimization after getting it working. I get 24/7 constant 50 tokens per second on decode no matter how full the context is, prompt processing stays at 1500 tokens per second as well so compaction and image viewing is quick as well. I feel like everything just works with this setup. The software and hardware development the past year has been crazy. The entire industry could cease at this point and I would have everything I need. Since QFN's release I have been entirely off cloud models even though I have a Gemini Pro subscription included from other services I use from Google.


r/LocalLLM • • 20h ago

Question Looking for recommendations: local AI setup for my gaming PC

9 Upvotes

I’ve already gone through several posts on this subreddit, but I’d like to start a new one and explain my setup to get some advice
My PC specs:
CPU: Ryzen 7 7800X3D
RAM: 32GB (2x16GB) DDR5 6000MHz CL15
GPU: RTX 4070 Ti Super 16GB
I don’t intend to do much coding. I already have access to my company’s Claude Team plan, but I’m looking for a good local AI model that can help with everyday tasks for both me and my wife at home.
At the same time, I want to experiment with running AI locally on my own hardware and make the most of my GPU.
One important thing: I still want to use this PC for gaming, mainly CS2 and FIFA

For those of you running a similar setup, what models would you recommend? What are you currently running, and how has your experience been?
I’d particularly like to hear from people with similar hardware who also use their PCs for gaming and local AI.

Thanks y’all 🤞


r/LocalLLM • • 7h ago

Model K3.1 in 446GB?

8 Upvotes

Hi guys I’m a 16 year old builder and I built this free K3.1 that fits in 446GB and beats other free builds in code, math, tools, and agent sessions if you guys want it. Would love feedback as well or just to talk.

https://huggingface.co/maxkornstein/Fairforth-K3.1


r/LocalLLM • • 14h ago

Question Best local model & inference engine for vibe coding on RTX 5090 + 32GB DDR5? (RAM-bottlenecked)

8 Upvotes

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:

  • GPU: RTX 5090 (32GB VRAM)
  • CPU: Ryzen 7 9800X3D
  • System RAM: 32GB DDR5

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:

  1. Which model and quantization would you recommend to fit comfortably within 32GB VRAM with room for a solid KV cache, and how does it compare to Qwen 3.8 27B?
  2. Which inference engine (llama.cpp, vLLM, ExLlamaV2, Ollama, TabbyAPI, etc.) handles memory management and prefill/decode speeds best on a 5090 right now compared to Basalt?

Thanks in advance for the advice!


r/LocalLLM • • 19h ago

Discussion Will local be more powerful because we can trust local?

Thumbnail
reddit.com
8 Upvotes

r/LocalLLM • • 20h ago

Question A new user needs help getting QFN 3.8 to calm down.

7 Upvotes

Running a small homelab. Wanted to explore AI for local systems management, inventory/automation, and CCM. Started with ChatGPT Plus, added Librachat and OpenCode with OpenAI API access, needed MCP connections, and a gateway to sanitize inputs. Now I'm exploring hosting my local AI so I can dispense with the gateway and do deeper/exploratory work without fear of runaway token use. So I purchased a MS-S1 128GB Strix Halo machine. After a lot of research and benchmarking configs I settled on Halogen (v0.21.0) running QFN 3.8 (On Ubuntu inside Proxmox, at least until I have a fully "complete" inference machine at which point I may go bare metal, but I'm not hitting any memory issues).

Raw generation performance is approximately 65–100 tokens/sec, with excellent long-context retention. However, the model frequently over-investigates straightforward tasks, makes redundant tool calls, and spends disproportionately long reasoning before responding. A lot of its wasted time seems to be invested in double and triple checking information.

I've already configured Halogen's default reasoning effort to Low, explicitly configured Low reasoning in LibreChat, and verified via packet capture that the parameter reaches the inference server. I've also adopted recommended thinking-mode sampling settings, tested Low versus Medium reasoning, and added instructions emphasizing proportionate investigation, minimal tool use, evidence sufficiency and stopping when the task is complete.

Despite these changes, simple operational requests occasionally take over two minutes, while more involved MCP investigations can take approximately five minutes. Comparable cloud model responses have sometimes completed in 15–45 seconds, although these comparisons are not fully controlled.

Are there additional QFN-specific reasoning controls, chat-template settings, sampling adjustments, reasoning-budget limits, or agentic tool-use configurations that would meaningfully reduce this behavior without compromising analytical quality?

Happy to provide any additional configs/benchmarks that help with the assessment. Thanks in advance for any suggestions help.


r/LocalLLM • • 9h ago

Discussion Anyone had an LLM write a custom inference engine?

6 Upvotes

With models getting pretty smart now, I was curious if building one-off inference engines targeting a single model/GPU combination would get you more performance, so I had Sol 6.2 do just that for Qwen 3.5 4B on V100 16GB. It did it in one prompt and the performance turned out to be better than llama.cpp for decode, and kind of similar for prefill (results below).

This was just a quick attempt and I imagine you can optimize for your specific usecases (e.g. batch size, precision, context length...)

Results presented as custom-engine / llama.cpp

Prompt LengthPrefillDraft N=0Draft N=1Draft N=2
Short—85 / 72125 / 84143 / 83
6k tokens3100 / 190081 / 70117 / 81129 / 80
40k tokens1600 / 265060 / 6292 / 7099 / 75

Here is the prompt I gave it:

I would like you to create an inference engine optimized for the specific model located in ./Qwen3.5-4B and for this machine's specific hardware. Support and optimize for batch_size=1 only, but also optimize prefill which should be naturally parallelized. Create optimized CUDA kernels for this specifically. The goal is to maximize tok/s for batch_size=1. The weights include an MTP head which you should also use and implement, with a configurable parameter specifying the number of tokens to speculate. Use native weights/precision. Use a single pre-allocated KV cache for a single request, and implement prefix caching across sequential requests. The model directory includes a jinja template that must be used. There is not need to support image and video, only text. You may use existing libraries for tokenization and other things not directly impacting inference. Expose an OpenAI-compatible chat completions API on port 8765 that supports streaming (via stream=true body parameter). No need to support the whole chat completions schema, only the necessary things. Reasoning is always enabled and there is no need to support disabling it. Use sensible default for sampling and generation mechanics (temperature, top_p, top_k, etc.)

You can find the source code of llama.cpp and the transformers library in ./llama.cpp and ./transformers respectively. Use these to study and deduce the model architecture. This specific model lives in ./llama.cpp/src/models/qwen35.cpp and ./transformers/src/transformers/models/qwen3_5/.

This task is long and complex, and involves many large files, so you must use subagents extensively for exploration, research and implementation. For large files like config files, write inline scripts to extract needed data instead of reading the whole file.


r/LocalLLM • • 12h ago

Model Best uncensored model for my home server? (Specs in body)

6 Upvotes

Hello, guys!
-Ryzen 7 5800x
-Rx 7700 xt 12gb Vram
-32gb Ram 3200mhz

Thanks!


r/LocalLLM • • 14h ago

News Amazon Ergo Released (Open-ish)

Thumbnail
huggingface.co
6 Upvotes

1.1T parameters. Custom license with an AUP.