TensorRT-LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and build TensorRT engines that contain state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT-LLM also contains components to create Python and C++ runtimes that execute those TensorRT engines.
System Info
x86_64, Debian 11, L4 GPU
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
The latency shouldn't increase linearly with batch size, which means batch_size=2 shouldn't be 2x slower than batch_size=1.
actual behavior
The latency increase linearly with batch size.
additional notes
This bug makes TRT-LLM totally unusable in production, so please treat it as P0