Prefix caching

How KV Cache Speeds Up LLMs for Faster AI Models on GPUs

How KV Cache Speeds Up LLMs for Faster AI Models on GPUs

LLMs often slow down under heavy traffic due to inefficient GPU memory management during inference. This overview explains how KV cache and Paged Attention, implemented in VLLM, optimize memory usage across prefill and decode phases, significantly boosting LLM throughput, reducing latency, and improving GPU utilization through advanced context handling and specific tuning techniques like prefix caching and speculative decoding.

Voice In, Visuals Out: The Agony and the Ecstasy - Allen Pike, Forestwalk Labs

Voice In, Visuals Out: The Agony and the Ecstasy - Allen Pike, Forestwalk Labs

Allen Pike (Forestwalk Labs) discusses the power of "voice-in, visuals-out" AI experiences, a paradigm championed by Andrej Karpathy. He highlights the critical challenge of latency in real-time AI interactions and shares three key techniques for achieving low-latency, delightful user experiences: utilizing fast models, employing short inference intervals, and implementing stable caching regimens.