ShardFlow: 28 TPS on Qwen2.5-7B over WAN via speculative decoding
katua_bkl · reddit · 2026-08-23
The author presented ShardFlow, a distributed LLM inference framework achieving high performance over WAN.
- Architecture: Splits HF models across N GPU nodes and uses neural speculative decoding to offset WAN latency.
- Performance: Achieved 28.1 TPS peak (20.31 avg) on Qwen2.5-7B across two GCP regions (86ms RTT), 5x improvement over baseline.
- Key Optimization: Using CUDA Graphs to reduce 1500 kernel launches per round to a single driver call, cutting draft latency from 112ms to 25ms.
- Tech Stack: Zero-copy Rust TCP relay, StaticCache, in-place KV rewind, and meta-device model slicing.
Open source repository available.
More from Infra
- Google Colab hands users a G4 Blackwell GPU, user reports — MickeySteamboat · 2026-11-30
- 19 GitHub Actions Runner Providers Benchmarked: Speed and Cost, Updated Weekly — DanielLockyer · 2026-11-30
- Learn Inference: An Interactive Guide to Serving Generative Models in Production — attentionmech · 2026-11-30
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- Notes on 'Looking Back at Postgres': Extensibility, No WAL, Open Source — sh_reya · 2026-11-30
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30