At the Intersection of LLMs and Kernels - Research Roundup
Relational databases like postgreSQL and operating system kernels like Linux are foundational building blocks for computing systems. Every “application” is in essence an “application” of those building blocks to some purpose: Twitter applies databases to write and read tweets; it applies an operating system to operate the hardware required to do so. Large language models – and large generative models of complex data types more broadly – are a new building block at this foundational layer. ML researchers like me have many useful intuitions about what can be built with this novel building block and how to improve it. But the people who have spent years building with those other blocks have many more. Many of these inuitions are surprising to someone who has spent more time with neural networks than with the network stack. This post is a collection of short explainers for papers that directly draw from systems metaphors in designing improvements for LLMs, ranging from novel approaches to
Relational databases like postgreSQL and operating system kernels like Linux are foundational building blocks for computing systems. Every “application” is in essence an “application” of those building blocks to some purpose: Twitter applies databases to write and read tweets; it applies an operating system to operate the hardware required to do so. Large language models – and large generative models of complex data types more broadly – are a new building block at this foundational layer. ML researchers like me have many useful intuitions about what can be built with this novel building block
Explore this link on the map →related reading
- Paged Attention from First Principles: A View Inside vLLM – Hamza's Bloghamzaelshafie.bearblog.dev
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- Look Ma, No Bubbles! Designing a Low-Latency Megakernel for Llama-1B · Hazy Researchhazyresearch.stanford.edu
- How to make LLMs go fastvgel.me
- Optimizing inference · Hugging Facehuggingface.co
- vLLM: Easy, Fast, and Cheap LLM Serving with PagedAttention | vLLM Blogblog.vllm.ai
- How LLM Inference Worksarpitbhayani.me
- LLM Inference Performance Engineering: Best Practices | Databricks Blogdatabricks.com
- GenAI Handbookgenai-handbook.github.io
- How LLMs Actually Work | 0xkato0xkato.xyz
- Patterns for Building LLM-based Systems & Productseugeneyan.com
- ⭐️ Fast LLM Inference From Scratchandrewkchan.dev