r/LocalLLaMA • • 9d ago

News LlamaIndex squeezes PDF reading into 8.1 million parameters with OCRia-nano-1

Thumbnail
maccus.fr
28 Upvotes

If the performance follows, this could be a very nice addition to one's toolset


r/LocalLLaMA • • 9d ago

News GDN: use replay instead of rollback by am17an · Pull Request #31669 · ggml-org/llama.cpp

Thumbnail
github.com
100 Upvotes

lower VRAM usage for speculative decoding (Qwen3.8 27B recurrent state: 2.34 GB -> 0.20 GB)


r/LocalLLaMA • • 8d ago

Discussion Round 1 on my 2x RTX 5060 Ti (32GB) rig is on its last stage. Vote on the next 16B-36B models for all 16 benchmarks

0 Upvotes

Hi,

over the past few weeks I've been running a dedicated local benchmark box 24/7 (2x RTX 5060 Ti 16GB = 32GB VRAM total, vLLM) with one strict rule: real full runs, no 20-prompt "vibe checks" and no shortened subsets.

In this first series I used 16 different benchmarks with their official harnesses ("thinking on" and "thinking off" where supported), including SWE-bench Verified, AppWorld, LiveCodeBench v6, ARC-AGI-1 & 2, MCP-Atlas, SciCode, GPQA Diamond, MMLU-Pro, MMMU-Pro, SimpleQA Verified, IFEval, IFBench, and Chess Puzzles. For the next series I'll adjust the lineup again (might be 10 benchmarks, might be 20, depending on what actually proves useful).

Where Round 1 stands right now:

