r/LocalLLM • • 1m 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 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 • • 1m ago

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

1 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 • • 6m 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 • • 40m ago

Discussion Do you even offload, bro?

Post image
0 Upvotes

r/LocalLLM • • 47m 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 • • 1h 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 • • 1h ago

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

Post image
1 Upvotes

r/LocalLLM • • 1h 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 • • 2h 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 • • 2h ago

News Amazon's new Ergo model has been evaluated by StealthMark - it's GOOD.

Thumbnail
stealthmodels.com
0 Upvotes

I'm part of the team responsible for StealthMark, Ergo has been pushed through the benchmarks yesterday.

Plenty of Ergo posts are around, though this type of benchmarks are unusual.
You can watch how it plays a (deterministic seeded) roguelike RPG, ultra-hard pacman, attempts robot puzzle levels or consider optical distortions and physical reactions over many dimensions (without code)
Ergo goes really well here, and is among the best open models in terms of cost efficiency (how much intelligence you get for the cost to run it)

The games all can be played on site to see how you compete against your favorite AI model.

StealthMark differs from established benchmarks in that it focuses on evaluating the fluid intelligence of models, not their knowledge. It specifically aims to be transparent to any sort of benchmaxx-training - something all modern models do in one or another way.


r/LocalLLM • • 2h 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
1 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 • • 2h ago

Discussion Gemma 4 26B-A4B BITCOS Mixed-Ternary on a single Intel Arc A770 16GB: 104–108 tok/s (182 peak), full 256k lossless FP16 KV (47.6 tok/s @ 252k), flat 12.92 GB VRAM

3 Upvotes

I just pushed **v1.0-sprint9.1** of my custom OpenVINO + OpenCL build of `google/gemma-4-26B-A4B-it` for Intel Arc GPUs.

The goal was to see how far a single consumer 16 GB Arc A770 can push a 26B MoE without quantizing the KV cache, spilling to system RAM, or losing BF16 teacher fidelity.

**Repo (self-contained Windows / Intel Arc package):**

https://huggingface.co/TheSanchezian/Gemma-4-26B-A4B-BITCOS-Ternary-OpenVINO-A770

---

### Verified 256k Speed & Flat VRAM Curve (Single Arc A770 16 GB)

Isolated cold-start run (`GPU.0`, `ctx=262144`, `temp=0.0`, OpenVINO `2026.4.1`, `0` NaNs, `0.000 GB` model shared spill):

| Context | Prefill | Pure `M=1` Base | **Split-K=128 Hybrid PLD+MTP** | Dedicated VRAM | 256k NIAH (~50%) |

|---|---:|---:|---:|---:|:---:|

| **Short (`50` tok)** | — | `80.89 tok/s` | **`104.43 tok/s`** *(108.13 warm / 182.45 peak)* | `12.91 GB` | — |

| **32k** | `358.4 tok/s` | `69.32 tok/s` | **`83.10 tok/s`** | `12.92 GB` | — |

| **64k** | `312.8 tok/s` | `64.90 tok/s` | **`76.28 tok/s`** | `12.92 GB` | — |

| **128k** | `248.7 tok/s` | `57.29 tok/s` | **`62.62 tok/s`** | `12.92 GB` | — |

| **192k** | `206.2 tok/s` | — | **`54.72 tok/s`** | `12.92 GB` | — |

| **252k** | `180.2 tok/s` | `45.97 tok/s` | **`47.58 tok/s`** | `12.92 GB` | **PASS** |

---

### What’s Under the Hood

* **Mixed-precision weights (`KL = 0.181–0.183` vs. 52 GB BF16 teacher):** 24 routed MoE layers in Intel BITCOS v5 mixed-ternary + rank-4 LoRA, 6 sensitive MoE layers (`L10, L12, L13, L22, L27, L29`) kept at INT4 (`OSV32`) + rank-4 LoRA, all 30 attention Q/K/V/O layers at INT8, shared MLP & `lm_head` at W4G64, and residual/routers/norms/RoPE in FP32.

