In this article
An adaptive request-count limit does not describe a fixed amount of model work when individual requests carry different payload sizes.
Equal request counts produce unequal model work
A prediction endpoint accepts an array of records in each caller request. A burst of small arrays fits, while a burst with the same request count but larger arrays exhausts memory. The adaptive batch setting remained unchanged because the number of grouped requests did not reveal their combined record count.
Treat caller request size and server-side request grouping as separate dimensions. Their combination determines the actual tensor the runtime must process and the output structure that must be split back into responses.
The documented limit counts grouped requests
The adaptive-batching guide defines max_batch_size in terms of requests grouped together. It documents a separate waiting-time setting, expressed in seconds, for gathering the batch.
Neither setting is automatically a maximum token count for a language model. If the endpoint permits variable-length text or variable row counts, define and enforce those input constraints at the application boundary according to the model’s real execution behavior.
Model settings do not replace payload inspection
The model-settings reference records the batching controls alongside input and output metadata. Review both configuration and actual request shapes, rather than using the batching integer as a complete description of the model workload.
Variable-length reduction provides background on why different amounts of valid data can change the meaning of aggregate operations. Serving has a related distinction: equally many requests can contain very different amounts of useful computation.
The codec determines the decoded tensor
The content-type guide explains NumPy decoding through datatype and shape. Check the tensor reaching the runtime after decoding and grouping, not only the flat payload visible at the HTTP boundary.
Tensor memory layout offers related context for separating logical records from their representation. Preserve the record-to-response association when converting grouped inputs into model tensors and splitting outputs after execution.
Stress the largest supported input combination
Exercise varied caller sizes at the chosen request-grouping limit. Observe decoded shapes, peak memory and returned record counts, with the model revision fixed. Include sparse arrival traffic so waiting policy is evaluated separately from a saturated batch.
A defensible configuration bounds both the individual input contract and the combined work that the runtime can safely execute. A successful burst of tiny requests is insufficient evidence for the maximum supported payload mix.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.