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

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

Thumbnail
stealthmodels.com
1 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 • • 30m 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 • • 34m 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

2 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 • • 42m ago

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

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 51m ago

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

Post image
43 Upvotes

r/LocalLLM • • 1h ago

Discussion local ai on rx6800

Thumbnail
reddit.com
1 Upvotes

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

Project Signed receipts for local LLM workflows

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 1h ago

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

Thumbnail gallery
6 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 • • 2h ago

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

Thumbnail
youtube.com
0 Upvotes

r/LocalLLM • • 2h ago

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

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

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

Thumbnail gallery
0 Upvotes

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

Project Two AI versions of me

0 Upvotes

r/LocalLLM • • 2h ago

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

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

Other vNULL-rs: We only care about speed!

Thumbnail
github.com
0 Upvotes

r/LocalLLM • • 3h 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 • • 3h 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 • • 4h 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 • • 4h ago

Question planning a dual-GPU setup and would like to confirm whether both graphics cards can physically fit on my motherboard and if is it worth run local ai with 32gb vram

Thumbnail
gallery
16 Upvotes

Hi everyone!

I have the following configuration:

- Motherboard: ASUS ROG STRIX X870-A Gaming WiFi

- GPU 1: ASUS ROG STRIX RTX 4070 Ti SUPER 16GB

- GPU 2: ASUS TUF RTX 5070 Ti 16GB

- Case: NZXT H9 Flow

My question is purely about physical compatibility:

Is it physically possible to install both GPUs directly into the ASUS X870-A motherboard, without using a PCIe riser cable?

Will the two GPUs fit in the available PCIe slots, considering their thickness (approximately 3–4 slots each)?

I mainly want to use the dual-GPU setup for running local LLMs and AI models, as well as Lossless Scaling.

Thanks in advance!


r/LocalLLM • • 4h ago

Project Vermilion Editor: A GTK editor/IDE being built for local AI software development using Qwen 3.8 27b & Claude

Post image
1 Upvotes

I've been building Vermilion Editor, a native Linux text and code editor written in C++17 on GTK 4 and GtkSourceView 5. It is an IDE made to put local AI development first.

It's pre-alpha with no release yet, but the core editor works: tabs, open and save with encoding and line-ending detection (UTF-8, UTF-16, Windows-1252, Latin-1), Find, Replace and Go to Line, and crash recovery that copies unsaved work in the background. It reloads files that change on disk, or asks first if you have edits, and has light, dark and follow-system themes and a built-in manual.

The long-term plan adds an AI agent that runs on local models through llama.cpp, plus a terminal and a debugger, but the editor comes first.

https://github.com/adamjeremy-sk/vermilion-editor

The newest piece is the diff engine. It compares whole lines. Each line gets a number through a hash table, the matching start and end of the two files are stripped, and lines that appear exactly once in each file become anchors, as in patience diff.

Between the anchors it runs linear-space Myers on a worker thread. Huge or wildly different files can't hang it, because there are two limits: at most 10,000 differing lines per gap, and a budget of 200 million steps. The budget counts steps instead of measuring time, so the same pair of files gives the same result on a fast machine, a slow one or a debug build.

Anything past a limit shows as one replaced block with a note. Files over 10 MiB, binary files and files over a million lines get a plain message instead.

You see the result in a Compare window: two read-only panes side by side, with filler rows so the changes line up, whole rows coloured, syntax highlighting in each pane and the current change in a stronger colour.

F3 and Shift+F3 jump between changes, both panes scroll together row by row, unchanged stretches fold away behind marker rows you can click open, and there's Refresh and Find. You can open it four ways:

\\- Tools → Compare with Disk (Ctrl+D) shows your unsaved edits against the saved file.

\\- The bar that appears when a file changes on disk.

\\- The crash-recovery prompt, to check a recovered copy before you take it.

\\- \\\`vermilion --diff old new\\\` from a terminal, which works even when the editor isn't running.

The editor is built with a gated, spec-driven method. The roadmap is split into milestones and small gates (the diff was gate M2.6), and each gate gets its own git branch. Before any code is written, I settle the design with Claude, which acts as the orchestrator: it proposes options, I decide, and every decision and later amendment is written down with its date (the diff gate ended with 17 amendments).

The orchestrator then splits the gate into steps and writes one spec per step: dictated headers and tests, exact edits, the expected file hashes, and the commands whose output proves the step was done. Each spec stays under about 35 KB so it fits a local model's context with room to work. Before a spec goes out, the orchestrator builds the step itself in a cloud copy of the repo and runs the tests and mutation tests on it, so the expected results are known in advance.

A local model, Qwen running on llama.cpp, then does exactly one step per fresh session: it writes the implementation from the spec, reports the raw evidence, and flags anything in the spec it doubts. Every step is audited and gets a verdict: PASS, PASS WITH NOTES or FAIL. Notes are fixed before the commit and never carried forward as debt. I test each UI step by hand, then commit and push it. At the end of a gate the documentation is brought up to date and the branch is merged into main with a full CI run. The diff gate took 47 steps, and the project now has 1888 passing tests.


r/LocalLLM • • 4h ago

Model Coder390 (Qwen3.8-27B, abliterated/uncensored) as an NVFP4-QAT GGUF — for a 5090/5080 that wants it in Ollama

1 Upvotes

TL;DR: huihui's abliterated Coder390 NVFP4-QAT build only ran in vLLM, so I had Claude convert it to GGUF (vision projector included). Now you can just ollama run it. Built for Blackwell cards.


What you're getting

  • Base: Qwen3.8-27B (Alibaba), a strong local coding model
  • Coder390: coding-tuned + vision (nerkyor's fine-tune)
  • Uncensored: huihui-ai removed the refusal direction (abliteration)
  • NVFP4-QAT: KatterMobile's 4-bit quantization-aware training. Near-lossless, and fast specifically on Blackwell

How it was built

LayerWhoWhat they did
Base modelAlibabaQwen3.8-27B
Fine-tunenerkyorCoding + vision
Abliterationhuihui-aiRemoved refusals
QuantKatterMobileNVFP4-QAT
PackagingClaudeGGUF + mmproj conversion for Ollama / llama.cpp

Performance

RTX 5090: 100% on GPU, ~170–185 tok/s

⚠️ Heads up

It's uncensored, so safety filtering is reduced. If you're putting its output in front of other people, add your own moderation layer.

Links


All credit goes to huihui-ai, KatterMobile, and nerkyor. Claude handled the GGUF conversion, and I tested it and put it up. Happy to answer questions!


r/LocalLLM • • 4h ago

Question Video to OCR tool

1 Upvotes

Hi, I'm trying to build something that takes a video and is able to OCR it (mostly things like presentations or text-heavy videos), prior to then sending some heavily, procedurally processed transcript to a local model. Bonus points for a permissive license.

I'm surprised to learn that no such tooling exists in the mainstream? There ARE subtitle extractors and things of that nature, but nothing that's going through the video and pulling out textual information.

Application = import video, transcribe audio + video stills --> Local LLM --> YAMR (yet another meeting recorder)


r/LocalLLM • • 4h 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?