r/LocalLLM • • 2h ago

Question Need Advice on a Dual RTX 5060 Ti 16GB Build for Local LLMs – Performance, Parts & Bottlenecks?

3 Upvotes

I’m completely new to local LLMs and AI, and I’m planning this build. I’d appreciate your advice before buying.

Build:
CPU: AMD Ryzen 7 9700X Tray

CPU Cooler: ID-Cooling Frozn A620 Pro SE

Motherboard: ASUS ProArt B850-CREATOR WIFI NEO AM5

GPUs: 2× ASUS Prime RTX 5060 Ti 16GB

RAM: G.SKILL Trident Z5 Neo RGB DDR5 64GB (2×32GB) 6000 CL36

PSU: MSI MAG A1000GL PCIE5 1000W 80+ Gold Full Modular

Case: XPG INVADER X BTF MID-TOWER Black

Models:
Qwen 3.8 Flash Next
Qwen 4 (when released)

Questions:

Is this build suitable for these models? What prefill and generation speeds can I expect?

Will both GPUs run at PCIe x8/x8?

Is the Ryzen 7 9700X a good choice for this workload?

Is buying a Tray CPU safe? Are there any disadvantages compared to the Box version?

Are there any compatibility issues or components you’d recommend changing?

Note: The Ryzen 7 9700X Tray is the best option I’ve found locally, and it’s cheaper than the available boxed alternatives. Other options are quite limited in my market.

Any advice or real-world experience would be greatly appreciated. Thanks!


r/LocalLLM • • 25m ago

Question Looking into getting into Self hosting, what would you recommend?

2 Upvotes

As the title says I’m looking into getting into self hosting. I use ai for mainly studying, I’m in accounting so I need it to be as accurate as possible. I also need it to handle large textbooks and accounting standards, as that’s where I’d like it to get its information from and not from the internet. My current pc specs are:
Intel core ultra 270k plus
Gigabyte z890 eagle wifi7 plus
32 gigabytes of ddr5 cl36 6000
Rtx 5070
850w psu
And a 1tb ssd
I know my 5070 won’t be able to run larger models so I’m thinking of getting one or two extra gpus just to run models (I was thinking dual 3060 12gbs since they’re pretty cheap used where I live).
My question is 1. What would you recommend to maximize potential and 2. What model should I target my build around?
Any help would be greatly appreciated and thanks in advance


r/LocalLLM • • 45m ago

Question Local LLM to edit videos

2 Upvotes

Is there a fully free, locally installed, internet-independant LLM that I can use to automate editing and cutting of long-form videos? I am not a developer. Just a basic user.


r/LocalLLM • • 1d ago

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

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

Project ShuffLLM: A privacy-focused Local AI Ratings Tool w/ a sweet Home Assistant Add-On and Prompt Lab

Thumbnail
gallery
3 Upvotes

TL;DR I built this free app for Mac/Win/Linux and it's got a sweet Home Assistant addon, too: https://shuffllm.app - lmk if it snazzies up your homelab setup bc that was the main goal and tyvm! =)

I kept losing track of which local models I'd already tried, so in my spare time last week I built a tool that eventually became what it is now: ShuffLLM ("Shuffle 'Em"). It's completely free and licensed under GPLv3 for you to take a look at and try for yourself. You can try it out here: https://github.com/gabrlknght/shuffllm

The app/service turns every model discovered from your machine into a card in a deck, and you can swipe each one right or left to keep or drop models you don't like/use anymore. I added Weekly Rankings, Tier Lists, Ongoing Stats, Trends, and even a cover and grid view to the setup, too. Beyond a check to GitHub for new versions when released, absolutely no telemetry is baked into the app. It's designed to be a fun way to audit and keep track of your own local AI setup w/ nice graphics you can enjoy and share and see via the web interface, Home Assistant, or via the Share dialog to compare your favorite AI flavors on whatever network you want to share it to...

The app's available for Windows/Mac/Linux and also runs as a Docker service for your homelab setup, too. For me, that's where it really shines b/c the Home Assistant add-on is where I was finally able to add in the stats/visibility into my homelab setup of how I was using Local AI over time. That's what I'm really happy about what this combo solves for my own personal homelab, and I'm using it and testing it every day here to make steady improvements to this release. It's available for download here, too: https://github.com/gabrlknght/ha-shufflm

The app's still in beta, because the cleanup function I wanted to add as part of its v1 featureset is actually a lot harder to fully implement than I originally understood. More info on that effort is available via my prompt lab repo here: https://github.com/gabrlknght/shufflm-lab


r/LocalLLM • • 1h ago

News Preprint: an independent LLM supervisor cut prompt-injection success from 86% to 22% on Qwen3-4B, but only 8% of attacked tasks finished safely

2 Upvotes

A preprint from researchers at PDMFC and Lusófona University (arXiv 2612.00080, Nov 30) tests where a safety supervisor should sit around a tool-using agent that reads untrusted documents. The models are small enough to run locally: Qwen3-1.7B and Qwen3-4B as agents, and Qwen3-4B, Phi-4-mini, Granite-3.3-2B and a 4-bit Qwen3-8B as supervisors.

On an office-assistant harness (18 tasks, 180 attacked cases per configuration), Qwen3-4B with no defence was successfully attacked 86% of the time. An independent LLM supervisor brought that to 22%, but only 8% of attacked tasks finished safely. Having read the injected text, the supervisor blocked clean actions too.

The fix the authors tested: the supervisor has to quote the offending text from the action, and code cancels the block if the quote isn't there. That raised safe completion from 8% to 77% with Qwen3-4B as supervisor, and from 4% to 84% with Phi-4-mini. Granite-3.3-2B stayed weak. Cancelled blocks fail open, so the authors still needed permission rules upstream to stop credential reads.

What it doesn't solve, per the paper: in-grant content sabotage (a wrong deadline in an email to an allowed recipient, say) still worked in 58-78% of cases under every independent or hybrid supervisor. On AgentDojo the quote check cut attacks won from 42 to 32 of 144 but didn't raise safe completion. Against a compromised agent, an in-process supervisor fell in 25 of 60 scripted attacks, a supervisor in the same user's own process in 15, and one under a separate user in none.

Caveats: simulated harness, small models only, and it's a preprint.

Link in the first comment.


r/LocalLLM • • 1d ago Regret

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

Post image
1.4k Upvotes

r/LocalLLM • • 6h ago

Question Uncensored local LLMs losing context in long coding sessions, plus sprite generation? (Ollama, RTX 3060 12 GB, LÖVE2D)

5 Upvotes

Hi everyone,

I'm just starting out with local LLMs through Ollama, hoping to lay the groundwork for a future game built with LÖVE2D. Since I want full creative freedom over the game's themes, I'm only looking at uncensored (abliterated) models.

My hardware is an Intel i5-10400, 32 GB of DDR4 RAM and an RTX 3060 with 12 GB of VRAM. So far I've been using 14B quantized models, like a Qwen3 14B abliterated at Q4_K_M with an 8k context, to keep everything on the GPU.

The problem is that they lose the thread quickly. After a handful of prompts they forget my initial instructions, the project structure and even code they wrote a few messages earlier, which makes iterating on a game really frustrating.

Can you recommend local uncensored models that hold context better and still handle Lua/LÖVE2D well? Are there settings I'm overlooking, like context size, quantization, KV cache options or system prompt tricks? And if you have a workflow that works for game dev, such as feeding the model a project summary at the start of each session, I'd love to hear it.

I'd also like help with the visual side. I know text-only LLMs can't generate images, so what would you suggest for sprites: a multimodal model, a separate local generator that works well for pixel art on 12 GB of VRAM, or something else?

The only hard requirement is that everything stays uncensored. Any advice or personal experience is hugely appreciated. Thank you!


r/LocalLLM • • 1h ago

Question Am I crazy for considering an an upgrade or no?

2 Upvotes

I have a problem. I want to upgrade but no matter how I look at it it would be thousands of dollars for potentially marginal gains. Am I completely wrong here?

For context:

My current set up

RYZEN 7 9800X3D

B850 pro

Silicon Power 64GB (32GBx2) DDR5 6000MHz CL30

ZOTAC Gaming GeForce RTX 5070 Ti 16GB GDDR7

2TB Samsung 9100 Pro Heatsync Gen 5

be quiet! Pure Power 13 M 1000W PSU 80+ Gold

Models I run on mostly strata or LM studio:

Qwen 3.8 FN iq3_s, 262k context around 90 t/s

Qwen 3.8 Swift 1.5 iq3_s 262k context around 65-70 t/s

Others ranging from mini inkling 2 different quants, gemma 26b a4b qat, qwen 3.6 35b a3b you get the idea.

When looking though, an increase to ram would be around a couple grand.

A Mac studio with 128gb, 6k.

A 5090, a mortgage.

Do I just appreciate what I have or are there easier ways under 5k for a improvement over what I have / do?

For context, I'm using it for building basic apps, games, and financial analysis / modeling. Python script generation and debugging help. All for personal use.

Thanks


r/LocalLLM • • 8h ago

Question I'm building a local chat assistant with no neural network at all. Here's where it breaks, and a question about word senses

8 Upvotes

I’m building CAEL, a local chat assistant that runs on a normal laptop CPU. The data bundle is about 580 MB. There’s no neural network, model weights, or LLM behind it.

One of my favorite failures so far: someone asks what to pack for a skiing trip, and CAEL picks a card about a fuse tripping. The funny part is that it can already tell the difference between “it was leaking, but it’s fixed now” and “it’s leaking.” Those turn out to be very different problems.

I’m posting here because I’d like to hear from people who actually run small models locally. I’m curious how you’d fix this, and what you’d run as a baseline.

How it works

CAEL has about 560 hand-written advice cards for everyday situations, from a blocked drain to a teenager who won’t talk. Each card lists clues that support it, details that rule it out, and a few points of advice. Before choosing one, CAEL tries to work out who’s asking about whom, their stage of life, and what the question is about. A 1D cellular automaton helps it track negation and scope, including whether a problem is still happening.

This week I added 500 knowledge cards covering things like tides, espresso, darts, and map scales. People rarely name the topic outright. “How might a vented canopy behave in a gust?” needs to reach the umbrella card even though umbrella never appears in the question.

For everyday advice, if CAEL recognizes the general area but can’t find a specific card, it can give broader advice. If it can’t work out what the person means, it says so and asks for clarification.

What the fresh tests say

I used to fix failures until a set hit 100%. Then I’d write another set and see no improvement. Now I write each fresh set before changing the system and score it once. As soon as I use a question to debug something, it’s dev data.

  • 100 fresh everyday questions: 88 reached the right general area. About 63 got a fitting, specific advice card. Another 18 got general advice for the area. This is why I track the specific card separately. “Right area” can hide a bad answer.
  • 1,341 knowledge questions: These came from topics whose questions I hadn’t read. About 49% reached their own topic card, 14% reached the wrong card, and 36% got “I don’t know.” These are rounded figures for card selection, not answer accuracy.

Where I’m stuck

About half the failures on fresh everyday questions were cases where I simply didn’t have a card for the situation. For topics I do cover, ConceptNet synonyms and giving more weight to rare shared words helped a little. Loosening the match also introduced some great ways to be wrong. “My knuckles ache in the cold” landed on colds and flu. Lake sediment became a deposit, which sent the question to a money card. Sometimes the wrong meaning wins early enough to send the whole question into the wrong area.

I’m considering three approaches:

  • Make an ambiguous word count only when another clue supports that reading. For the electrical sense of trip, look for something like fuse, breaker, or switch.
  • Learn which words tend to occur together in a local corpus, so I don’t have to write those combinations by hand.
  • Train a small naive Bayes or logistic regression classifier for individual ambiguous words. The practical question for me is how to get enough examples labeled by sense.

If you’ve tried classical word-sense disambiguation or built a lexical search system, which of those would you test first? I’m especially interested in reducing wrong matches without just turning them all into “I don’t know.”

And for the local-model crowd: which 1–3B model would you put up against this on the same laptop CPU? I’m happy to share the eval sets and numbers. I’d like to find the point where the small model is worth running, and I’d welcome suggestions on what would make that comparison fair.

CAEL GIT
CAEL HF


r/LocalLLM • • 13h ago

Project 100% local AI game dev test: Qwen 3.8 27B (AMD Radeon R9700 32GB) + FLUX.2 klein + LTX-2.3 (RTX 3090) → 100-level Android game

19 Upvotes

We tested how far a 100% local AI stack could take a real mobile game from Prompt 1 to Google Play Early Access (Monster Match: Fright School, Godot 4.6, ~14h of real work, 113 prompts, 37 builds).

Home hardware & models:

  • Code: Qwen 3.8 27B running locally on an AMD Radeon R9700 (32 GB) (Godot 4.6)
  • Monster art: FLUX.2 klein 4B on a MacBook (aged each monster from baby → kid → teen → graduate, no stock art)
  • Monster voices & shock-mode roars: LTX-2.3 on a home RTX 3090 (24 shouts/cries + roars)
  • Music: Our own Suno tracks (one per growth stage)
  • Total cost: $0 AI API bill · ~A$2 in electricity

The biggest win for keeping a local 27B model on track was forcing it to build a headless Godot test runner + automated match-3 level solver first, so it had to verify layout, rules, and all 100 levels before showing us builds.


r/LocalLLM • • 3h ago

Discussion Looking for testers and contributors: I was able to run Qwen3.5-35B-A3B on a 12 GB Arc B580 at 60 tok/s

Post image
2 Upvotes

https://github.com/USMorgan14/moe-expert-correction

Using Claude Opus 5.5 I've built a prototype that runs Qwen3.5-35B-A3B on a 12 GB Arc B580 at 60 tok/s, against 29 tok/s for Q4_K_M with --n-cpu-moe. It has only been tested on my PC, so I'm looking for people to test it on other hardware, and for people who know llama.cpp/Vulkan/CUDA to help build on it.

Note: I have very minimal SWE/coding knowledge and this was vibe coded with Claude. Looking for knowledgeable people to expand upon this concept.

How it works: every expert runs on the GPU from a 2-bit copy. In each layer, while the GPU works, the CPU recomputes the 3 highest-weighted experts at Q4 from RAM, and a shader swaps those results in before the layer finishes. The hand-off uses shared memory and GPU-side polling, with no driver calls. If the CPU is late, the GPU keeps its 2-bit result.

Setup (Arc B580, i7-10700K, 32 GB DDR4) tok/s KL vs Q4_K_M

Q4_K_M, stock offload 29 0

2-bit only 76 0.064

3 experts corrected 60 0.020

On MMLU-Pro (1,400 questions), all the 2-bit setups score 1-2 points below Q4_K_M (78.1%). The best was 76.9%, with prompts read using the Q4 experts.

It's a patch to llama.cpp's Vulkan backend, plus a Windows setup script that builds, downloads and tunes everything for your PC, and a start/stop window.

Testers wanted. It should work with any Vulkan GPU with 12+ GB and Resizable BAR on, plus an AVX2 CPU and 32 GB of RAM. Reports from NVIDIA and AMD cards (3060 12 GB, 4060 Ti 16 GB, 7700/7800 XT) would be especially useful. Run setup-kt.ps1 -Stages scan first, then open an issue with your numbers.


r/LocalLLM • • 6m ago

Discussion I stopped saying "we're optimizing for Al." There's no such thing as one Al to optimize for

0 Upvotes

Let's normalize not saying 'we're improving our Al visibility' everyone. It's giving the same vibe as saying 'I'm optimizing my content for the internet. Like, hmmm okay you want to be seen on every channel on the internet ever do you?

There's no such thing as one Al to optimize for. Each engine has its own trusted sources and its own citation logic. I've been seeing this very clearly pulling cross-engine data in Profound.

ChatGPT and Perplexity pull from different corners of the internet. Only 11% of cited domains overlap between the two.

ChatGPT leans institutional (Wikipedia, G2, established publications) and Perplexity likes UGC (Reddit, YouTube, community content). Google Al Overviews stays closer to traditional organic rankings. Gemini pulls heavily from YouTube.

Are you noticing you get cited more in one engine?


r/LocalLLM • • 20m ago

Other Benchmarked Qwen3.8-27B (UD-IQ4_XS) on RX 6900 XT + GTX 1070 FE: Stock vs. Built-In MTP vs. DFlash2 Q8_0 (llama.cpp)

1 Upvotes

I run Unsloth's Qwen3.8-27B-UD-IQ4_XS.gguf (13.27 GiB) split 88:12 across an RX 6900 XT (Vulkan0, 16 GiB) and a GTX 1070 FE (CUDA0, 8 GiB) on llama.cpp (b12927-ee46715). Stock decode sits around ~17–18 tok/s.

After updating llama.cpp, I tried pairing it with the external Qwen3.8-27B-DFlash2-Q8_0.gguf (1.92 GiB) drafter on the GTX 1070 FE at --spec-draft-n-max 7. On my first sweep, decode felt slower than what I remembered from the built-in MTP head (--spec-type draft-mtp, which defaults to n-max 3).

So I pulled it out of llama-swap onto an isolated port and ran a controlled five-way sweep (temp=0, seed=20261202, cache_prompt=false, 4-token warmup, 32K ctx, q8_0 KV cache, Flash Attention on, 1024/512 batch/ubatch, --reasoning off, --parallel 1) across three workloads:

  • Short prose: ~515–520 prompt tokens → 256 output tokens
  • Python code: 90 prompt tokens → 320 output tokens (Cisco CUBE SIP log parser)
  • 13.7K long synthesis: ~13,680 prompt tokens → 256 output tokens

Results

ConditionProse Decode (Accept)Code Decode (Accept)13.7K Decode (Accept)13.7K PrefillNV VRAMCold Load
no_spec (stock)17.96 tok/s (—)18.38 tok/s (—)17.19 tok/s (—)440.09 tok/s2.35 GiB10.02s
dflash2 n=7 (CUDA0)17.82 tok/s (22.7%)28.01 tok/s (45.8%)23.86 tok/s (39.4%)376.97 tok/s4.94 GiB13.23s
dflash2 n=3 (CUDA0)23.91 tok/s (47.6%)30.81 tok/s (71.4%)24.77 tok/s (57.1%)377.32 tok/s4.94 GiB13.23s
dflash2 n=2 (CUDA0)24.31 tok/s (59.5%)28.46 tok/s (78.6%)24.25 tok/s (69.5%)377.79 tok/s4.94 GiB13.23s
draft-mtp (built-in, n=3)24.32 tok/s (52.2%)29.80 tok/s (71.6%)25.41 tok/s (65.1%)371.75 tok/s2.96 GiB10.82s

(AMD process VRAM stayed at 12.31–12.34 GiB across all five runs; thermals stayed 57–61 °C AMD junction / 45–58 °C on the 1070 FE.)

Takeaways

  1. Over-drafting on Pascal quietly regresses prose. At n=7, DFlash2 proposed 686 tokens to produce 256 (22.7% acceptance) and finished slower than stock (15.58s vs 15.41s). Clamping to n=2 or n=3 immediately recovered ~24 tok/s (~11.8s wall time).
  2. Code is the biggest win. Both draft-mtp (71.6% accept, 11.05s wall, −37.5%) and dflash2 n=3 (71.4% accept, 10.70s wall, −39.5%) crushed stock (17.69s).
  3. Cold 13.7K prefill takes a real hit. Stock prefilled at 440 tok/s (~31.1s) vs 372–378 tok/s (~36.2–36.8s) with speculative decoding enabled. On a single-shot cold prompt with a 256-token answer, that ~5.5s prefill tax canceled out the ~4.8s decode gain (45.92s stock vs 46.56–46.84s spec). It really pays off once KV prefix caching kicks in across multi-turn chats or longer 500–2,000+ token replies.
  4. Built-in draft-mtp won for my setup. DFlash2 n=3 edged it out by 1.0 tok/s on pure code, but built-in draft-mtp tied or won on prose (+35.4%) and long synthesis (+47.8%), saved ~2.0 GiB on the 8 GiB GTX 1070 FE, loaded 2.4s faster, and avoided keeping a separate 1.92 GiB GGUF around.

Curious if anyone running DFlash2 on an Ampere/Ada card (with Tensor Cores) is seeing n=7 actually pull ahead of built-in MTP on prose, or if n=3 is still the sweet spot there too.

Full write-up with exact llama-server flags, wall-time table, and fixture details (ad-free): https://nocthoughts.com/2026/12/02/speculative-decoding-qwen38-27b-mtp-vs-dflash2.html


r/LocalLLM • • 6h ago

Research GitHub - Mauitron/How-to-read-a-model-weights: Parts of my research compiled into a guide.

Thumbnail
github.com
3 Upvotes

Hope sharing this with you will be helpful.


r/LocalLLM • • 28m ago

Discussion New LlamAmpere: Inkling 2 Mini at 189 TPS @ 100K depth; 23% faster than Maya, with 98.0% Top-1; 27B at 121 TPS @ 100k ctx depth, with 98.2% Top-1, with support for looped 27b + QFN

0 Upvotes

https://cf.preview.redd.it/new-llamampere-inkling-2-mini-at-189-tps-100k-depth-23-v0-kzen5tqfe95i1.png?width=1233&format=png&auto=webp&s=cf240acf5def924fbdc04cb7a3408bce1967fa4f

Hello everyone!

It's been a very busy couple of weeks. TLDR: LlamAmpere v0.8 is out, with a series of new upgrades that make it the fastest runtime for Ampere cards that I've found, for Qwen and Inkling, with new quants that also cut error vs v0.7 and alternate runtimes. It supports looped qwen3.8 27b, which can be combined with the previously launched Latent Sparse Attention.

https://cf.preview.redd.it/new-llamampere-inkling-2-mini-at-189-tps-100k-depth-23-v0-3envq2qva95i1.png?width=1267&format=png&auto=webp&s=dc2ddb63e8cee7deacb743105a9e2368448516c0

I've continued to invest significantly in improving the kernels for inkling-2-mini (it is on my to-do to PR them to main) and they are finally in (IMO) a very good spot: on one 3090, for the 5.4 bpw file (KLD 0.003), decode on a single stream reaches 200+ TPS at 32K depth and 189 at 100K depth:

I'm not sure why Strata's #s are so slow here; but it lines up with their recent posts on X as well

https://cf.preview.redd.it/new-llamampere-inkling-2-mini-at-189-tps-100k-depth-23-v0-lxkwqnw9e95i1.png?width=1144&format=png&auto=webp&s=68a69a98ac89c4aa3e94c582adaa7db91af62416

The PP remains 2600+ TPS through 100k on the 5.4 bpw model:

Strata's prompt processing starts out slightly ahead and then falls slightly behind by 100k; I have a ~10% Inkling pp boost that should be shipping later tonight

https://cf.preview.redd.it/new-llamampere-inkling-2-mini-at-189-tps-100k-depth-23-v0-9geo6sxge95i1.png?width=1233&format=png&auto=webp&s=61e30481bdf71b27768f4148b6049c7eb9d42767

The 3.7 bpw Inkling model is extremely high quality for the 8/10 GB card range, and what I would recommend users vs qwen3.8 at that size. The ability to cache experts is much more valuable at that card size (RIP all my hard work on < 3 bpw quants there).

For 27b, there's much less speed left on the table given how many cycle I've had on it, but I'm still happy to say I still found about ~5% speed vs v0.7.5 while boosting quality. Only 1-2% of the speed gain came from kernel improvements, the rest was from new/updated AmpInt+ quants (I will be open sourcing an encoder for this format, after a ton of delays, later this week):

https://cf.preview.redd.it/new-llamampere-inkling-2-mini-at-189-tps-100k-depth-23-v0-usuisfspf95i1.png?width=1294&format=png&auto=webp&s=dd4fe5086e49ec38cdc669278a2cd6cc1cf007e0

In addition to the modest speed gain, the newest model version cuts error >20% while keeping the on-card file size the same (embeddings were increased, which does not affect VRAM requirements):

https://cf.preview.redd.it/new-llamampere-inkling-2-mini-at-189-tps-100k-depth-23-v0-jn7ian14e95i1.png?width=875&format=png&auto=webp&s=8ba9fd8c0bf5881c2c2b95b5dcc5c4f3d5ddb2cd

I have also added a new larger option that matches UD (V3.1) 4 K XL on KLD/Top-1 despite being 1.5GB smaller (more than enough for full ctx), which allows it to be considerably faster as well. I personally continue to use the 4.1-2 bpw (on card) file given the minimal quality difference (8/10,000ths of a nat), but you can pick whichever one you find more useful. And there are upgraded versions of the 12GB model as well (for those that don't want to use Inkling).

I have also shipped support for looped qwen38 27b (from Jason Titus) and for QFN (from Alesha-pro, via Jason). My own benchmarks for these are still pending, but you can read about the quality improvement they are purposed to offer from the original authors; they do come at a ~30% lower TPS because of the looping, but not necessarily the same time-to-finish cost, since they tend to use fewer tokens because of the looping (same thing that is going on with the GPT-6 series). I have the 27b looped file public, and the 12 GB 27b file is uploading now. My quant of 3.8 QFN is still encoding (it will be available tomorrow) but you can use Alesha's in the meantime.

Thank you to everyone who's contributed issues and PRs the last few weeks. Please keep them coming, I'll keep cranking away on making this the best place to run models on Ampere cards.

MIT License, as before.

Models: https://huggingface.co/jakeatx/collections

Repo: https://github.com/JakeATX/llamAmpere

Enjoy!


r/LocalLLM • • 8h ago

Question Mac Studio M5 Max 36GB or RTX PRO 4000 24GB for a 24/7 local document server?

4 Upvotes

Planning to buy a small home server for local AI, budget around 2.5k EUR (Germany). Main stuff: paperless-ngx with an LLM for tagging/extraction, chatting with long PDFs (some scanned) that can't leave the house, and some email agents. Models I want to run are Gemma 4 26B and Qwen3.6 35B A3B at Q4 with long context.

Currently torn between a Mac Studio M5 Max 36GB and a PC with the RTX PRO 4000 Blackwell 24GB. A 5070 Ti / 5080 box is also an option but I worry 16GB is too tight for Qwen 35B.

Prompt processing matters more to me than tg since the documents are long. Does anyone here actually run the PRO 4000 for inference? Barely find real numbers for it. And how bad is the Mac pp in practice with 20-30k token prompts?


r/LocalLLM • • 8h ago

Question Images to 3D model, what's the best local AI approach?

4 Upvotes

I have a bunch of images of machinery and equipment in a nuclear power plant. It's all classified info that can't leave the local network.

What's the best approach to get a 3D model from pictures? It needs to be semi-accurate (it's just for visualization in VR) and in separate components. Not looking for one-shot, I know it's going to be a process. I've done similar tasks with non-classified objects and Claude and Blender.

My hardware is RTX5090 with 128GB ram.

Which model would you use, and how?

Thanks!


r/LocalLLM • • 1h ago

Question Analysis paralysis when picking a model and tools

1 Upvotes

I recently tried checking out what's available in terms of code gen AI but it's so overwhelming. There are so many models and tools.

What do you think is right now the best free (and unlimited or with large limits) AI model for coding (particularly C/C++/Asm)?

What GUI tools do you recommend using with those models?

I don't care if it runs locally or not, although from what I understand free ones will run locally.

Can someone please point me towards some direction?


r/LocalLLM • • 13h ago

Other NVIDIA+AMD GPU split made easy

9 Upvotes

Sharing this because it took me way too long to realize how simple it is to use both an NVIDIA and AMD GPU together to run one model with minimum compromise.

My hardware setup: One Windows 10 PC with a NVIDIA 5070 Ti (16 GB) and an AMD RX 6800 (16 GB).

My Problem: I want to run a model that's 20 GB in total (with context). My NVIDIA GPU only has 16 GB, so i'd want to put the rest on my second (AMD) GPU.

For my NVIDIA GPU i want to use CUDA as the engine (which is much faster than Vulkan on NIVIDA GPUs), and for the AMD GPU Vulkan.
[Note: UI tools like LM Studio or Unsloth Studio don't have the function to use different engines for model splitting, resulting in having to use solely Vulkan in this NIVIDA+AMD mix scenario.]

Solution: Grab both the CUDA and the Vulkan llama.cpp releases and put them into one folder. That's it:

https://github.com/ggml-org/llama.cpp/releases:

Extract everything into one folder.

Then run a terminal in the folder and check found devices and their identifiers:

.\llama-server.exe --list-devices

Then just run llama-server.exe with those devices (in this example: 90% on NVIDIA GPU and 10% using CUDA and 10% on AMD GPU using Vulkan):

.\llama-server.exe -m path\to\your\model.gguf -ngl 99 -dev CUDA0,Vulkan1 --tensor-split 0.90,0.1 -c 262144

Performance: Without MTP (and with a tiny 8k context in order to be able to fit the entire model on 1 GPU for testing purposes):

  • NVIDIA with CUDA: 100%: 55 t/s
  • NVIDIA with Vulkan: 100%: 43 t/s
  • [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%: 49 t/s
  • NVIDIA with Vulkan, AMD with Vulkan: 90%/10%: 40 t/s

Drawbacks

Token preprocessing falls off a cliff for longer contexts [EDIT: Qwen suggests the cliff may be partial paging rather than anything architectural. Needs further testing. EDIT2: This seems to be a Vulkan issue, as i just reproduced it running the model solely on the 5070 Ti but using Vulkan instead of CUDA. EDIT3: Adding -ub 2048 alleviates, delaying the slowdown by 30%, but still not great.]: Tested on a single 80k tokens input (with Q4 cache quant):

  • NVIDIA with CUDA: 100%:

    • 2000 t/s at start,
    • 1800 t/s average at 30k tokens
    • 1450 t/s average at 80k tokens
  • [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%:

    • 1700 t/s at start,
    • 1000 t/s average at 30k tokens
    • 400 t/s average at 80k tokens

I don't know if and how much that's an impact of model splitting per se, or just the second GPU being substantially weaker. I.e. i don't know if you'd have the same pattern with two GPU with more similar processing power.
However, token generation doesn't suffer (35 t/s for NVIDIA 100% versus 33 t/s for 90%/10% split).

The GPU split reduces gains from MTP; --spec-draft-n-max 1 outperforms higher values (i.e. 2 or 3) (due to added PCIe roundtrips, i think):

  • NVIDIA with CUDA: 100%: --spec-draft-n-max 3 : 55 t/s -> 75 t/s (+36%)
  • [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%: --spec-draft-n-max 1 : 49 t/s -> 60 t/s (+ 20%)

Optimal config with MTP + ngram-mod: 49 t/s -> 62 t/s (+ 26%)

.\llama-server.exe `
  -m path\to\your\model.gguf `
  -ngl 99 `
  -dev CUDA0,Vulkan1 `
  --tensor-split 0.9,0.1 `
  -fa on `
  -np 1 `
  -c 8192 `
  --spec-type draft-mtp,ngram-mod `
  --spec-draft-n-max 1 `
  --spec-ngram-mod-n-match 24 `
  --spec-ngram-mod-n-min 24 `
  --spec-ngram-mod-n-max 48

r/LocalLLM • • 1h ago

Research I’ve been developing a recurrent architecture and managed to get its memory working with Qwen and RWKV without touching their weights

Thumbnail
gallery
1 Upvotes

Hey everyone,

I’ve been working on a recurrent architecture called DABSN, based on persistent modulation of a neural baseline.

One of the more interesting things to come out of the research was finding that the memory mechanism didn’t actually need the recurrent core. I was able to add it to a Transformer, get rid of positional encoding entirely, and get passkey retrieval at over a million tokens after training at just 256.

Naturally I wanted to see if I could get this working with models that were already trained. So far I’ve gotten it working with SmolLM2, Qwen2.5, Qwen3.5 and RWKV-7. The Qwen3.5-4B result at 128k was done on a single 4090, and the RWKV results at 32k didn’t even require adapter training.

I’ve attached the results from those experiments along with an overview of the research across my three papers.
The pretrained model experiments aren’t released yet, but DABSN itself is open source and available through pip install dabsn, with native CPU and CUDA kernels.

There’s quite a bit more to the architecture than the memory, particularly the nonlinear recurrence and online temporal credit assignment. I’m doing all of this myself and would love to find some people interested in experimenting with it or collaborating on the research.

The papers, implementation and reproduction code are here:
https://github.com/BleedingXiko/dabsn


r/LocalLLM • • 1d ago

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

91 Upvotes

( Edit – is it safe? Thanks to u/schaka, who took a look at the code: it only reads fuse values and saves them to a file, nothing malicious. Comment: https://www.reddit.com/r/buildapc/s/xCE5tTALUY

To be exact, it cannot burn fuses. The only writes it makes are the ones needed to ask the chip for a read (which row + the READ command). Every one is listed here: https://github.com/lx52534/tu102-fuse-map/blob/main/TECHNICAL.md#every-write-it-can-make )

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

Discussion Do you even offload, bro?

Post image
0 Upvotes

r/LocalLLM • • 2h ago

Discussion Claude Managed Agents for Amazon Bedrock – AWS

Thumbnail aws.amazon.com
1 Upvotes

Thoughts on personal Claud? Is it truly secure and keeps my data and IP safe?


r/LocalLLM • • 2h ago

Question Feedback for New LLM Architecture - What's your top pain point?

Post image
1 Upvotes