You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current arch of tensorrtllm means that logits processor (for both executor and batch_manager) will be called independently for each request.
But it is bad approach in terms of performance.
For example if i have throughput 5000token/s without custom logits processors then that is equivalent to the system generating each token every 200 µs.
But if i add custom logit processor for each request, it increases latency of each token generation on about 15-20 µs (it depends on complexity of logits processor).
It leads to performance drop of all system on about 10%.
This can be avoided by allowing batch processing of logits for queries.
Activity
MartinMarciniszyn commentedon Jun 24, 2024
A batched logits post processor has been released in the last update of the
mainbranch