Dual-Chunk Linear Attention
Summary
Exhaustive first-principles architectural teardowns, LaTeX mathematical derivations, and verified runnable PyTorch/Triton implementations.
Summary
Multi-Head Latent Attention (MLA) decouples key-value caching from head counts by compressing Key-Value projections into a low-rank latent vector (d_c = 512). Independent lab benchmarking confirms 73.2% VRAM reduction while matching standard Multi-Head Attention expressivity on Hopper H100 Tensor Memory Accelerators.
Autoregressive LLM generation is fundamentally memory-bandwidth bound. Speculative Flash-Decoding breaks serial execution by decoupling draft generation from large model verification passes using an asynchronous double-buffered ring buffer, delivering 2.8x wall-clock latency reduction.
Every standard neural network computes matrix products via power-hungry floating-point MAC units. BitNet b1.58 constrains all linear layer weights to ternary values {-1, 0, +1}, turning matrix multiplications into integer additions and subtractions. Slashes dynamic inference energy by 82% and fits a 70B parameter model within 36 GB of unified memory.