News for hackers. Stuff that matters.
Re:Performance of llama.cpp on Apple Silicon A-series by andy99 on Tuesday December 19, 2023 @07:10PM (#38703792)
It says at the top that prompts are processed with a batch size of 512, while new tokens can only be generated one at a time with batch size of 1.

Prompt processing doesn't actually need to compute logits for each new token, just cache the KV values and so is much faster than actual inference.

There are no comments on this comment yet.