3min snip

Latent Space: The AI Engineer Podcast cover image

FlashAttention 2: making Transformers 800% faster w/o approximation - with Tri Dao of Together AI

Latent Space: The AI Engineer Podcast

NOTE

Attention: Approaches to Efficient Computation and Memory Usage

The goal of attention is to make attention go faster or more memory efficient./nMany approaches have been focusing on approximating attention to scale to longer sequences./nThis particular approach aims to maintain exact computation while being more memory efficient./nThe result is a wall clock speed up of two to four times longer sequence length without approximations./nApproximate attention methods tend to be slower in wall clock time despite performing fewer computations./nFactors like memory reading and writing, parallelism, and IO awareness are important for runtime, not just floating-point operations.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode