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
{{ message }}
Repository navigation
[Usage]: Best way to batch requests with different lora ids #10761
Assume model is llama 3.1 8B, and we use multi lora. What’s the best routing strategy in inference?
Can requests in 1 batch have different lora ids? Does it have negative impact compared to 1 batch having same lora ids?
Is it true that kv cache can’t be shared across different lora ids? Thus it is beneficial to route requests with same lora id to the same trtllm instance?
Are there any other reasons why we prefer routing requests with same lora id to the same trtllm instance?
Before submitting a new issue...
Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.
Activity
karljang commentedon Jan 26, 2026
Hi @ShuaiShao93, here are the answers that I got.
docs