Short Answer

Trade-offs in a Staged Inference Architecture

An inference system processes user prompts by first computing the initial state for a whole batch of requests (the 'prefill' stage), and only then proceeds to generate responses token-by-token for that same batch (the 'decoding' stage). Describe one major efficiency benefit and one potential drawback of this approach where the entire batch must complete the first stage before the second stage begins.

0

1

Updated 2025-10-06

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science