2min chapter

Generally Intelligent cover image

Episode 33: Tri Dao, Stanford: On FlashAttention and sparsity, quantization, and efficient inference

Generally Intelligent

CHAPTER

The Importance of Sparsity in GPUs

In optimization, sparsity has been an important idea. We wanted to make them actually hardware efficient so that we can train with sparsity. That has been difficult for a lot of people simply because the hardware that we use GPUs are very much block oriented devices. So it wasn't in terms of expressiveness, we had to sacrifice it a little bit to gain in hardware efficiency. And after that paper, we thought a little bit more and then we found this nice parameterization, carmonark, that we didn't have to sacrifice expressiveness. It can represent anything that perhaps butterfly matrices can represent at the same time that remains hardware efficient. But that could work pretty well for training things

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