logoalt Hacker News

ewildtoday at 3:26 AM1 replyview on HN

people really dont understand how the transformer works to think this is something trivial if possible at all


Replies

doolstoday at 4:30 AM

Orly?

“ Automatic Prefix Caching (APC in short) caches the KV cache of existing queries, so that a new query can directly reuse the KV cache if it shares the same prefix with one of the existing queries, allowing the new query to skip the computation of the shared part.”

https://docs.vllm.ai/en/latest/features/automatic_prefix_cac...

show 1 reply