GQA shares KV heads across multiple Q heads for efficient parameter usage
Image: Jouasse, CC BY-SA 4.0, via Wikimedia Commons
GQA shares KV heads across multiple Q heads for efficient parameter usage
multi-query attention (MQA) is
Multi-query attention (MQA) with shared KV head: Q heads share a single KV head for efficient parameter usage
GQA reduces KV-cache memory by the group factor
Ever wondered how websites stay fresh in search results?
paged attention (vLLM) improves serving throughput
Paged attention (vLLM) improves serving throughput by reducing latency through non-contiguous KV-cache pages, enabling faster data retrieval
Write the multi-head attention formula: MultiHead(Q,K,V) = Concat(head_1,...,head_h)W^O
Ever wondered how machines understand the importance of words in a sentence?
GAT (Graph Attention Network) adds: learned attention weights between neighbors
GATs use learned attention weights between neighbors
self-attention: Attention(Q,K,V) = softmax(QK^T/√d_k)V
Ever wondered how computers understand what's important in a sentence?
Swipe through 100 ML concepts daily
Open Pocket Polymath