For TensorRT-LLM benchmarks ..whats the difference between batch_size and max_batch_size ? #1800
Replies: 1 comment
-
|
For example: This creates an engine capable of handling batches up to 16. During benchmarking, you could run with batch sizes of 1, 2, 4, 8, or 16, but not 32. Depending on which benchmarking tool you're using, the runtime batch size is typically controlled by the benchmark itself (e.g., through the dataset, request configuration, or concurrency settings) rather than by If you're using the inflight batching scheduler, it's also worth noting that the actual batch seen by the GPU is dynamic. Multiple incoming requests may be merged into a batch up to the engine's Could you also share which benchmark you're referring to (e.g., If this answer helped or pointed you in the right direction, I'd appreciate it if you could mark it as the accepted answer so it's easier for others with the same issue to find. Also, if you found my contribution useful, I'd appreciate it if you could check out my GitHub profile, follow me, and star any repositories you find interesting. GitHub: https://github.com/Advait251206 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In trtllm-build tool there is an attribute --max_batch_size . What this attribute represent. Is this the same attribute as batch_size seen in other industry standard benchmarks. How to specify batch_size for a benchmark ?
Beta Was this translation helpful? Give feedback.
All reactions