FlashAttention

Quick definition

An exact attention algorithm family designed to reduce high-bandwidth-memory traffic through IO-aware computation.

An exact attention algorithm family designed to reduce high-bandwidth-memory traffic through IO-aware computation.

FlashAttention changes how attention is computed rather than simply dropping attention connections, often improving speed and memory use.

Example: A training job uses an optimized attention kernel to process longer sequences on the same GPUs.

Common use cases: Transformer training, long-sequence inference, and accelerator optimization.

Examples

  • A training job uses an optimized attention kernel to process longer sequences on the same GPUs.

Use cases

  • Transformer training, long-sequence inference, and accelerator optimization.

Frequently asked questions

What is FlashAttention?

An exact attention algorithm family designed to reduce high-bandwidth-memory traffic through IO-aware computation.

What should I know about FlashAttention?

FlashAttention changes how attention is computed rather than simply dropping attention connections, often improving speed and memory use.

Categories and tags