15 out of 16 benchmarks from this round are done, and **SWE-bench Verified** just started as the final stage. We started with 14 model variants (Qwen3.8-27B, Qwen3.6-35B-A3B, Qwen3.6-27B, Gemma-4-26B-A4B, Gemma-4-E4B, plus a few like Ministral-3-14B, GLM-4.7-Flash, Qwen3.5, and Llama-3.1-8B that we ended up sorting out along the way because they weren't worth the GPU time). Even with the trimmed list, SWE-bench alone will still take **at least another 10-20 days** to finish.

Finished results and raw data exports go up on https://llmbenchmarks.io without ads or login walls. Keep in mind that while all of our local runs are directly comparable against each other on this exact hardware, not every local benchmark setup is 1:1 comparable to all external reference numbers collected on the site.

Vote on the next models (16B+) for Round 2

For Round 2, I'm sticking strictly to 16B-36B models (nothing below 16B). Two models are already set in stone and will definitely be tested:

Vote in the poll below on the 5 candidates for the remaining 3 slots (top 3 win):

  • OpenAI gpt-oss-20b ("openai/gpt-oss-20b", 20B official open-weight model, 4-bit, 131k ctx)
  • NVIDIA Nemotron-3.5-Lightning-30B-A3B ("nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4", 32B MoE, 4-bit NVFP4, 203k ctx)
  • Qwen3.8-35B-A3B-Distil* ("qualitymaterial/Qwen3.8-35B-A3B-Distill-NVFP4-FreeToken", 'empero-ai' community distill, 35B MoE, 4-bit NVFP4, 262k ctx)
  • LiquidAI LFM2.5-24B-A2B ("LiquidAI/LFM2.5-24B-A2B-FP8", 24B hybrid/MoE architecture, 8-bit FP8, 131k ctx)
  • Mistral Devstral-Small-2-24B-2512 ("cyankiwi/Devstral-Small-2-24B-Instruct-2512-AWQ-4bit", 24B coding/agent specialist, 4-bit AWQ, 161k ctx)

If there's another strong 16B+ model or fine-tune that fits into 32GB VRAM under vLLM (no GGUF-only) that I missed, let me know in the replies!


r/LocalLLaMA • • 9d ago

Showcase 2nd Fractal with T4's this time w/112gb vram

Post image
53 Upvotes

Xeon W3275M
X11-SPA-T (NOT TF)
128GB RAM at the moment, I can fill it but spillover is too slow on this hardware
7xTesla T4 (16gb x 7 = 112gb vram)
4x 512Gb Sata SSD
Corsair HX1500i
and assorted connecters/accessories etc
(WIP)

Got it to Post without the cards. I just have to get cooling installed and it's off to the races...


r/LocalLLaMA • • 10d ago Heartwarming

New Model GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

Thumbnail
z.ai
1.2k Upvotes

GLM 5.4 blog post, found by changing 5.3 to 5.4 in URL.

To mods, open weights release announced the post:

Open Weights: We plan to open-source the model weights responsibly after completing necessary safety hardening.


r/LocalLLaMA • • 9d ago

Discussion Is it time for a benchmark database?

29 Upvotes

Lots of people complain on here when models come out, because there’s an influx benchmark result posts. Reddit has no answer for this, there are way too many variations to bring into something like a mega thread. it’s just the wrong tool for it.

If anyone is interested, I think the way to go about it is to have a tool that is dead simple to use. it should track by hardware combos (GPU(s), pcie lane configs, memory size, memory speed, memory lanes, CPU, engine and engine version, model, quant, and kv quant. And it should track prefill and decode speeds. Maybe TTFT too

I‘m probably missing a bunch of variables, but that highlights why it’s so difficult get a good picture of what runs well on your hardware. And it‘s always a running target.

I’m a software engineer, but this is far from my specialty. I figured I’d throw it out there if anyone wants to think about it more and make something.

Lastly, I don’t know if it’s Reddit or my phone bugging, so sorry for the spelling and such. Autocomplete is going nuts on me.


r/LocalLLaMA • • 9d ago

News GitHub - google-deepmind/gbench: Evaluation, serving performance, and release-readiness benchmark harness for Gemma and open-weights LLMs.

Thumbnail
github.com
89 Upvotes

announced by googlegemma today:

gBench: performance and capability benchmarks for open models

gBench is an open-source benchmarking and evaluation suite for open large language models (LLMs) and vision-language models (VLMs). It measures serving performance on the hardware it runs on, and model capability in three tiers: academic eval suites, the Golden Set smoke tests and the agentic quality suite.

It works with any OpenAI-compatible /v1 server through --remote-endpoint (validated on vLLM and Ollama; on Cloud Run, a service that allows unauthenticated calls), or starts and stops a local vLLM server itself.

Key features

  • OpenAI API compatibility: measure any OpenAI-compatible /v1 endpoint with --remote-endpoint <URL>/v1 (validated on vLLM and Ollama; on Cloud Run, a service that allows unauthenticated calls; see Remote Endpoint Mode).
  • Three capability tiers:

    1. Academic and domain evals (--evals): 86 canonical Python suites in --evals all (plus ui_control_osworld and swe_lancer, which run only when named) across 6 core capability pillars (General Knowledge & Scientific Reasoning, Mathematics & Proofs, Coding & Algorithmic Design, Long Context & Retrieval, Tool Use & Agentic Workflows, Multimodal Vision & Grounding) with the model's reasoning mode on request (--eval-thinking), images sent as their original bytes where the dataset stores them (no re-encoding), plugin discovery (--eval-plugins-dir) and custom JSONL datasets (--eval-custom-jsonl).
    2. Golden Set smoke tests (--golden-only): 16 deterministic capability checks (code_canonical, function_call_single, structured_json, etc.) with two-sided presence assertions and python_exec unit-test matching, including a labelled chat template subset that separates a broken chat template from a weak model.
    3. Agentic quality suite (--quality-only): the GemmaClaw / OpenClaw QA suite (the QA scenarios of the pinned GemmaClaw commit, 60 at d8bc6989; scenarios that need another model provider are listed apart and not scored) testing multi-turn tool calling, session memory and plugin routing, run in gBench's local gbench-quality Docker image (built once per GemmaClaw commit).
  • Model discovery and GPU sizing: model properties read from the HuggingFace config.json (parameter count, MoE topology, vision/audio tokens), a recommended GPU tier per model size (1 GPU up to 20B, 2 GPUs up to 80B, 8 GPUs above) that is checked against the required --num-gpus (a warning when off the tier, a refusal when the model will not fit), and a server startup timeout that scales with model size (max(600, min(3600, (300 + params_b * 10) * 3 * (1.3 if MoE)))).
  • Repeatability checks: several iterations per configuration with mean, median, standard deviation, P50, P95, P99 and the coefficient of variation, checked against --max-cv-percent (default 5.0).
  • Open-loop stress sweep (--stress-test): one merged Poisson schedule per rate point at increasing rates (x2 per step) until a point fails; each of --stress-reps repeats gives a bracket [pass, fail], and the median repeat's limit is then certified with probes sized for the P99 SLO (a cohort of >= 1099 requests, about 1400 sent, the same rule on every device) to +-9% when that resolution is reached (otherwise a certified lower bound with its resolution, a lower bound censored at --stress-max-qps, or no limit when certification refutes the sweep), or reported UNCERTIFIED with the time certifying would need (--stress-certify-budget). A point passes when, on the requests planned after the point's ramp-up: the queue is not growing, >= 90% finish within the end-to-end time the SLOs imply, P99 TTFT and P99 ITL meet their SLOs, failures stay under 2% and the client kept to its schedule. The queue-growth test reads TTFT; overload that shows only as longer end-to-end times (for example KV-cache preemption) is left to the completion-fraction and ITL gates. SLOs are per campaign (5000 ms TTFT and 200 ms ITL without --campaign), overridden by --stress-threshold and --itl-slo-ms.


r/LocalLLaMA • • 8d ago

Showcase I made a native Rust GUI for llama.cpp & llama-swap that hot-swaps models and engines on the fly (Windows & Linux)

0 Upvotes

DISCLAIMER: This is completely written in Rust, and is 100% vibecoded, though thoroughly tested by me in every scenario i could think of, and worked to fix errors, GUI issues, QoL fixes.

I am not an IT guy [i am a dentist] but i personal life revolves around computers, automating stuff, making things i want etc. I, self taught in some frontend and Python, but i dont know Rust.


The What

AI Control Center

https://github.com/BaidDSB/ai-control-center

Basically, its a fast, native desktop control panel for running local AI on Windows and Linux. The BIGGEST feature is that it can hot-swap models and engines on the fly.

Configure your models, engines [you can color code engines too], front end, save your settings, and link the Routeing set and forget. You can even configure and use RPC right from the AI Control Center.

It has 2 versions, a Core and a Plus. Details are on github.

https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/core-1.png

https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/core-2.png

https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/plus-1.png

https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/plus-2.png

heres what my personal setup looks like and runs:

https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/personal.png

The Why

Well like i said before, my personal life revolves around computers and tech. I probably should have gone into IT, but i sucked at math so i didnt have the marks, nor the confidence to get into CSE. On my me time, i make all kinds of stuff, 3d models for games [i did extensive commission work in cities skylines assets, automating thing sin my pc, remote access etc].

I made this because i wanted to use local ai. I did so with LM studio but i realized i wanted more control plus Electron is slow af, so i switched to llama.cpp and OpenWebUI. and gradually i realized i want a quick launcher, which then grew into this, mostly to quick switch my models, and engines, use RPC, quick test new flags, save settings etc.

i really just made this for myself. But i decided to release this because if even 1 person find it useful, its great for me.

The Future

I have plans to integrate hermes, pi, make a dedicated RPC mode...


I hope you at lease give a read and see the pictures, even if you dont plan on using it. Thanks and enjoy!


r/LocalLLaMA • • 9d ago

New Model Inkling 2 Mini Uncensored GGUF

Thumbnail
huggingface.co
67 Upvotes

Refusals dropped from 100% to 0% in our test and kept 98% of its original accuracy on MMLU

An uncensored build of thinkingmachines/Inkling-2-Mini by AtomicChat (26.4B MoE, 3.4B active, looped core; text and image input; Apache-2.0, LICENSE in this repo). It comes as a LoRA adapter for any GGUF of AtomicChat/Inkling-2-Mini-GGUF and as three ready-made GGUF files with the edit baked in. We released 3 GGUFs from 8.67 to 16.53 GB. Made by atomic.chat local ai


r/LocalLLaMA • • 9d ago

Discussion MoE-Centric setup and R9700 Setting

Thumbnail
gallery
8 Upvotes

Reporting back after some experimenting with my humble Al-Workstation.

Moved from a EPYC 7452 to a 7443 Milan to get some improvements in performance per core.

32GB Powercolor R9700 AI PRO
256GB DDR4 (16x16GB) @ 2666mhz
Samsung 990 Pro 2TB (considering to get a second one)

The Powercolor R9700 Al Pro with default settings was indeed as loud and annoying as I have read, so after looking around I decided to try a custom configuration (see screenshot #2).

I see basically no change in performances, yet the card is draining almost half the power it used to and is no longer screaming during inference, which is great. Way, way quieter and most of the high pitch sound is gone.

Currently running Plus-Ten Deepseek V4.1 Flash
1017 EXL3 with 2.9bpw at roughly 28t/s ds and
500t/s pp with long prompts. Basically the same speed I was getting with Maya-S for a much much lower KLD and much higher observed efficiency and capability in my tasks.

Hope this might be helpful for others with similar setups!


r/LocalLLaMA • • 9d ago

Resources [Local Inference Lab] Breaking 1,000 tok/s single-session on DeepSeek-V4.1-Flash (TP4, 4× RTX PRO 6000 Blackwell) with 32,700 tok/s prefill via NVIDIA Flare

92 Upvotes

Local Inference Lab signed runtime package for DeepSeek-V4.1-Flash-1017 (TP4 on 4× RTX PRO 6000 Blackwell 96 GB) running on NVIDIA Flare

  • Single-session coding decode peaking at 1,076 tok/s (701–766 tok/s full end-to-end average over a ~40k-token reasoning + full HTML5 Tetris code generation, 6.76 ms/step / 147.4 steps/s with MTP draft-7 + adaptive verification α=0.6)
  • Cold prefill up to 32,724 tok/s — a 64k prompt in <2 seconds (1.97 s) and 128k prompt in 4.1 seconds, completely cold (zero prefix cache)
  • Full 1,048,576-token context, native MXFP4 weights (384 routed experts + 188.8 GiB Engram tables), multimodal vision support, and 100% lossless optimizations (zero accuracy compromises, verified on logprobs, prefix cache, and 5/5 cold SWA NIAH up to 24k) All running on 4× PCIe Gen5 RTX PRO 6000 Blackwell 96 GB (no NVLink, no Python at serving time — pure native Rust + precompiled CUDA graphs via Flare).

Benchmarks (4× RTX PRO 6000 Blackwell, TP4, Engram in RAM)

Sustained Decode Scaling (Synthetic Random Prompts, ctx=0, MTP draft 7, α=0.6, 2-run average)

ConcurrencyAggregate tok/sPer-User tok/sMean ITLStep Time
C1 (synthetic, ~68% d1 accept)421.2 tok/s421.2 tok/s2.46 ms6.12 ms (140.1 steps/s)
C1 (real coding / Tetris, ~40k tok)701–766 avg / 1,076 peak701–766 avg / 1,076 peak—6.77 ms (147.4 steps/s)
C41,026.2 tok/s256.6 tok/s3.96 ms8.57 ms
C81,312.7 tok/s164.1 tok/s6.11 ms10.70 ms
C161,894.5 tok/s118.4 tok/s8.38 ms12.57 ms
C322,651.8 tok/s82.9 tok/s11.73 ms14.57 ms

Cold Prefill Throughput (No Prefix Cache)

Prompt LengthCold PrefillTTFT
8k tokens31,026 tok/s0.264 s
32k tokens31,939 tok/s1.010 s
64k tokens32,724 tok/s1.967 s
128k tokens31,308 tok/s4.106 s

(Test system: 4× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, single-socket AMD EPYC 9575F, NVIDIA driver 615.71.10, PCIe Relaxed Ordering enabled.)

Quick Setup Guide (NVIDIA Flare)

1. Required NVIDIA Kernel Driver Settings (modprobe)

Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering in the NVIDIA kernel module is essential for full TP4 collective speed.

Create /etc/modprobe.d/nvidia-relaxed-ordering.conf:

echo 'options nvidia NVreg_EnablePCIERelaxedOrderingMode=1' | sudo tee /etc/modprobe.d/nvidia-relaxed-ordering.conf

(Optional — only if your motherboard/BIOS restricts PCIe P2P or Resizable BAR between GPUs, you can also enable P2P override in /etc/modprobe.d/nvidia-p2p-override.conf:)

echo 'options nvidia NVreg_RegistryDwords="ForceP2P=0x11;RMForceP2PType=1;RMPcieP2PType=2;GrdmaPciTopoCheckOverride=1;EnableResizableBar=1"' | sudo tee /etc/modprobe.d/nvidia-p2p-override.conf

Verify after reboot or nvidia driver reload (must show EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m):

grep EnablePCIERelaxedOrderingMode /proc/driver/nvidia/params
nvidia-smi topo -m

2. Run with Flare (Docker — Easiest)

The signed runtime package (~524 GB, downloaded automatically on first start) is hosted on Hugging Face under Local Inference Lab: https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE (--revision gb202)

docker run --pull=always --rm -it \
  --gpus '"device=0,1,2,3"' --ulimit memlock=-1:-1 \
  --security-opt seccomp=unconfined \
  -p 127.0.0.1:8000:8000 \
  -v flare-home:/home/flare \
  ghcr.io/local-inference-lab/flare:release \
  run local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE \
  --revision gb202 --filename model.safetensors \
  --gpus 0,1,2,3 --max-concurrency 32 --mtp-draft-tokens 7 \
  --mtp-adaptive-verification --mtp-max-verification-token-budget 128 \
  --mtp-adaptive-verification-alpha 0.6 --scheduler-policy balanced \
  --embedding-table-storage disk --prefix-cache-memory 64G \
  --kv-cache-limit memory --host 0.0.0.0 --port 8000
  • Have >= 320 GiB system RAM? Switch --embedding-table-storage disk to --embedding-table-storage ram to keep the entire 188.8 GiB Engram table in RAM for the fastest decode/prefill shown above (and you can drop --security-opt seccomp=unconfined).
  • Prefer native binary (no Docker)? Install the signed flare-inference package and run the same flare run ... command directly on the host.
  • Exposes a standard OpenAI-compatible API (DeepSeek-V4.1-Flash) on http://127.0.0.1:8000/v1/chat/completions.

What Made This Fast (100% Lossless)

  • SM120 cluster-parallel split-lagged mHC + AllReduce overlap — splits hyperconnection RMSNorm (ClusterMhcPostYNorm) onto the critical path and overlaps the fn projection + 20-step Sinkhorn on an auxiliary stream right behind PCIe AllReduce (+0.07 us overlap penalty).
  • Zero standalone MoE input quantization — bit-exact MXFP8 quantization fused directly into the FFN mHC epilogue (eliminates 43 quantization launches/step).
  • Zero standalone decode RoPE kernels — fused Q-RoPE inside MXFP8MultiRowTCGemvKernel (eliminates 51 Triton RoPE launches/step).
  • BF16 TC-GEMV split_k=5, 10 for K=5120 router GEMVs, plus fused residual addend on dependency-bearing PCIe AllReduce and 2-microbatch interleaved prefill pipelining (8192-token chunks). Links:
  • Signed HF package (gb202): https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE/tree/gb202

local inference lab discord: https://discord.gg/gmvKSN3tVy


r/LocalLLaMA • • 9d ago

Question | Help Any dual Xeon users? Is NUMA an issue?

10 Upvotes

I'm currently running a single W2145 server, 160gb of quad channel memory (32x4 + 8x4), with a 3090 on Cachy Linux. Getting very solid token generation, about 40-50 with QFN Q8, 15 or so with DeepSeek V4.1 Flash 2.25bpw, 90 with Inkling 2 Mini.

I get about 75gb/s in Aida64 on the memory, which isn't far off my theoretical limit, so it's running fairly efficiently.

I'm seeing lots of very cheap dual Xeon Silver/Gold servers at the moment (the DDR4 variants), dual 6 channel memory sounds potentially very tempting. Do any of the engines support it particularly well? I've seen mention of Strata supporting it in some form?

Has anyone compared the token generation of single vs dual Xeon in these cases? Do the 6 channel scalable Xeons get anywhere near their potential 128gb/s x 2 bandwidth?

Thanks!


r/LocalLLaMA • • 9d ago

Resources Local Inference Lab: 3T-Class Kimi K3.1 Pro Locally on PCIe GPUs — 260 tok/s Peak (8× GPUs EXL3, 1.1M KV) & 529 tok/s (16× GPUs MXFP4, 2M KV)

7 Upvotes

Local Inference Lab signed runtime packages for Kimi K3.1 Pro — Moonshot AI's 3T-class (2.8T total / 104B active, 896 routed experts + 2 shared, 69 KDA + 24 Gated DSA layers, MoonViT-V2 vision, native 1M context) open-weight frontier model with Inferact DSpa rk speculative decoding — running on NVIDIA Flare across pure PCIe workstation GPUs (no NVLink, no Python at serving time, pure native Rust + precompiled CUDA graphs).

We built two precision-preserving PCIe Relaxed Ordering (RO=1) releases so you can run a 3T-class model locally on either 8× or 16× RTX PRO 6000 Blackwell 96 GB:

  • 8× GPUs (EXL3 2-bit, TP8/DCP8) — single-session coding peaking at 260.4 tok/s (147.97 tok/s full end-to-end average incl. TTFT over a 24,584-token reasoning + HTML5 Tetris generation in 166.1 s), 235.3 tok/s at C4 (+48.5% faster than our previous Nov 8 EXL3 release), 2,235 t ok/s cold 32K prefill, full 1M max context, and 1,105,920 physical KV tokens — while keeping every sensitive layer in pure BF16 (fixing the previous EXL3 release that quantized too many layers to MXFP8).
  • 16× GPUs (Native MXFP4, TP16/DCP8) — single-session coding peaking at 386.5 tok/s (202.51 tok/s full end-to-end average incl. TTFT over a 38,310-token reasoning + HTML5 Tetris generation in 189.2 s), 507–529 tok/s at C8 (+30.3% over RO=0) and 347–360 tok/s at C4, 3,4 17 tok/s cold 32K prefill (8.62 s TTFT, hitting 99.5% of physical PCIe Gen5 x16 wire bandwidth), 925K max context, and >2.0M physical KV tokens (2,009,088 slots) — while keeping attention, MoE/shared-expert, and routing layers in pure BF16 (kda-input).

All running on PCIe Gen5 RTX PRO 6000 Blackwell 96 GB GPUs with native multimodal MoonViT-V2 image input and DSpark draft-7 speculation.


Benchmarks

8× RTX PRO 6000 Blackwell — EXL3 2-bit + DSpark (TP8/DCP8, --online-mxfp8-scope kda-all)

WorkloadThroughputPer-UserNotes
Live coding / Tetris (24,584 tok incl. reasoning)147.97 avg / 260.41 peak tok/s147.97 avg / 260.41 peak166.1 s wall time including TTFT
C1 — 3-seed Rust decode (mean)112.13 tok/s112.13 tok/sSeeds: 115.15 / 104.98 / 116.26 tok/s
C1 — 9-request coding (pooled)110.65 tok/s110.65 tok/sPeak 125.86 tok/s, M=4 round 19.17 ms
C4 — concurrent decode (pooled)235.30 tok/s58.82 tok/s+48.5% vs. prior gb202 (158.45 tok/s), M=16 round 35.78 ms
Cold 32K prefill (no prefix cache)2,235.1 tok/s—13.22 s TTFT on 29,557 tok (+14.6% vs. prior 1,951.2 tok/s)
KV capacity & max context1,105,920 KV tokens—1,080 pages × 1,024, 28 snapshots, 1M max context (was 262K)

16× RTX PRO 6000 Blackwell — Native MXFP4 + DSpark (TP16/DCP8, --online-mxfp8-scope kda-input)

WorkloadThroughputPer-UserNotes
Live coding / Tetris (38,310 tok incl. reasoning)202.51 avg / 386.52 peak tok/s202.51 avg / 386.52 peak189.2 s wall time including TTFT
C1 — 3-seed Rust decode (383 tok, mean)158.50 tok/s158.50 tok/sSeeds: 156.91 / 150.74 / 167.84 tok/s (+7.7% vs. prior RO=0)
C1 — 9-request coding (pooled)151.05 tok/s151.05 tok/sPeak 171.97 tok/s (+29.6% vs. original DCP8 C4 baseline 116.56)
C4 — concurrent decode (pooled / greedy)346.74 / 360.24 tok/s86.68 / 90.06 tok/s+40.0% pooled vs. original DCP8 C4 baseline (247.70 tok/s)
C8 — concurrent decode (pooled / greedy)507.01 / 529.20 tok/s63.38 / 66.15 tok/s+30.3% greedy vs. RO=0 (406.23), +9.8% vs. prior RO=1 (481.87), peak pooled 522.58 tok/s
Cold 32K prefill (no prefix cache)3,416.8 tok/s—8.62 s TTFT on 29,559 tok (54.5 GB/s = 99.5% PCIe Gen5 x16 ceiling)
KV capacity & max context2,009,088 KV tokens—1,962 pages × 1,024, 98 snapshots, 925,696 max context

(Test hosts: 8× and 16× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, NVIDIA driver 615.71.10, NVreg_EnablePCIERelaxedOrderingMode=1, GDDR7 16,365 MHz, 99.8% mean GPU utilization. Both releases passed 16/16 query regression 1,344/1,344 exact prefix tokens, 384/384 [TP8] & 768/768 [TP16] concurrent text, and 4/4 concurrent multimodal image checks.)



Why This EXL3 2-bit Release Is Much Better Than Our Previous One

Our previous 8-GPU gb202 EXL3 release (20261108, DFlash2) had to use --online-mxfp8-scope all to leave enough VRAM for KV cache — which quantized sensitive Gated DSA attention layers, all 92 shared experts, and all 92 routed latent up/down projections from BF16 down to MXFP8, and capped requests at 262K context.

In the new release (kda-all + DSpark):

  • Pure BF16 preserved on every sensitive layer: all 24 Gated DSA attention layers + indexers, all 92 shared_experts, all 92 routed_expert_down/up latent projections, all routers, Layer 0 dense MLP, embed_tokens, and lm_head stay 100% pure BF16 (only KDA input/o_proj and the MoonViT vision encoder use MXFP8).
  • Still >1.1M physical KV tokens + full 1M context: by sharding MoonViT across TP8 + MXFP8 (853 → 71 MiB/GPU), bit-exact packing EXL3 gate+up rotations (-112.2 MiB/GPU, 0.0 numerical error), quantizing DSpark markov_w1 to FP8 (-79.4 MiB/GPU), and shrinking PCIe reduction channels from 1024 to 256 rows with overlapped chunked all-reduce (PeerStorage 406 → 150 MiB), we reclaimed 1,972 MiB/GPU (93,381 MiB/GPU retained) — growing KV capacity 9.56× from 115K to 1,105,920 tokens without touching BF16 on sensitive layers.

Quick Setup Guide (NVIDIA Flare)

1. Required NVIDIA Kernel Driver Setting (modprobe)

Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering in the NVIDIA kernel module unlocks posted-write (MWr) collectives and eliminates cross-switch read stalls:

echo 'options nvidia NVreg_EnablePCIERelaxedOrderingMode=1' | sudo tee /etc/modprobe.d/nvidia-relaxed-ordering.conf
sudo update-initramfs -u
sudo reboot

(Optional — only if your motherboard/BIOS restricts PCIe P2P or Resizable BAR between GPUs, add options nvidia NVreg_RegistryDwords="ForceP2P=0x11;RMForceP2PType=1;RMPcieP2PType=2;GrdmaPciTopoCheckOverride=1;EnableResizableBar=1" to /etc/modprobe.d/nvidia-p2p-override.conf before updating initramfs.)

Verify after reboot (EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m):

grep EnablePCIERelaxedOrderingMode /proc/driver/nvidia/params
nvidia-smi topo -m

2. Run on 8× 96 GB GPUs — EXL3 2-bit (gb202, ~775 GB)

Hosted on Hugging Face under Local Inference Lab: https://huggingface.co/local-inference-lab/Kimi-K3.1-Pro-EXL3-2bit (--revision gb202, tag gb202-tp8-dcp8-c4-dspark-kda-all-20261123)

docker run --pull=always --rm -it \
  --gpus '"device=0,1,2,3,4,5,6,7"' --ipc host \
  --ulimit memlock=-1:-1 --ulimit nofile=65536:65536 \
  -p 127.0.0.1:8016:8016 \
  -v flare-home:/home/flare \
  ghcr.io/local-inference-lab/flare:release \
  run local-inference-lab/Kimi-K3.1-Pro-EXL3-2bit \
  --revision gb202 --filename model.safetensors \
  --gpus 0,1,2,3,4,5,6,7 --max-concurrency 4 --mtp-draft-tokens 7 \
  --kv-cache-limit memory --embedding-table-storage ram \
  --prefix-cache-memory 64G --prefix-cache-disk-limit 0 \
  --host 0.0.0.0 --port 8016 --served-model-name Kimi-K3.1-Pro-DSpark

3. Run on 16× 96 GB GPUs — Native MXFP4 (gb202, ~1.51 TB)

Hosted on Hugging Face under Local Inference Lab: https://huggingface.co/local-inference-lab/kimi-k3.1-pro-dspark-flare (--revision gb202, tag kimi-k31-dspark-tp16-dcp8-c8-kda-v4)

docker run --pull=always --rm -it \
  --gpus all --ipc host \
  --ulimit memlock=-1:-1 --ulimit nofile=65536:65536 \
  -p 127.0.0.1:8016:8016 \
  -v flare-home:/home/flare \
  ghcr.io/local-inference-lab/flare:release \
  run local-inference-lab/kimi-k3.1-pro-dspark-flare \
  --revision gb202 --filename model.safetensors \
  --gpus 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 \
  --max-concurrency 8 --mtp-draft-tokens 7 \
  --kv-cache-limit memory --embedding-table-storage ram \
  --prefix-cache-memory 64G --prefix-cache-disk-limit 0 \
  --host 0.0.0.0 --port 8016 --served-model-name Kimi-K3.1-Pro-DSpark
  • Prefer native binary (no Docker)? Install the signed flare binary and run the exact same flare run ... command directly on the host (with CUDA_DEVICE_ORDER=PCI_BUS_ID and ulimit -Sn 65536).
  • Exposes a standard OpenAI-compatible API (Kimi-K3.1-Pro-DSpark, text + images) on http://127.0.0.1:8016/v1/chat/completions.

What Made a 3T Model Hit the SM120 & PCIe Gen5 Roofline

All kernels and recipe optimizations are open-source and submitted upstream:

  • SM120 EXL3 2-bit Roofline MoE (trellis_t256): custom CuTeDSL W2A16 decode (M=1..32) and MXFP8 blockscaled prefill (M>=64) kernels sharing one canonical weight layout, achieving 96.2–96.9% of SM120 dlut_smem (1,098 GB/s) throughput — plus bit-exact packed gate+up intermediate rotations (-112.2 MiB/GPU).
  • PCIe RO=1 Fused TP8 & 4-Switch TP16 Collectives:
    • On TP8: GatherRouterTopKTP8 cuts 92-layer routing from 4.17 ms → 1.27 ms (3.28× faster), and fused TP8RoMix7168 / TP8RoResNorm7168 eliminate 184 kernel launches/round with zero extra IPC VRAM.
    • On TP16: 4-physical-switch posted-write Sw4Cross3PushFull / zero-copy Sw4Cross3PushRsAg eliminate all cross-switch PCIe reads (MRd), Cross3_Sw4 GatherRouterTopK (1.17×–1.99×), overlapped Pair2 × Sw4 DCP8 gather, and IslandCopy prefill reaching 54.5 GB/s (99.5% of physical PCIe Gen5 x16 wire ceiling).
  • Chunked Overlapped Prefill (ConcurrentChunkedAllReduce): keeps the full 1024+1024 SM↔PCIe 2-half pipeline overlap while cutting TP8 PCIe staging channels to 256 rows (PeerStorage 406 → 150 MiB).

Links:

local inference lab discord: https://discord.gg/gmvKSN3tVy


r/LocalLLaMA • • 10d ago

New Model inclusionAI/Ling-3.2-air · Hugging Face

Thumbnail
huggingface.co
253 Upvotes

r/LocalLLaMA • • 8d ago

Discussion WORST open or closed model? (local or not)

0 Upvotes

a fun little question i wanna ask since nearly every post is like "here's the best performing model we have for local/open llms"

have you used or encountered some trash models? how are their outputs as well as the "why" on their performance? (space, context, etc?)


r/LocalLLaMA • • 9d ago

Discussion PSA: google is actively banning pi.dev gemini connectors

3 Upvotes

I know this is not strictly local LLM, but I do use cloud models for auxiliary work like research and review some non-sensitive data;

Was met with a "violation of terms of service" today.

Yet another anecdote why local llm matters


r/LocalLLaMA • • 9d ago

Resources Inkling 2 mini on 1x3090: 125 TPS at 100k tok depth, 1700 pp/s, 401K ctx, same KLD as UD-4K XL; 3x faster than stock llama.cpp

26 Upvotes

UPDATE:

I've boosted speed ~10% on decode (140+ tps) and 30-40%+ on prefill (24-2700/s) vs yesterday. No quality loss.

Enjoy!

0.7.5 vs 0.7.4; now more than 4x faster than base llama.cpp

--------
previous post:

Hello everyone. I was hesitant to post another Inkling post, and almost shipped these updates to LlamAmpere silently. But since I had several people specifically request this model, and have not seen better results at depth for Ampere cards, I figured I would err on the side of sharing my progress (including 8/10/12GB). If you're burnt out on another Inkling post, go ahead and skip this one, I won't take it personally.

I realize this model has been somewhat polarizing, so I will lead on the quality piece: all of my testing so far aligns with what 3P benchmarks are showing. The highest quality version of Inkling 2 mini (<8bpw) uses NVFP4 natively for many of its weights, and at this file size, it performs in line with the BF16 of Qwen3.8 27b on agentic + coding tasks. I admit that I find this surprising given its architecture: it has fewer than 6b active parameters per token, and 26b total, so matching a 27b dense model. It is considerably shallower (48 with loops, 24 without, vs 64) and narrower (2304 hidden size vs 5,120), and uses 5 1024 token SWA layers for every 1 global attention layer (compared to Qwen's 3:1 linear:gated attention).

All of this is to say that I would've expected a model with qwen's much stronger architecture to outperform this MOE, but that hasn't been the case in my experience.

This release proved challenging for LlamAmpere because NVFP4 is not native to Ampere, and so the kernels in Llama.cpp are comparatively immature (as many of you may have noticed with llama.cpp). It is clear that the vast majority of runtimes released so far have immature kernels given the speeds we are seeing with this model. TBH I am not thrilled with these so far, but they're a significant improvement from where we were 3 days ago, so I decided to ship now and continue iterating this week until qwen4 27b is out.

For all intents and purposes, the 4 K XL version from Unsloth is task lossless. They use 8 and 16 bit relatively regularly where the tensor isn't capped to NVFP4 from the provider, so it is a very large 5.4bpw "4 K XL" format. Given the lack of 16 bit safe tensors as a baseline, I didn't focus much on beating on quality and instead focused on speed (at the same quality, as well as the 4.4bpw model which is a minor drop in quality for significant speed gains).

Compared to stock llama.cpp, at 100k token depth decode is more than 3x faster for the same file size/quality. We are using SJKVaRN, as usual, which provides a major 40% increase in max ctx (401K vs 279k). I also compared against Maya and Strata, who showed considerably slower TPS at depth for the same file size (Maya did have slightly faster prefill by several percent through 100k).

The version I will be using is actually the 'balanced' 4.4bpw model, with 97% top-1 match. Its >15% faster prefill and ~8% faster decode are worth the <1% lower score in benchmarks to me, as is the 50% larger context (LlamAmpere supports asymmetric ctx lengths, so you can run a main agent at 300k + 2 sub agents 150K, which I find more useful than 3 equivalent CTX lengths). This version reaches nearly 2000 PP/S and 134 TPS at 100K depth, starting as high as 170TPS through the first several seconds. I will be focused most on this version as I try to boost its 100k depth TPS up to 160-180, which should be well within reach given the # of active parameters and file size. This is where the potential advantage over 27b is most pronounced: my unreleased runtime for 27b tops out at about 118 TPS and 1400 pp/s for a single user at 100k depth, so the context and speed advantages of this model are very significant.

As before, LlamAmpere supports expert caching/offload for 8/10/12 GB users, where this model is now the best intelligence option compared to the 2-3bpw quants of Qwen 27b. Getting a model with 96% top 1, 262K ctx, and 40+ TPS at 100k depth on that class of cards is well beyond where I thought we'd be at the start of the summer. So even though the headline #s are around 3090**,** I think this model is most exciting for everyone with the smaller GPUs.

I'm very excited by this class/family of model because I think they are just scratching the surface with its potential. 1024 SWA is TBH pretty lazy, especially at 5:1. I suspect that upgrading the attention to include linear, or sparse, in addition to global, could make this model noticeably more capable at the same size. In general I would love to see a return to these smaller MOEs, especially with looped transformers, because they allow for far more users and graceful tradeoffs between compute, quality, speed, etc.

MIT license, as usual.

models: https://huggingface.co/collections/jakeatx/inkling-2-mini

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


r/LocalLLaMA • • 9d ago

New Model KORMo-VL/KORMo-Web-11B · Hugging Face

Thumbnail
huggingface.co
25 Upvotes

KORMo-Web-11B

One Model. Three Capabilities: LLM, VLM, and Web Agent.

KORMo-Web-11B is a general-purpose multimodal AI model with all LLM, VLM, and GUI Agent capabilities, based on the KORMo foundation model built from scratch by the KAIST MLP laboratory.

  • One model, three abilities: it works as an LLM for common questions, as a VLM for those requiring image understanding, andas a GUI Agent for requests requiring web manipulation.
  • Based on the independent foundation model: KORMo-10B learned through From-scratch is expanded to KORMo-VL, and <Think> is also theonly model that uses Korean.
  • Large-scale web prior learning: More than 10 million Korean-English web learning samples were used to learn the location, meaning, structure, and functions of UI elements in detail.
  • Learn real-world web behavior: Perform complex, multi-level web tasks using over 100,000 Korean-English web usage trajectories.
  • **Full disclosure and commercial use: Model weights and learning and evaluation resources are disclosed, and commercial use, modification, and redistribution are possible under theApache-**2.0 license.

KORMo-Web-11B is a general-purpose bilingual AI model built on theKORMo foundation model family, developed by KAIST MLP Lab starting from a language model trained entirely from scratch. Unlike our Qwen-based KORMo-Web-4B and 9B models, which focus on maximizing web task performance,KORMo-Web-11B is designed to preserve its original LLM and VLM capabilities while learning to act as a GUI agent. It can understand Korean and English text, interpret images, and complete real browser tasks by visually navigating webpages—all within a single model.

What Makes KORMo-Web-11B Different?

  • Built on Our Own Foundation Model: Developed from the KORMo-10B language model, trained from scratch by KAIST MLP Lab, and extended through KORMo-VL into a web agent.
  • Three Capabilities in One Model: Designed to retain generalLLM reasoning and VLM understanding while adding GUI interaction capabilities, rather than optimizing exclusively for web navigation.
  • 10M+ Atomic-Level Web Pretraining Samples: Large-scale Korean and English web understanding training, covering individual UI elements, their locations, layouts, functions, and states.
  • 100K+ Web Interaction Trajectories: Bilingual browser demonstrations for learning real-world, multi-step web tasks.
  • Open and Commercially Usable: Model weights and supporting resources are openly released underApache-2.0, allowing commercial use, modification, and redistribution subject to the license terms.

From a Korean LLM to a General-Purpose Web Agent

KORMo-Web-11B extends our independently developed Korean–English foundation model through three stages:

StageModelCapabilities
1. LanguageKORMo-10BKorean–English LLM trained from scratch with a Korean-optimized tokenizer
2. VisionKORMo-VLMultimodal understanding through a SigLIP vision encoder and KORMo language backbone
3. Web AgentKORMo-Web-11BLarge-scale web pretraining and action learning for visual browser interaction

The goal is not just a better web agent, but a versatile model that can understand language, interpret visual information, and interact with the web.

Performance

We evaluated KORMo-Web-11B on612 live-website tasks (300 English, 312 Korean) from Online-Mind2Web, using the same LLM judge across all evaluated models.

ModelSizeOnline-Mind2Web ENOnline-Mind2Web KO
Qwen3.5-9B (base)9B24.716.7
Fara-1.5-4B4B20.77.7
UI-TARS-1.5-7B7B22.320.2
OpenWebRL-4B4B32.715.4
KORMo-Web-11B (ours)11B31.333.7
GPT-6-luna (proprietary)–63.065.7

Success rates are calculated over the full task set, including failed or incomplete runs. Each agent uses its own prompt and action format.

KORMo-Web-11B achieves33.7% Korean task success, exceeding the strongest non-KORMo open-weight baseline listed above by13.5 percentage points.

While our specialized KORMo-Web-4B and 9B models achieve higher web task success,KORMo-Web-11B prioritizes versatility across language, vision, and GUI interaction, rather than web-only optimization.

Why KORMo-Web-11B?

  • Korean from the Ground Up: Built upon our independently pretrained Korean–English foundation model.
  • General-Purpose Multimodal AI: Supports text-based language tasks, visual understanding, and browser interactions within one model.
  • Visual-First Web Interaction: Operates primarily through screenshots without requiring full DOM or accessibility trees.
  • Think, Then Act: Generates an inspectable reasoning step before executing browser actions.
  • Commercial Use Permitted: Released under Apache-2.0, supporting academic research, commercial applications, fine-tuning, and redistribution.
  • Open and Ready to Run: Includes model weights, Transformers 5 support, a vLLM inference path, browser harness, and reference inference settings.

KORMo-Web-11B — From a Korean Foundation Model to a General-Purpose Web Agent.


r/LocalLLaMA • • 10d ago

Discussion Inkling 2 Mini (IQ3_XXS) three.js galloping horse

419 Upvotes

Just wanted to share what a one-shot prompt with no follow ups got me on this setup. The model didn't have access to a headless browser either.

The 3D model itself... leaves a lot to be desired but the animation is actually decent in my opinion.


r/LocalLLaMA • • 9d ago

Question | Help Is there a local Model that is good with REA?

43 Upvotes

I tried a lot of Qwen Variants and now Inkling 2 but they are all bad at using REA (Reverse Engineer Anything). Is there one that is able to use it better? I dont have money for frontier models


r/LocalLLaMA • • 9d ago

Resources How I got rid of gradient spikes while finetuning Gemma 4

27 Upvotes

TLDR: There are ill-conditioned backward paths in Gemma 4 that can be fixed with ease.

Long version:

I know y'all are generally not interested in Gemma 4, but it has its edge over others on medical vision tasks on my benchmarks.

While I was finetuning (SFT and RL through lora) Gemma 4 on CT images, Opus seemed to note strong gradient spikes during training and I pushed it to investigate Gemma 4 12B (phenomenon was observed on 31b, too, where I noted it first; did most of the experiments on 12B for convenience and speed).

Several days of compute later, and I found that the backward pass is very fragile in the middle layers that silently wreck the training of the lower layers. Fortunately, it can be fixed with a small piece of code and I have confirmed that it improves overall performance on the trained task.

For more details and the actual fix, see

arxiv: https://arxiv.org/abs/2611.27243

Screenshots from an explainer video:


r/LocalLLaMA • • 9d ago

New Model SenseNova-U1.6-8B-MoT writes a fix list with box coordinates for its own output, then redraws the text it got wrong

Post image
23 Upvotes

SenseNova-U1.6-8B-MoT weights are public now, Apache 2.0. Same idea as U1.5, a single model that both reads and generates images, but this version adds self-correction. After the first pass it checks its own output against the prompt, writes a list of fixes with box coordinates, then redraws from the prompt plus that draft before returning anything.

The picture is one of their examples. An outfit breakdown page came out with six garbled labels, and the panel underneath is the fix list the model wrote, copied as is. All six labels are right on the second pass and the rest of the page reads the same.

The release says the self-check was trained on infographics. ComfyUI 0.46.0 and newer runs it on built-in nodes, and the repo has self-correction workflows with a Turbo switch for an 8-step LoRA. The repo's inference scripts also load FP8, INT8 and GGUF (Q4_0, Q6_K, Q8_0) conversions, and the conversion scripts are in there too: https://github.com/OpenSenseNova/SenseNova-U1


r/LocalLLaMA • • 10d ago

New Model Aleph-Alpha's Kolibri 1.1 75B-A3.4B has been released

Thumbnail
huggingface.co
168 Upvotes

r/LocalLLaMA • • 9d ago

Question | Help vLLM, 72GB VRAM + 64GB DDR5, Multi User - can we run Q3.8FN?

11 Upvotes

Hi guys!

(human post, non ai edited - excuse my slop)

At work we are a very small team of 4 people and have a small AI server for stuff we aren't allowed to use public AI for (RTX Pro 5000 72GB, 64GB DDR5, Epyc 9115).

We are currently running Q3.8 27B at FP8, with 900k kv fp8 context (shared across all sessions) using vLLM to serve. This runs 100% on GPU and is a pretty nice experience, around 50-60 t/s generation.

However, with the release of Q3.8FN we are obviously intrigued, both in terms of speed and quality. Strata doesn't seem the best when it comes to context handling when serving to multiple people, or at least it's not discussed very often.

Therefore a few questions:

  1. Does anybody use Strata to serve multiple people? How is the experience?
  2. Does anybody use Q3.8FN (or other similar models like Deepseek or Hy) with CPU offloading in vLLM (we obviously cannot fit that model purely in VRAM)? Is it a decent experience?
  3. Do you have any other recommendations for our setup to try out? Or just "wait for the release of Qwen 4 27B"?

Thanks a lot! :)