← Browse

World's Fair 2024

Mastering LLM Inference Optimization From Theory to Cost Effective Deployment: Mark Moyou

Overview

This talk focuses on optimizing Large Language Model (LLM) inference, emphasizing the practical challenges and cost-effectiveness of deploying these models at scale. It delves into the technical intricacies of the LLM inference workload, from tokenization and attention mechanisms to the crucial role of the KV cache in managing GPU memory and performance. The presentation aims to provide attendees with a deeper intuition about these processes and actionable strategies for measuring and improving deployment efficiency.

Who should watch

Key takeaways

Notable quotes

*LLM inference is hard and I put the time stamps T1 through T4. In every single deployment no matter how fast anyone claims they are doing things it is typically one token that is generated at a time.*
*KV cache is this thing that really drives to some degree the cost whether or not you use some big box API or you are using a single GPU it is all the same sort of mechanisms the same algorithm that everyone is trying to solve.*
*On the GPU it is either the model weights or tokens that is it there is nothing else on the GPU.*

Watch on YouTube →

Unofficial community note. Prefer the recording for nuance.