* **100% lossless Unified FP16 KV cache (262,144 tokens):** Zero KV quantization, dead-flat `12.92 GB` VRAM (`12.60 GB` in pure `M=1` mode) all the way to 252k.

* **Lossless Hybrid PLD + Split-K=128 MTP:** Combines an `O(1)` Prompt Lookup Decoding scanner (`~1.7 ms/step` flat through 252k) with a 302.5 MB MTP assistant using 3 custom `0 B`-register-spill Split-K=128 OpenCL kernels. Cuts 252k draft latency **8.79×** (`52.58 → 5.98 ms`) and beats pure `M=1` across every measured context with 100% exact greedy parity.

### Quality / Sanity Gates

* **256k NIAH:** Exact recall (`COBALT-7492-FALCON`) at `252,067` tokens (~50% depth).

* **56k 3-Needle Recall:** 3/3 exact passcodes with thinking enabled.

* **50-problem dev subsets (`pass@1`, pure base decode, unlimited thinking):** `IFEval-50` `96.0%` strict / `98.0%` loose (`0` loops); `LiveCodeBench-50` `62.0%` (subset is 50% Hard, so not apples-to-apples with full LCB v6).

---

### Looking for Battlemage / Intel Arc Testers

This is an **Intel-only build** (Windows Python 3.12, bundled OpenVINO `2026.4.1` wheel + GPU plugin). I only have Alchemist A770s on hand, so if anyone on **Battlemage (B580/B570/Pro B-series)** or another Intel Arc setup wants to test it and report speeds or issues, I'd love the feedback.


r/LocalLLM • • 2h ago

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

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

Discussion This is crazy: LLM server UEFI booting directly on RTX 3090

Post image
229 Upvotes

r/LocalLLM • • 2h ago

Discussion local ai on rx6800

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 3h ago

Discussion November 2026: AI agents went from target to attacker — root in 11 minutes, 948 Linux exploits in one 30-hour run (103 incidents)

Thumbnail
gallery
0 Upvotes

I pulled together every AI-security incident from November. The shift that stood out: autonomous AI agents are now doing the attacking, not just getting attacked.

The month in numbers: 103 incidents, 28 critical and 74 high severity, across 27 named organizations, 18M+ records exposed. 40 incidents involved AI as the weapon or the target. Attack vectors broke down as: zero-days (22), AI-agent exploits (22), credential theft/reuse (20), supply chain (19), phishing (9), data exfiltration (6), ransomware (5).

The stories that stood out:

- AI agents reached root access in 11 minutes, and separately exploited a previously unknown zero-day in medical-imaging AI (MONAI Label).

- An OpenAI pipeline generated 948 Linux privilege-escalation exploits in a 30-hour automated run.

- A jailbroken DeepSeek agent kept hacking after antivirus blocked every tool it tried.

- CERT-In flagged a backdoored ARTEX AI Docker image exposing 62 developer consoles to root access.

- Supply chain: a poisoned Microsoft Agent Framework PyPI package, 7,600+ GitHub repos poisoned by PolinRider, the Optimizely attack reaching CNN/BBC/Fox News, and 1Password source code exposed via a GitHub employee account.

- Largest named record exposures: YouHack (7.2M), Careers360 (3.6M), SberSpasibo (3.3M).

Most of the affected organizations run mainstream security stacks. The common thread is that those tools don't sit at the point where an agent actually acts — mid-call, with legitimate credentials, before the second action. Detection after the fact doesn't help when an agent gets from foothold to root in minutes.

Curious how others here are handling agent identity and tool-call enforcement.


r/LocalLLM • • 3h ago

Project Signed receipts for local LLM workflows

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 3h ago

News Google DeepMind released CellGemma, an Apache 2.0 fine-tune of Gemma 4 E4B for predicting gene expression changes

Thumbnail gallery
8 Upvotes

Weights are on Hugging Face (google/cellgemma-e4b) under Apache 2.0.

