Speed Hacks
Advanced optimizations to make inference blisteringly fast
3 modules6 lessons14 questions
01 KV Cache
02 Speculative Decoding
03 Frontier Speculative & Distributed Optimization
DFlash & DFlash-2: Diffusion Speculative Decoding
2 qStandard speculative decoding generates draft words one by one like a fast typewriter. DFlash uses diffusion to paint an entire 5-token candidate sentence block in parallel, speeding up generation by up to 3x! 🎨⚡
DSpark & Distributed Execution on Grace Blackwell
1 qDSpark is the traffic controller for clustered DGX Sparks. It breaks huge models into streamlined chunks so multiple chips work together with zero waiting time! 🚦
Qwen, DeepSeek & GLM Architectural Tricks
2 qModern open-source lab models use genius architecture tricks: DeepSeek compresses memory with MLA and MTP, Qwen uses smart sliding windows for 1M context, and GLM uses 2D positional grids for vision and tool calling! 🧠✨