Tag: #kv-cache
All published articles with this tag "kv-cache". 2 items published.
#
← All Tags
kv-cache
2 published items
- Research ยท Deep Learning
GQA & MQA: Mathematical Foundations, Memory Bandwidth Optimization, and KV-Cache Scaling from Multi-Head to Grouped-Query Attention
Master Grouped-Query Attention (GQA) and Multi-Query Attention (MQA): KV cache memory explosion calculus, architectural comparison across MHA/GQA/MQA, tensor broadcasting vs FlashAttention stride tricks, MHA-to-GQA uptraining, and production PyTorch implementations powering LLaMA-3 and Mistral.
- Research ยท Reinforcement Learning
PagedAttention: Virtual-Memory KV Cache Management, Continuous Batching, and PyTorch Architecture
Master PagedAttention: virtual memory KV cache paging, block tables, prefix caching (CoW), continuous batching, memory fragmentation math, and PyTorch kernels.
Explore Other Tags