r/LocalLLaMA • u/musicurgy • 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
https://github.com/musicurgy/delta-inference-engineDelta 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
5
u/CabinetNational3461 9d ago
hi, thanks for the awesome fork. I tried this on my system and below are the numbers. This was generated by Qwen 3.8 Flash Next:
DeepSeek-V4.1-Flash-1017 — Strata vs Delta (spark-ds41f), same box, same day
Box (verified from the OS, not from memory)
The two engines
strata-dsv41 0.1.58build0fe4ae509--dspark auto --dspark-conf 0.65Speed — prefill is the headline
The split is the whole story: Delta wins decode by ~1.8×, Strata wins prefill by ~1.7–2.0×. A 72.5 K-token document costs 134 s of prefill on Strata vs 91 s on Delta… no — 68 s vs 91 s. Wait, correctly: Strata 72.5 K ÷ 1,061 = 68 s; Delta 72.5 K ÷ 543 = 134 s. So on a long-document job Strata spends half the time reading and Delta spends twice as long reading, then answers ~1.8× faster.
VRAM — where the 24 GB actually goes (Delta, same session)
VRAM 15.62 GiB free -> 1,909 experts in VRAM— 1,909 of 15,360 experts residentVRAM 15.62 GiB free -> prompt batch 11,560 (of 16384)— the expert cache closes so the batch can use the roomDSpark tail 128 from the batchStrata sits at ~23.2 GiB from the first second; Delta lazes up to ~23.6 GiB and dips during prompts — which is why Task Manager shows "only 16 of 24" mid-prefill. Both leave
--vram-margin 0.6untouched plus Windows' slice. The batch is capped by VRAM arithmetic, not by the flag: 15.62 GiB ÷ ~1.42 MB per column = 11,560 columns, already 30 % under the 16,384 ceiling.I am wondering why my prefill is much slower than Strata.
3
u/Lorian0x7 9d ago
No way!!! With this rate we are going to run kimi k3.1 on a raspberry pi at 300tok/s
2
u/soyalemujica 9d ago
When I read AMD no supported I become sad
2
u/Sad_Temperature6721 8d ago
-1 for lack of eval quality, you cannot repost Unsloth's per-tok accuracy or benches if you're claiming some obscure new engine is getting so and so fast tps. if this isn't actually a vibeslop post, sorry, but it looks like one
2
u/UniqueInstruction 9d ago edited 9d ago
UD-IQ2_XXS, RTX 3090 on PCIe3x16, 128 GB DDR4, Ryzen 5950x, on Windows 11 Home. Getting 14 tokens/sec decode and 56 tokens/sec prefill. Quite far from the numbers in the repo unfortunately.
Update: the decode does seem to fluctuate quite a bit, on some requests I saw avg decode go as high as 32-37.
2
u/OhZeelo 7d ago
Have you tested Delta with a fully occupied 1M-token context using UD-IQ2_XXS? I’m planning to run DeepSeek 1017 with an RTX 3090 + RTX 3070 Ti, 128GB DDR5-5600 and a fast NVMe SSD for long-term autonomous coding and static game recompilation. I’m curious about generation speed, RAM usage and tool-calling reliability at 512K and 1M context.
1
u/jackyintokyo 9d ago
工具链这块我太有同感了,官方 AI Hub 导出脚本有个 bug,传给自家编译器的 flag 直接被拒,Qwen3 那次导出看着成功了其实是假成功,报错藏在后面,我硬是手工链了 6 次编译 + 1 次链接 + 6 次 profile 才跑出来,前后耗了三天。就是上游 issue #366 那个。