📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What does batching do during LLM inference?

A. Trains the model on a batch of data
B. Groups tokens alphabetically
C. Reduces the model's accuracy permanently
D. Processes multiple requests together to improve hardware utilisation ✅

Correct Answer: D. Processes multiple requests together to improve hardware utilisation

Explanation

Batching shares the forward pass across requests, raising throughput on GPUs.