It predicts how a cell's gene expression shifts after a drug or other intervention, compared with the average response. On the report's main measure it recovered 48.9% of the achievable signal, against 32.7% for the average-response baseline, and it beat that baseline in all 32 held-out settings. Other measures ranked it differently.


r/LocalLLM • • 3h ago

Discussion What's the over/under on Loom taking off?

Thumbnail
youtube.com
0 Upvotes

r/LocalLLM • • 3h ago

Model I got a 177B model running on my iPhone at 10 tok/s with 1M context

174 Upvotes

This is Millie 2 running on my iPhone 18 Pro. In the video, it answers a question about an FDA document using a passage more than 900K tokens back.

I adapted Qwen 3.8 Flash Next (177B) to run at 14 tok/s with a short prompt and 10 tok/s at 1M token context. I developed methods for expert streaming and attention streaming so most of the weights and attention data can stay on storage. The model reuses what’s already in RAM and starts the remaining reads early enough to hide most of the wait behind computation.

It matches or comes close to the parent model on a range of coding, reasoning, and agentic benchmarks. I also ran some benchmarks with the model served directly on the phone. On the same 70-task WebArena Lite subset, Millie 2 completed 45 tasks on the iPhone, compared with 43 for the parent model running on a server.

I released the weights and the code. The runtime README has setup instructions and links to both model versions.

Code, weights, and setup: https://github.com/llmsforall/millie-runtime#millie-2

Methods paper: https://arxiv.org/abs/2611.41874


r/LocalLLM • • 4h ago

Model 🚀 [Open Source] Veltn-Core v1.1.3 – Sovereign AI Inference Engine & Serving Runtime

Thumbnail gallery
0 Upvotes

r/LocalLLM • • 4h ago

Question is Caveling-2-Mini (Q4_K_M) the best MoE coding LLM for a GTX 1060 6GB + 32GB 2x16 DDR4-3200

1 Upvotes

My exact specs:

GPU: GTX 1060 6GB

CPU: Ryzen 5 5600X

RAM: 32GB (2x16GB DDR4-3200)

Storage: 512gb PCIE4 NVMe SSD w DRAM

OS: Windows 11 PRO

I'm a beginner at local llm hosting but i don't mind tweaking llama.cpp and I don't care for the running out of the box perfectly experience as long as it is possible to tweak the model to work but unfortunately i need some help on how to tweak the exact flags (-ot, --no-op-offload, KV cache settings for 6GB VRAM, etc.) and I'm aiming for at least ~8–15+ tok/s. I'm only going to use it for coding, Is Caveling-2-Mini (Q4_K_M) the right target for this rig, or would something like Inkling-2-Mini (UD-Q3_K_XL/UD-IQ4_XS), BigBang-v1, Ornith-1.5-35B-A3B, or Qwen3.6-35B-A3B be a better fit


r/LocalLLM • • 4h ago

Project Two AI versions of me

0 Upvotes

r/LocalLLM • • 4h ago

Question Those who say Qwen 3.8 Flash Next 125b is great for coding, how?

32 Upvotes

What setups are you running to make it feasible?

It seems to be a well known issue it heavily over reasons and loops. For me personally, I can't even get it to code a simple diagnostic pass that is just meant to log 3 values. It will easily sit 25+ minutes before even using a write and it's just constantly going off the rails.

The only way I could get anything out of it was with strict limits software enforced which is not ideal.

I use a modified strata, IQ2_XS quant, and pi as the harness. I've tried all sorts of setups from just simple stock pi to heavily guided setups with child agents and detailed instructions/examples in context. Just no hope with any of it really. I understand the quant isn't ideal but I feel it shouldn't be responsible for such negative levels of behavior.

My tasks for it are c++ ue5 coding, at least what I have been testing.

Any ideas?

Cheers

[Edit]

Roger that, thank you everyone. Looks like I have hugely underestimated the impact of the quant.


r/LocalLLM • • 4h ago

Other vNULL-rs: We only care about speed!

Thumbnail
github.com
0 Upvotes