Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the optimal parallel strategy using TensorRT-LLM? #8

Open
iteratorlee opened this issue Mar 28, 2024 · 2 comments
Open

What's the optimal parallel strategy using TensorRT-LLM? #8

iteratorlee opened this issue Mar 28, 2024 · 2 comments
Assignees

Comments

@iteratorlee
Copy link

Thanks for your great efforts first. I read the PR you opened in the TensorRT-LLM repo and noticed that EP +TP, PP + TP, and TP are supported during inference. May I ask which one is optimal? Specifically, as for the MoE layer, does EP or TP yield better performance?

@hanlint
Copy link
Collaborator

hanlint commented Mar 28, 2024

cc: @megha95

@dskhudia
Copy link

TP is better as at lower batch sizes it allows better load balance. At higher batch sizes, they should be similar. We haven't benchmarked EP yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants