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
- Singapore launches server powered by living human brain cells with 100x energy efficiency — evilsocket · 2026-08-23
- Best Practice for Building AI Production Systems: From Inference to Deployment — _ScottCondron · 2026-08-23
- Codex Rate Limits Breaking Existing Workflows, Real Token Costs Incoming — StewartalsopIII · 2026-08-23
- Cursor Launches S3-Based Git Storage System for Scale — bibryam · 2026-08-23
- Qwen 27B NVFP4 on RTX 5090: 120 t/s with vision and 451K cache — t4a8945 · 2026-08-23
- PromoteOps: MCP Server for Automating AWS CloudFormation Promotion — iamthanoss · 2026-08-23