DeepSeek V4.1 Flash on 8Γ A40: ~40 tok/s Q2_K and ~32 tok/s Q4_K_M with TensorSharp
r/LocalLLaMA
September 12, 2026 at 01:57 PM
π Hey everyone β Iβm building TensorSharp, an open-source LLM inference engine. Here are the latest DeepSeek V4.1 Flash GGUF results using its native ggml_cuda backend. Setup: 8Γ NVIDIA A40, layer split, F16 KV cache, 65,536-token configured context. Prefill measurements use approximately 4.9K-token promptsβnot the full context window. Final optimized results β all speeds in tokens/sec: Metric |Q2_K |Q4_K_M Prefill |533β539 |451.8β492.1 Single-request decode |40.31β40.72 |31.0β32.5 Decode, 2 co...
Hey everyone β Iβm building TensorSharp, an open-source LLM inference engine. Here are the latest DeepSeek V4.1 Flash GGUF results using its native ggml_cuda backend.
Setup: 8Γ NVIDIA A40, layer split, F16 KV cache, 65,536-token configured context. Prefill measurements use approximately 4.9K-token promptsβnot the full context window.
Final optimized results β all speeds in tokens/sec:
Metric |Q2_K |Q4_K_M
Prefill |533β539 |451.8β492.1
Single-request decode |40.31β40.72 |31.0β32.5
Decode, 2 concurrent requests β total |β |39.3
Decode, 4 concurrent requests β total |β |48.9
Decode, 8 concurrent requests β total |β |48.5 β = not reported in the cited final Q2_K retest. Concurrent figures are aggregate throughput, not per-request speed.
What made the difference:
- Q2_K: Keeping the ~60 GiB quantized Engram tables on GPUs removes storage-dependent lookups. Unifying the backend per GPU also cuts decode graph splits from roughly 570 to 8, reducing synchronization overhead.
- Q4_K_M: The larger Engram tables stay in host memory. Automatic warming, tighter VRAM budgeting and token-batched decode deliver ~1.9Γ prefill and ~2Γ four-request throughput versus the previous behavior. Only 1 of 40 layers keeps its routed experts on the CPU.
- More parallelism isnβt automatically faster: On this no-NVLink system, Q4_K_M layer split beats experimental routed-MoE tensor parallelism: 31β32.5 vs. 21.4β22 tok/s single-stream decode.
These are project-reported throughput measurements, not cold-start timings or a head-to-head win over another engine. Numerical/model-quality parity remains unproven, and batching can change generated output.
[link] [comments]
Read the full article at
r/LocalLLaMA
More in Models & Releases
Models & Releases
NVIDIA Unveils RTX PRO 5500 "Blackwell" Workstation GPU with 84 GB GDDR7 Memory
submitted by /u/Lumpy_Phase_9539 [link] [comments]
What happened to AI browsers?
AI browsers were supposedly going to kill Chrome/Safari, and help people quickly buy stuff, book tickets etc. at reasonable prices while avoiding ads. That was such a great sales pitch, but it has been just radio silence from then on. Ar...
[Bi-Weekly Megathread] Project Showcase
Do you have something you'd like to share with the r/LocalLLaMA community. This is the place for it! Recommendation on presentation: Please share plain english description of what your project does and why people should care about it Ho...