build stringclasses 9
values | layout stringclasses 2
values | ubatch int64 2.05k 2.05k | threads int64 16 16 | ctx int64 328k 328k | prompt_tokens stringclasses 5
values | output_tokens int64 64 96 | page_cache stringclasses 1
value | samples stringclasses 3
values | statistic stringclasses 2
values | prefill_tok_s stringclasses 7
values | decode_tok_s stringlengths 5 13 | status stringclasses 6
values | notes stringclasses 6
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CHUNK3 (vcruz305 fork + chunked indexer) | 4-card -ts 19.5;21.5;0;0 + 8 GPU expert layers | 2,048 | 16 | 327,680 | 2000 | 96 | uncontrolled | 1 | single | 111.632142 | 11.514878 | baseline | null |
CHUNK3 | same | 2,048 | 16 | 327,680 | 30000 | 96 | uncontrolled | 1 | single | 107.625653 | 10.422715 | baseline | null |
CHUNK3 | same | 2,048 | 16 | 327,680 | 64000 | 96 | uncontrolled | 1 | single | 87.997085 | 10.760795 | baseline | null |
CHUNK3 | same | 2,048 | 16 | 327,680 | 2000 | 96 | uncontrolled | 3 | median | null | 11.214079 | control | default mmap loading |
CHUNK3 | same | 2,048 | 16 | 327,680 | 30000 | 96 | uncontrolled | 3 | median | null | 10.236334 | control | default mmap loading |
CHUNK3 + --load-mode none --no-host --no-repack (anonymous THP) | same | 2,048 | 16 | 327,680 | 2000 | 96 | uncontrolled | 3 | median | null | 15.824888 | rejected as default | decode +41%, but startup 37 s -> 330 s and uncached 2k prefill 17.9 s -> 30.9 s |
CHUNK3 + --load-mode none --no-host --no-repack (anonymous THP) | same | 2,048 | 16 | 327,680 | 30000 | 96 | uncontrolled | 3 | median | null | 13.697648 | rejected as default | decode +34%, uncached 30k prefill 277 s -> 381 s |
CHUNK3 + Xid 31 fix (run fix-a1) | same | 2,048 | 16 | 327,680 | 2000 / 30000 | 64 | uncontrolled | 1 | single | 111.25 / 112.31 | 15.81 / 13.42 | fixed | null |
CHUNK3 + Xid 31 fix (run fix-a2) | same | 2,048 | 16 | 327,680 | 2000 / 30000 | 64 | uncontrolled | 1 | single | 117.26 / 111.98 | 15.77 / 13.45 | fixed | null |
CHUNK3 unfixed (run base-a2) | same | 2,048 | 16 | 327,680 | 2000 / 30000 | 64 | uncontrolled | 1 | single | 115.52 / 111.86 | 15.63 / 13.92 | control | null |
CHUNK3 unfixed (run base-a1) | same | 2,048 | 16 | 327,680 | 2000 / 30000 | 64 | uncontrolled | 1 | single | 63.25 / 73.82 | 10.86 / 10.07 | excluded outlier | about 40% slower on every metric in the same hold; consistent with model pages evicted by the other model |
CHUNK3 dense sparse-attention path | same | 2,048 | 16 | 327,680 | 250003 | 64 | uncontrolled | 2+ | median | null | 6.873 | control | control-first order |
CHUNK3 + compact sparse attention (DEPTH) | same | 2,048 | 16 | 327,680 | 250003 | 64 | uncontrolled | 2+ | median | null | 10.384 | experimental | +51% vs dense in control-first order; +43% (8.486 vs 5.921) in reversed order; output token IDs identical |
PLI local LLM serving results
Published by PLI Labs, the open research arm of Proprietary Legal Intelligence. PLI builds AI systems around a legal organization's own work product, combining retrieval, staged workflows, validation, and attorney review. Visit proprietarylegal.ai to explore our work and discuss what your organization needs.
PLI Labs update 2026-10-27: our DeepSeek-V4.1-Flash on 2× DGX Spark work is now fully public — dsv41-offload (GitHub, every component with production, main and per-experiment branches), with focused repos for the measurement harness and sampled drafting. Status and lessons: 2026-10-27 post.
Measured speed and numerical-accuracy results for serving two large mixture-of-experts models, GLM-5.3-Flash (Q4_K_M GGUF) and DeepSeek-V4.1-Flash (MXFP4 GGUF), with llama.cpp on one server with four RTX 3090s and 503 GiB of RAM. Published by PLI (ProprietaryLegal.ai), which builds legal-workflow tools on locally hosted models.
The serving recipes, patches and method notes are in the companion GitHub repository Mermiges/pli-local-llm-serving. This dataset holds the same result tables in machine-readable form.
Hardware
AMD EPYC 7302P (16 cores, Zen 2, AVX2), 8 × 64 GB DDR4-3200 (503 GiB), 4 × RTX 3090 24 GB on PCIe Gen4 (three x16, one x8), no NVLink. Ubuntu 24.04, NVIDIA driver 580.126.20, CUDA 12.6.
Files
| Config | File | Rows describe |
|---|---|---|
glm53_speed |
results/glm53-speed.csv |
GLM-5.3-Flash prefill and decode tokens/s per configuration |
glm53_numerical |
results/glm53-numerical.csv |
KL divergence, top-1 agreement and perplexity against a CPU-expert reference |
deepseek41_speed |
results/deepseek41-speed.csv |
DeepSeek-V4.1-Flash prefill and decode tokens/s |
results/results.md explains every table in prose.
Headline results
GLM-5.3-Flash Q4_K_M, upstream llama.cpp 3d65c90d0, 16 routed-expert layers on the GPUs (A16),
ubatch 2048, 16 threads, F16 KV. Warm, cool-memory medians (n fresh processes), 400 greedy tokens,
measured 2026-10-11:
| Configuration | Prompt | Prefill tok/s | Decode tok/s | n |
|---|---|---|---|---|
| Baseline (ctx 65,536) | 2,000 | 186.59 | 17.48 | 3 |
| Baseline (ctx 65,536) | 30,000 | 178.18 | 17.18 | 3 |
| Baseline (ctx 66,560) | 64,000 | 159.58 | 16.59 | 2 |
| + built-in MTP, draft n = 2 | 30,000 | 174.84 | 18.68 | 3 |
| + built-in MTP, draft n = 2 | 64,000 | 149.65 | 15.72 | 2 |
| + DFlash2 drafter, n_max 4 (ctx 32,768) | 30,000 | 173.76 | 20.43 | 3 |
| A14, ubatch 1024, ctx 292,096 (long-context) | 30,000 | 99.06 | 16.54 | 1 |
The baseline placement passed the numerical gate against all-experts-on-CPU at the same ubatch: mean KLD 0.0014, same top-1 99.16%, perplexity 2.8612 vs 2.8605.
Correction (2026-10-11). The first version of this card gave 169.48 / 12.42 tok/s for the
30k baseline and +64% decode for DFlash2. That baseline was very likely slowed by hot memory:
on this machine DDR4 above about 70 °C cost about 28% decode (12.66 vs 17.41 tok/s for the same
2k configuration at 73–75 °C vs 61–64 °C). Against the cool baseline, DFlash2 is about +19% at
30k. Superseded rows remain in glm53_speed with status superseded-thermal.
Column conventions
page_cache:prewarmed= every model file was read to EOF inside the same lock hold before the server started;uncontrolled= measured before that rule, so the OS page cache state is unknown. Do not compare the two groups directly. On this machine the two models do not fit in RAM together, and page-cache eviction alone moved decode by 30–40%. Rows marked "cool" were also taken with the hottest DIMM at ≤ 64 °C at the start and ≤ 70 °C at the end.samples/statistic:medianis over that many fresh server processes;singleis one.- Prefill and decode rates are the server's own
prompt_per_secondandpredicted_per_second. - In
glm53_numerical, KLD and top-1 are over 8,190 scored positions (two 8,192-token chunks). Gate for ubatch ≥ 64: KLD ≤ 0.005, top-1 ≥ 98%, PPL within ±0.5%, reference at the same ubatch. Below ubatch 64 the gate is relative to the same build with the feature off (seeresults.md).
Limits
- All numbers are from one machine. Rows marked
uncontrolledand single samples are indicative only. - The EXL3 rows used a different prompt template and natural-EOS output lengths, so they are not a matched comparison with the llama.cpp rows.
- Perplexity is on one English text; it shows relative differences between configurations, not task quality.
- No legal evaluation data is included. Aggregate results of our private legal battery are in
results.md; in short, GLM-5.3-Flash failed the drafting fidelity check (with and without MTP) while passing tool calling 6/6 and long-document questions 7/7.
Licence
MIT. The model weights referred to here are not included and keep their own licences (the DFlash2 drafter is CC BY-NC-ND 4.0).
About PLI Labs
“Your proprietary work product is your proprietary intelligence.” PLI Labs is the open research arm of Proprietary Legal Intelligence. We publish legal model prunes, serving recipes for owned hardware, and open-source tools so readers can inspect our methods and test our claims before hiring us.
Founded by a practicing trial lawyer, PLI builds AI systems around a legal organization's own work product: retrieval, staged workflows, validation, and attorney review. The approach grew from systems running on live matters in a litigation practice. Our consulting work supports deployment through approved frontier APIs, private cloud, or open-weight models on hardware you own. Explore the research or contact us about your organization's work.
Website · PLI Labs · Research · GitHub · Hugging Face · Contact
Proprietary Legal Intelligence LLC is a technology consultancy, not a law firm, and does not provide legal services or legal advice.
- Downloads last month
- 75