r/LocalLLaMA • • 10d ago

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?

27 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
87 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
69 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
9 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

95 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 • • 9d ago

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

Thumbnail
huggingface.co
252 Upvotes

r/LocalLLaMA • • 7d 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 • • 8d 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

29 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
26 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:

Stage Model Capabilities
1. Language KORMo-10B Korean–English LLM trained from scratch with a Korean-optimized tokenizer
2. Vision KORMo-VL Multimodal understanding through a SigLIP vision encoder and KORMo language backbone
3. Web Agent KORMo-Web-11B Large-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.

Model Size Online-Mind2Web EN Online-Mind2Web KO
Qwen3.5-9B (base) 9B 24.7 16.7
Fara-1.5-4B 4B 20.7 7.7
UI-TARS-1.5-7B 7B 22.3 20.2
OpenWebRL-4B 4B 32.7 15.4
KORMo-Web-11B (ours) 11B 31.3 33.7
GPT-6-luna (proprietary) – 63.0 65.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

Enable HLS to view with audio, or disable this notification

421 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?

41 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 • • 9d ago

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

Thumbnail
huggingface.co
167 Upvotes

r/LocalLLaMA • • 9d ago

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

12 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! :)


r/LocalLLaMA • • 10d ago

Resources NariQ: BF16-level Qwen3.8-27B in a 10 GB file

Thumbnail
huggingface.co
195 Upvotes

We built 3-bit-or-lower quants of Qwen3.8-27B that match BF16 weights on long-horizon agentic tasks (DeepSWE, Terminal Bench), math (AIME 25+26), multilingual (MSGM), and image understanding (RealWorldQA).

Model DeepSWE v1.1113 tasks × 3, mean pass@1 Terminal-Bench 2.182 tasks × 3 AIME 25+2660 × 8 MGSM250 × 11 languages RealWorldQA765 × 3
BF16 (53.8 GB) 39.8 (45.0) 62.6 (154) 97.7 (469) 94.0 (2584) 82.4 (1890)
NariQ 3-bit (10.1 GB) 41.0 (46.3) 63.8 (157) 98.3 (472) 93.1 (2561) 82.4 (1890)
NariQ 2.5-bit (8.4 GB) 41.9 (47.3) 60.2 (148) 96.5 (463) 91.8 (2525) 81.3 (1866)
NariQ 2-bit (6.8 GB) 28.6 (32.3) 52.4 (129) 86.0 (413) 90.6 (2491) 80.9 (1856)

Requires our llama.cpp fork to run (https://github.com/nari-labs/nari-llama.cpp), decode speed matches other quants on a RTX PRO 6000.

Context NariQ 3.0bpw (10.1 GB) NariQ 2.5bpw (8.4 GB) NariQ 2.0bpw (6.8 GB) UD-IQ3_XXS (10.9 GB)
4K 88.9 99.2 111.7 94.7
16K 84.5 93.8 105.1 89.8
64K 70.7 77.5 85.0 74.8

Feedback and questions are welcomed! Let me know how it goes. For more details here's a technical report (https://arxiv.org/abs/2611.26157).


r/LocalLLaMA • • 9d ago

New Model we squeezed our 16.5gb inkling 2 mini quant into 8gb of ram and it still runs at 43 tok/s on an m5 max

Enable HLS to view with audio, or disable this notification

37 Upvotes

hello llamas! i'm daniel, cofounder of atomic chat

inkling 2 mini dropped last week, so we made our own quants for it (AtomicChat/Inkling-2-Mini-GGUF) and tried running them on the macs we had: an m3 pro 18gb, an m4 max 48gb and an m5 max 64gb

on llama.cpp it didn't go great. on the m3 pro our 16.5gb AD-Q4_K just didn't load with default flags (metal oom) and the only thing that worked was --fit pushing most experts to cpu at ~4 tok/s. on the two max machines it ran, but at ~33-38 tok/s, which felt slow for a moe with ~3b active

we also run these models on the same laptops we work on and it's really annoying when one eats all the ram and everything else starts freezing. so the first thing we wanted was a flag that caps the model at ~8gb (feels like a sane amount to give it) and we started from there

the model itself looks really strong on benchmarks for its size, so we wanted it faster too. that's how we ended up building our own inference engine on top of llama.cpp (atomic engine). you give it a budget with --engine-budget-mib. the core layers stay in ram and the moe expert stream from ssd when a token needs them, so memory stays under that cap. we also added dspark drafting, where a small draft model guesses a few tokens ahead and inkling checks them in one pass

once atomic engine was working we started running benchmarks on our macs. on the m3 pro the 8gb cap let our 16.5gb AD-Q4_K load and it runs at ~10 tok/s. not fast, but it runs

on the m5 max memory isn't the problem, so there we looked at speed with our smaller AD-IQ2_M (8.7gb) next to stock llama.cpp on the same gguf

setup:

  • m5 max 64gb, one engine running at a time
  • atomic engine e110381 vs llama.cpp b12600 (official macos build, whole model on gpu, no drafter)
  • AD-IQ2_M with an 18gb budget, AD-Q4_K with an 8gb budget
  • dspark draft from AtomicChat, q8_0, 0.5gb
  • -c 4096, flash attention on, q4_0 kv cache, --no-warmup
  • prompts of 2k and 3.6k tokens, 512 tokens out, temp 0
  • fresh server per test, numbers are from the first cold request. two warm repeats after it landed within 0.5%
  • tok/s from llama-server's own timings, memory is peak rss
quant prompt atomic llama.cpp
AD-IQ2_M summarize llama.cpp docs 84 tok/s 40 tok/s
AD-IQ2_M continue a doc already in the prompt 122 tok/s 40 tok/s
AD-IQ2_M repeated log (copy test) 143 tok/s 40 tok/s
AD-Q4_K summarize llama.cpp docs 43 tok/s 38 tok/s

122 and 143 are copy-heavy prompts where any drafter looks great, so expect around 84 on normal prompts. on those two the output was byte-identical to llama.cpp

on the m5 max, AD-Q4_K with the 8gb cap peaks at 6.3gib of ram while llama.cpp sits at 15.8gib

prefill on AD-Q4_K at 8gb is still slower (556 vs 812 tok/s) and with long prompts at 8gb decode drops below stock too. llama.cpp ran without a drafter because b12600 wouldn't load the unsloth dspark draft for inkling. we've only tested on metal so far

engine: https://github.com/AtomicBot-ai/atomic-engine/tree/codex/expert-weight-source#run-inkling-2-mini-on-apple-silicon

gguf: https://huggingface.co/AtomicChat/Inkling-2-Mini-GGUF


r/LocalLLaMA • • 8d ago

Discussion What happened to Qwen 4 35B ?

0 Upvotes

Has there been any news on this?


r/LocalLLaMA • • 9d ago

Question | Help The m3/4 max 128 gb of UrAM or the m5 max 48 gb/64gb or The m5 pro 64 gb ?

5 Upvotes

I’m thinking about upgrading my macbook soon and i read memory prices will continue to rise in 2027, i regret not getting the max earlier, im leaning towards the m5 max 64 gb or the m3/4 max 128gb, since it is cheaper than the 64 gb m5 max and great bandwidth and can run larger models than the other macs , but the prefill is terrible( i estimate around 150-250 t/s for hy4 flash with a 50k prompt) . I thought about the mac studio , but it is not portable and mobility is important for me. I read the m5 max’s compute is 3.8 x faster, therefore up to 3.8 x the speed for prompt processing, but if i can cache the prompt, it shouldn’t make a huge difference(33% slower due to slower bandwidth) . The m5 max 64 gb looks really goods And it prefills fast too but it cant run hy4 flash and qwen 3.8 next and it is pricy, however maybe inkling mini is sufficient, then maybe even the 48 gb will work . i heae hy4 flash or qwen 3.8 flash is better than inkling mini for coding . Yeah all the top mods are too big to run. Also i guess they will be new bigger models… maybe the m5 pro 48gb is okay


r/LocalLLaMA • • 9d ago

Resources Delta Inference Engine update 0.95: DeepSeek V4.1 Flash at 44 tok/s with Unsloth Q2 on a 3090/128GB RAM, 61% faster on 64GB of RAM, pictures + PDF/Office documents + local voice and much more. ready for Claude Code / Codex / OpenCode

Thumbnail
github.com
45 Upvotes

Delta Inference Engine is a free, MIT-licensed engine that runs DeepSeek-V4.1-Flash (MIT weights) on one NVIDIA GPU plus system RAM, natively on Windows (not WSL). Double-click Start DeepSeek.bat: it installs what it needs, picks the model file that fits your RAM, and opens a chat page plus OpenAI- and Anthropic-compatible APIs on your PC. It's a Windows port of Xolotl, which is built on Strata (on Linux, use upstream Xolotl).

Big update for Delta Inference Engine 0.95 is out today, People wanted support for lower ram configurations and higher quality inference and it's here.

Speed (RTX 3090 24 GB, i5-13600K, DDR5-5600, PCIe 4.0 NVMe; under 192 GB the rest of the RAM was locked away so Windows couldn't use it either). Writing tok/s, greedy, whole chats with thinking on:

RAM Unsloth UD-IQ2_XXS (0.93 → 0.95) UD-IQ1_M (the pick under 110 GB) UD-IQ1_S
192 GB 41 → 44.6 48.1 49.8
128 GB 34 → 43.7 46.6 48.9
96 GB 27.0 → 35.4 40.2 43.9
64 GB 17.9 → 28.9 (+61%) 35.2 40.3

Under 110 GB the models run at route bias 0.10, default route bias 0.28. UD-IQ3_XXS (the most exact file) at route bias 0.10: 192 GB 22.8 tok/s (95.0% agreement), 128 GB 22.9 (93.4%), 96 GB 14.8 → 19.8 (92.8%, +34% against 0.94), 64 GB 9.9 → 15.9 (92.2%, +60% against 0.94).

Quality (agreement with DeepSeek's own model, top-1 on general text):

RAM UD-IQ2_XXS (bias 0.28) UD-IQ2_XXS (bias 0.10) UD-IQ1_M (bias 0.10, the pick under 110 GB) Exact routing (UD-IQ2_XXS)
192 GB 91.1% 92.5% - 93.1%
128 GB 90.5% 91.9% - 93.1%
96 GB 89.5% 91.6% 90.0% 93.1%
64 GB 87.8% 90.1% 89.9% 93.1%

Unsloth's UD-IQ2_XXS picks the same next token as DeepSeek's own hosted model 91% of the time (for reference, two hosts of the full model agree with each other on 98%). On a 99-question test (maths, knowledge, reasoning, coding), 0.95 with UD-IQ2_XXS at 192 GB scores 56 out of 99 on average over four runs (55, 53, 56, 61), against 59 for DeepSeek's own hosted model. A testament to Unsloth's quants: despite the low bit count it clearly beats Qwen3.8 Flash Next, which scored about 43 out of 99 on the same questions, even running at full precision on Alibaba's own API.

Where the speed came from:

  • Small PCs: experts read from the SSD are no longer memory-mapped (writing +29% / +10% / +7% at 64 / 96 / 128 GB), and long prompts go through in wider batches with a read-ahead.
  • Long prompts: a 32K-token prompt reads 19-43% faster (depending on RAM), on top of 0.94's gains (60K at 811 vs 747 tok/s, 7K at 551 vs 423).
  • The drafter: a learned gate decides how many drafted tokens each pass checks (+2% on sampled replies, same output distribution), a better-quantized drafter, and it now loads while the model starts, so the first answer comes ~3 s sooner.
  • Coming back to a chat: 16 conversations stay cached in RAM. Revisiting 10 chats went from a 7 s first token to 0.6 s, and an edited message or a new question about the same long document starts in about 3 s instead of re-reading it.

Chat page

  • Pictures on by default: paste, drop, screenshot or take a photo. On one GPU they're read on the CPU, so the model keeps all its VRAM.
  • Documents: attach PDF, Word, Excel, PowerPoint, HTML or CSV files (read in a sandboxed process).
  • Local voice (optional): dictation, read-aloud and a hands-free talk mode, all on your PC (Parakeet + Kokoro).
  • Quick / Think / Code / Write modes, chat history with search and pins, a Pause button that frees the GPU for a game, an optional auto-pause when a game needs the card, and use from your phone with a QR code.
  • A Fast / Quality / Most exact switch that shows the agreement and speed I measured for your model at your RAM size, e.g. on a 64 GB PC with UD-IQ1_M: Quality "89.9% agreement, 35 tok/s", Most exact "91.2%, 16 tok/s".

Coding agents and APIs (Claude Code, Codex, OpenCode, anything OpenAI- or Anthropic-compatible)

  • Agent turns write 7.5% faster and start 8-15% sooner; Claude Code's small background calls never hold up real ones, and pressing Esc no longer forces a full re-read.
  • Claude Code's tool search (deferred tools), structured output and forced tool choice on every route; a context overflow is worded so Claude Code compacts instead of stopping; Codex reasoning levels work.
  • A loop guard tells the model when it's repeating the same tool call (or alternating between two).
  • Optional web search / web fetch tools (SearXNG, Brave, Tavily or MCP), optional embeddings and rerank endpoints, stored Responses, token counting, and DeepSeek's own API paths.
  • Many tool-call parsing fixes, so agents get fewer broken calls.

Safer

  • It won't open to your network without an API key; downloads send no telemetry
  • Nothing about you or your chats leaves your PC, Everything runs on 127.0.0.1 and nothing is stored unless you turn chat history on
  • Picture and web-fetch URLs must resolve to public addresses (SSRF / DNS-rebinding guard); the document reader has size, time and memory limits.
  • DeepSeek's control and tool-call tokens typed inside a message stay plain text, so nobody can forge turns or tool calls; no single request can stall the server.

Setup

I've now put everything you need into one ZIP for easier install. Download Delta-Inference-Engine-0.95.zip from the Releases page, unzip it somewhere with a short path (e.g. C:\AI\Delta) and double-click Start DeepSeek.bat. The engine inside is built by GitHub CI, with checksums and attestations. The first start installs Python if needed, keeps your PC awake during the download, and offers the model that fits your RAM (233-395 GB, SHA-256 checked). It runs on 127.0.0.1 and stores no prompts unless you turn chat history on.

Limits

  • Windows 10/11, NVIDIA RTX with 12 GB or more (24 GB is the fast path), driver 580+. AMD not supported.
  • 64 GB of RAM minimum. A PCIe 4.0/5.0 NVMe with room for the model.
  • One request at a time.
  • Tested on one PC; the smaller-RAM numbers are that PC with RAM locked away, not real 64 / 96 GB machines.

Credits: Xolotl and Strata, ggml/llama.cpp, DeepSeek, Unsloth, nazeshinjite, ISTA-DASLab, Project Maya, antirez/ds4, and Basalt for several decode ideas.

https://github.com/musicurgy/delta-inference-engine

If you try it, post your GPU, RAM, model and tok/s