10min chapter

Latent Space: The AI Engineer Podcast cover image

ICLR 2024 — Best Papers & Talks (ImageGen, Vision, Transformers, State Space Models) ft. Durk Kingma, Christian Szegedy, Ilya Sutskever

Latent Space: The AI Engineer Podcast

CHAPTER

Optimizing Memory in Large Language Models

This chapter explores innovative approaches to reduce memory consumption in large language models, particularly focusing on the KV cache mechanism during inference. It introduces FastGAM, a KPcache eviction algorithm that enhances efficiency by optimizing attention mechanisms and token management. Additionally, the discussion includes an eviction strategy called C-sharp, which emphasizes tailored strategies for managing attention heads in order to achieve effective KV cache compression.

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