Skip to content

Specify the max batch size with continous batching #3395

Description

@oximi123

I want to process multiple inference requests and evaluate the the average request latency. Because increasing the batch size will add extra latency to the request, I want to find the optimal maximun batch size to minimize the average average request latency.

So instead of letting vllm decide batch size at each iteration, is there a way to specify the max batch size (e.g., 40 requests inference at one iteration at most) with continous batching?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions