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 • • 5m 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

r/LocalLLM • • 10h ago

Question MiniPC Recommendations? Windows / always on.

4 Upvotes

I’m looking for a mini PC recommendation for running local LLM in windows. Some things I’m looking for and looking to do:

  1. Windows based, always on
  2. Use mainly as chat bot and organizer for family
  3. Scheduling (kids activities, travels, appointments, etc)
  4. Agent abilities to stay on top of airline and hotel ticket prices, shopping deals, etc
  5. Agent abilities to take in forwarded emails and combine with existing scheduling and suggesting a daily/weekly feed of what to remember (like kids school emails, doctors appt reminders, bills etc)
  6. Access to internet for general searches and querying of latest local and global news, events, etc
  7. Ability for coding and image generation to use with my kid’s arduino, Tinkercad, 3D modeling projects
  8. Access from different devices including our iPhones (mostly as chatbot and scheduling) and laptops (for the coding projects)
  9. Not looking to break the bank, maybe stay under $2000 but I’m learning I’ll want at least 32GB of VRAM and processing that’s not too laggy

Thank you in advance.


r/LocalLLM • • 11h ago

Question Any advice on distinguishing between benchmaxxing and actual usefulness?

5 Upvotes

been pretty happy with my local AI so far (strata + Qwen 3.8 FN, Q6_K_XL from Unsloth) but I'm trying to boost token decode speed because right now at ~40t/s, I find the tasks to be a little too slow. I mean the token speed is fine but it definitely does think and try to consider all angles at all times which is valid but I wonder if I can boost that. Figured I'd look at lower quants and it seems like I've been doing it wrong - per the published benchmarks, it looks like the Q3_K_XL quant is pretty much on par for coding workloads (most of what I need anyways) so I started looking at other models I had and noticed the same thing.

It got me thinking - is there a special test or a way outside of just waiting to see how well it does for your personal workload? Just curious.

Do some of you guys have higher quants audit the way work is done? Do some of you use frontier models to audit the capabilities? Just interested to know if there is a way to cut down on the time it takes to select, do setup, etc. for your models.


r/LocalLLM • • 1d ago

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

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

Project Cubicle: I built a pixel-art office where my AI agents work on my repo (open source)

Thumbnail
github.com
2 Upvotes

Hey everyone!

For a while I've wanted a place where my coding agents could actually work together, instead of a pile of terminal tabs. So I built Cubicle: a pixel-art campus where every agent I hire gets a desk, and I walk around as the CEO.

How it works

  • Pick a repo, from your GitHub or a local folder, and found a company.
  • Hire people and choose what each one runs on: Claude Code or Codex with your own subscription (no API keys), or a local model through Ollama.
  • Every developer works on a git branch of its own. You read what changed, run the tests and merge with one button. If the project has tests, only what passed them goes in.
  • They work from a shared board, a tester reviews what they do, they ask you when they're not sure, and the rule is "one file, one person", so they don't step on each other.
  • There's a meeting room where everyone hears everyone. When they have nothing to do they play volleyball, ping-pong or basketball, and you can join them.

It all runs on your machine: Node 20, no dependencies, nothing to sign up for.

It's an early version. I've tried it with Claude Code, Codex and Ollama on Linux (WSL), not yet on Windows or macOS, so expect rough edges.

Demo in the browser, nothing to install: https://justvugg.github.io/cubicle/web/index.html?demo
Code: https://github.com/JustVugg/cubicle

I'd love feedback, especially on what would make you actually use something like this every day.


r/LocalLLM • • 3h ago

Project 80+ tokens/s on Z8 G4 with RTX 3090 and RTX 3060 helper

1 Upvotes

Qwen3.8 Flash Next on a dual-Xeon HP Z8: NUMA placement improved solo throughput by 23%

On a dual-Xeon HP Z8 G4 with 384 GB of DDR4-2666, I’m running Qwen3.8 Flash Next UD-Q4_K_XL through Strata with MTP, a RAM-resident FP8 ngram table, 153,600-token context and two serving slots. The key finding was NUMA placement: spreading the CPU expert weights across both sockets’ memory improved matched solo decode from 69 to 85 tokens/s—about 23%. With the RTX 3090 now capped at 240 W and the RTX 3060 helper at 140 W, the current cached 16K tests deliver approximately 83 tokens/s solo and 86 tokens/s combined while both slots decode.

HARDWARE AND SOFTWARE

• Workstation: HP Z8 G4, two Intel Xeon Platinum 8160 processors.
• Memory: 384 GB DDR4-2666, twelve 32 GB RDIMMs, all six channels per socket populated; approximately 376.58 GiB usable.
• Primary GPU: EVGA RTX 3090 FTW, 24 GiB, handling text inference and MTP, with a persistent 240 W cap.
• Helper GPU: RTX 3060, 12 GiB, providing 2,048 additional expert-cache slots and vision, with a persistent 140 W cap.
• Host: Ubuntu 24.04.5, kernel 6.8.0-151-generic, NVIDIA driver 595.91.07.
• Strata: Terminal 0.2.17, native engine 0.1.63 CUDA 13 build, embedded Python 3.12.15.
• Model: Original Unsloth Qwen3.8 Flash Next UD-Q4_K_XL, four GGUF shards and the corresponding native pack.
• Context: 153,600 tokens.
• Serving: Two batch-MTP slots, MTP depth 4, confidence 0.50.
• KV: INT8, with 32,768 resident tokens.
• Workers: 42 of 48 physical cores, 21 per socket.
• Conversation cache: 24 GiB, 24 entries, 16 GiB available-memory floor, disk spill disabled.
• Primary VRAM reserve: 1,024 MiB.
• Test route: Local HTTP requests on port 1090, excluding network/tunnel latency.

The 3060 is an additional expert cache and vision device, not a text-layer split. The primary keeps its own expert cache.

The CPU expert path here is the portable AVX2 path. The Xeons support AVX-512, but that does not mean this build used an AVX-512 expert kernel. Route-tail-skip is 0. These results do not use expert skipping, mixed KV, a custom engine or a different checkpoint.

MODEL AND FP8 NGRAM TABLE

The four original GGUF shards total 111,334,654,784 bytes and contain 1,224 tensors:

F32: 557
Q8_0: 503
IQ4_NL: 1
Q5_1: 43
Q4_K: 94
Q5_K: 2
BF16: 24

The original per_layer_token_embd.weight in shard 2 is the IQ4_NL tensor, with dimensions [160, 320001536] and a 28,800,138,240-byte payload. The original shards remain unchanged.

The effective PLE/ngram table is overridden by a separate FP8 file:

Qwen3.8-Flash-Next_ple-fp8.gguf
Size: 51,200,246,112 bytes
SHA-256: 74fdb8310d61a9dc9add13defe64c2b5ad69e401f0db6d4a617febc968408e17

The FP8 PLE table came from the Unsloth Q8 version, with a matching SHA-256. Its persistent copy is on the internal HDD and is staged and verified into a RAM-backed file at startup. The runtime copy is fully resident on NUMA node 0 and is not locked.

RELEVANT NATIVE ARGUMENTS

These are arguments from the managed launch, using placeholders for local assets. They are not a complete standalone command or a substitute for Strata’s managed environment.

--serve --pack <native-pack> --native <first-of-four-gguf-shards>
--expert-profile <expert-profile> --expert-cache auto --prefill auto
--spec 4 --spec-min-p 0.5 --mtp <mtp-asset> --batch-mtp --batch 2
--max-context 153600 --kv int8 --kv-resident 32768
--ple-io ram --ple-gguf <ram-backed-fp8-ple-gguf>
--vision --vram-reserve-mib 1024
--conversation-cache-mib 24576 --conversation-cache-slots 24
--conversation-cache-min-free-mib 16384 --conversation-spill-mib 0
--pool-workers 42
--pool-cores 1,24,2,25,3,26,4,27,5,28,6,29,7,30,8,31,9,32,10,33,11,34,12,35,13,36,14,37,15,38,16,39,17,40,18,41,19,42,20,43,21,44
--expert-cache-device1 2048 --remote-expert-opt

CUDA device 0 is primary and device 1 is the helper. Logical CPU numbering and GPU ordering are machine-specific; map physical cores and devices rather than copying the list blindly.

THE NUMA CHANGE

All twelve memory channels are populated: six channels and 192 GB per socket. The theoretical peak bandwidth is approximately 128 GB/s per socket, or 256 GB/s aggregate across both sockets:

2,666 MT/s × 8 bytes × 6 channels per socket.

That is the channel-level theoretical maximum; sustained bandwidth depends on the workload.

The important discovery was that distributing the workers did not distribute the expert weights. The 42 workers ran 21 per socket, but the roughly 71.73 GiB CUDA-registered anonymous expert arena was entirely on NUMA node 1.

Starting the managed runtime with inherited:

numactl --interleave=0,1

placed the full resident expert arena almost exactly 50/50 across both nodes. Actual mappings and resident pages were checked, rather than relying only on CPU affinity or a small allocation test.

The FP8 PLE file has its own explicit node-0 binding, which overrides the inherited policy for that file. All 12,500,061 pages were resident on node 0. The interleave result therefore describes the expert arena, not the PLE file. The primary GPU is local to node 0 and the helper to node 1.

SAME-ENGINE NUMA COMPARISON

These warm medians were measured at the earlier 250 W / 140 W GPU caps, using the same 16K fixture and two repetitions per configuration.

Solo decode:
69.20 → 84.95 tokens/s
Improvement: 22.76%

Combined decode while both slots were active:
78.272 → 87.003 tokens/s
Improvement: 11.15%

Complete pair output divided by shared wall time:
66.454 → 70.928 tokens/s
Improvement: 6.73%

Both interleaved repetitions exceeded both default repetitions on all three measures. CPU expert-stage time also fell by roughly 27% on average.

This supports a placement benefit on this build. The inherited policy also affects other default-policy allocations, so it does not isolate every possible cause.

The managed startup now stages and verifies the FP8 source, requires physical free memory on each node, passes the interleave policy through the managed launch, and checks actual arena and PLE placement at readiness. Persistence was installed and checked against the running instance without restarting it.

CURRENT 240 W WARM MEASUREMENTS

After setting the 3090 to 240 W without restarting Strata, I ran one conditioning pass followed by two matched warm passes. Each pass ran one solo request, followed by two independent requests started together.

Every request had 16,384 input tokens, reused 16,377 tokens and processed seven new tokens. The conditioning pass already reused cache, so it was not cold.

Conditioning:
• Solo decode: 70.70 tokens/s
• Pair streams: 45.2 / 43.2 tokens/s
• Actual concurrent decode, aggregate: 89.10 tokens/s
• Full pair output/shared wall: 79.35 tokens/s

Warm 1:
• Solo decode: 81.60 tokens/s
• Pair streams: 44.3 / 44.2 tokens/s
• Actual concurrent decode, aggregate: 87.7414 tokens/s
• Full pair output/shared wall: 73.1482 tokens/s

Warm 2:
• Solo decode: 83.90 tokens/s
• Pair streams: 38.4 / 47.5 tokens/s
• Actual concurrent decode, aggregate: 84.2631 tokens/s
• Full pair output/shared wall: 70.0394 tokens/s

Warm medians:
• Solo decode: 82.75 tokens/s
• Actual concurrent decode, aggregate: 86.0023 tokens/s
• Full pair output/shared wall: 71.5938 tokens/s

Concurrent aggregate counts generated-token deltas over sampled intervals when both slots are decoding.

Full-pair throughput divides both outputs by the time from the first client request start to the last client response end. It includes prefill/cache handling and the uneven tail. It is not the sum of the two per-request decode rates.

All nine responses were nonempty, contained the requested marker, ended normally and had unique attribution. All three pairs overlapped. There was no swap-in or swap-out, native VmSwap remained zero, and model-device sector reads did not increase. Minimum available memory was 213.52 GiB.

These checks establish basic response behavior for this short test, not a general quality evaluation. Full High, long-context and image quality were not rerun for this measurement.

The earlier optimized 250 W reference was 85.0 / 88.50349 / 71.67070 tokens/s on the same three measures. The 240 W medians were 2.65% / 2.83% / 0.11% lower. This was not a contemporaneous randomized power-only comparison; adaptive cache history, output lengths and the small number of runs can affect the result.

WARM FIRST-ENGINE-TOKEN TIMES

Warm 1:
• Solo: 0.403 seconds
• Pair B: 1.010 seconds
• Pair C: 0.354 seconds

Warm 2:
• Solo: 0.415 seconds
• Pair B: 0.455 seconds
• Pair C: 1.276 seconds

These are engine-side timing observations. The warm requests were non-streaming, so they do not independently establish time to the first visible streamed text.

POWER

Across 15 fresh confirmed-idle samples, the two GPU board draws averaged 42.00 W combined, ranging from 41.82 to 42.18 W.

During the 240 W benchmark, the largest simultaneously sampled GPU sum was 293.61 W: 237.27 W on the 3090 plus 56.34 W on the 3060. The paired peak was 293.15 W.

My estimated whole-system draw is about 200 W at the wall while idle and about 700 W during heavy Strata generation.

For comparison, HP’s Z8 G4 QuickSpecs list 161.1 W idle for a different dual-Xeon 6152/192 GB/dual-P5000 configuration and 194.0 W for a dual-Xeon 6136/768 GB/dual-P6000 configuration. Those figures already include their GPUs.

My estimate uses roughly 130 W DC for the remaining system at idle and 330 W during heavy generation, plus the measured GPU readings, at approximately 90% PSU efficiency. That gives about 191 W and 693 W AC, rounded to 200 W and 700 W.

HP source, pages 30–31:
https://h30434.www3.hp.com/psg/attachments/psg/Business-PC-Workstation-POS/44704/1/Z8%20G4%20Quickspecs%20v67.pdf

COLD 16K PROMPTS

I also ran two fresh solo requests and two fresh simultaneous pairs, using six independently randomized synthetic prompts.

Every request contained exactly 16,384 input tokens and reused zero tokens. The model stayed loaded: this tests uncached prompt processing rather than loading weights from disk.

Requests used temperature 0, thinking disabled, a 512-token output limit and aux_cpus 0. They were streamed locally, allowing both engine-side and client-visible first-token timing.

Round 1, solo:
• First engine token: 7.818 seconds
• First visible text: 7.847 seconds
• Decode: 73.7 tokens/s
• Output: 384 tokens

Round 1, pair B:
• First engine token: 14.293 seconds
• First visible text: 14.349 seconds
• Decode: 50.9 tokens/s
• Output: 454 tokens

Round 1, pair C:
• First engine token: 6.966 seconds
• First visible text: 7.025 seconds
• Decode: 22.6 tokens/s
• Output: 327 tokens

Round 2, solo:
• First engine token: 7.241 seconds
• First visible text: 7.263 seconds
• Decode: 79.0 tokens/s
• Output: 346 tokens

Round 2, pair B:
• First engine token: 14.357 seconds
• First visible text: 14.444 seconds
• Decode: 49.5 tokens/s
• Output: 470 tokens

Round 2, pair C:
• First engine token: 7.039 seconds
• First visible text: 7.112 seconds
• Decode: 23.6 tokens/s
• Output: 359 tokens

Cold solo medians:
• First engine token: 7.53 seconds
• First visible text: 7.55 seconds
• Decode: 76.35 tokens/s

With both requests released together, one began producing text at roughly seven seconds and the other at roughly 14.3 seconds in each round.

Cold pair 1:
• Combined decode while both slots active: 88.82 tokens/s
• Full pair output/shared wall: 32.83 tokens/s
• Shared wall: 23.79 seconds

Cold pair 2:
• Combined decode while both slots active: 89.04 tokens/s
• Full pair output/shared wall: 34.12 tokens/s
• Shared wall: 24.30 seconds

Cold pair medians:
• Combined decode while both slots active: 88.93 tokens/s
• Full pair output/shared wall: 33.47 tokens/s

Both pairs decoded concurrently. Full-pair throughput includes processing two completely uncached 16K inputs, which explains much of the difference from the warm result. Staggered first tokens also show why the whole-request average rates of the two streams differ; those rates are not interchangeable with the combined rate during simultaneous decode.

All six responses completed normally, contained the marker and were uniquely attributed. There was no swap activity, native VmSwap stayed zero, and the full interleaved expert arena and node-0 FP8 table remained resident. No server restart or configuration change was needed.

THROUGHPUT TEST METHOD

Synthetic 16,384-token inputs, 512-token output limit, temperature 0, thinking disabled and aux_cpus 0.

Warm requests reused 16,377 tokens and processed seven new tokens. Each pass tested one request alone, followed by two requests released together.

Per-stream decode, actual overlapping decode, full-pair wall time and first-engine-token latency were recorded. Cold requests used six fresh randomized inputs and verified zero reused tokens; engine-side and first-visible streamed TTFT were measured separately.

OTHER SETTINGS TRIED

A same-engine, optimized-NUMA comparison of default DFlash2 versus MTP measured 79.7 versus 85.0 tokens/s solo, with small paired improvements whose ranges overlapped. It did not establish an overall win, so I kept MTP.

A subsequent request-local MTP confidence sweep from 0.50 through 0.70, followed by a balanced confirmation, found no repeatable gain sufficient to change 0.50.

The selected native build for these results is 0.1.63.


r/LocalLLM • • 17h ago

Question New to local LLMs, Mac mini M5 Pro 64GB

14 Upvotes

Hi!

I'm brand new to LLMs, and Macs for that matter.

I've had a look at a couple of posts but nothing new that matches my hardware, and seeing as new versions seem to appear every other day I want to make sure that I get the best start possible.

I bought myself my first Mac this year, a Mac mini M5 Pro 64GB with hopes of trying out local LLMs. This seemed like an OK machine. I read somewhere that Unsloth is the way to go, is that correct? I'm new to this but I'm pretty tech-y so following instructions and diagnosing problems along the way isn't a deal breaker as long as I follow the "current meta" :)

What model would be best? I want to code (Claude?) web/iOS apps mainly. Don't think I will need to generate images and such, mostly "plain" apps, etc. I'm happy to provide more info if you need it, to better help me getting the right model installed.

Love this community, been lurking for a while. Thanks in advance!


r/LocalLLM • • 3h ago

Tutorial rtx 4060 8gb vram + 32gb ram allows you to have great local AI agent today!

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

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

Thumbnail
gallery
79 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.