6/41
Part 1 of 7 · The batch APILearn
Batch means two things
The customer's batch is one file of up to 100,000 requests, with 24 hours to run. The service spreads it across the fleet: each GPU runs a decode batch, one token per sequence per step, mixed with other customers' requests.
The customer's batch is a file of requests with a 24-hour promise.
The decode batch is the set of sequences one GPU moves forward together, one token each per forward pass.
One customer's batch is spread over many decode batches, and one decode batch can hold requests from many customers. Keep the two apart out loud in an interview, because the design touches both.