Using lmcache Can Significantly Improve TTFT in Model Inference
· ☕ 10 min read
1. Introduction to LMCache TTFT is the time from when a request is issued until the model generates its first token. Because the Prefill phase has to encode the input context into a KV Cache before generation can begin, producing that first token requires a large amount of computation, which makes TTFT high.