Tag: #FlashAttention
All published articles with this tag "FlashAttention". 3 items published.
#
← All Tags
FlashAttention
3 published items
- Research · Deep Learning
FlashAttention Implementation in PyTorch
A PyTorch implementation of FlashAttention-style multi-head attention: a softmax-scaled dot-product attention block, a tiled/blocked variant that processes sequence chunks for memory efficiency, and basic shape tests.
- 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.
- Research · Reinforcement Learning
The Transformer Architecture: Scaled Dot-Product Attention, Multi-Head Projections, and PyTorch Engine
Master the Transformer: scaled dot-product attention, multi-head projections, sinusoidal & RoPE encodings, Pre-LN vs Post-LN stability, and PyTorch engines.
Explore Other Tags