Skip to content

Batch Processing

Processing data in groups — batches — rather than one item at a time. The opposite of real-time streaming.

Why in AI

  • batching in inference — combining requests to load the GPU;
  • bulk operations — rewriting, migration, generation;
  • nightly runs — non-urgent tasks accumulate and are executed as a batch.

Advantages

More efficient: the overhead is shared across many records, and it is easier to control the pace and to pause between batches.

See Also

← All Terms