TensorSharp hits 2x llama.cpp decode throughput on GLM-5.3-Flash
fuzhongkai · reddit · 2026-08-29
Benchmarks of GLM-5.3-Flash (unsloth GGUF UD-Q2KXL, 101GiB, dual GPUs) comparing TensorSharp vs llama.cpp (PR #27754, CUDA 12.8):
- Prefill is a wash: pp2048 2070 vs 2014 t/s; pp32768 1483 vs 1446 t/s.
- Decode doubles: tg64 73.5 vs 36.6 t/s (2.01×); 40.9 t/s after a 17.7K-token prompt, 28.2 t/s after 36K.
- Weights load in 17s from warm cache; CPU-MoE offload (first 10 layers' experts host-resident) decodes at 35–40 t/s.
The 2× comes from a shape-keyed LRU graph cache that replays CUDA-captured graphs instead of rebuilding per token — GLM's 34 KDA layers plus hyper-connections make per-token graphs deep in small ops, exactly where rebuild overhead hurts. Prefill is GEMM-bound, so both engines land within a few percent.
More from Infra
- Which free local AI model to download for your GPU, from 6GB to 24GB VRAM — alex_verem · 2026-11-30
- tqLLM 1.9.0: C++ LLM engine claims 4.6x Strata on 16GB, adds AMD RX 580 support — pmttyji · 2026-11-30
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30
- Air New Zealand to offer free Starlink Wi-Fi across entire fleet by end of 2028 — elonmusk · 2026-11-30