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

[Kernel] DBRX Triton MoE kernel H100 #3692

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

ywang96
Copy link
Collaborator

@ywang96 ywang96 commented Mar 28, 2024

Results from running benchmarks/benchmark_latency.py --model=databricks/dbrx-instruct --num-iters 50 --batch-size --trust-remote-code --tp <tp> --batch-size <bs>

Main branch

TP4
Batch size 8 (default): Avg latency: 3.383673385512084 seconds
Batch size 16: Avg latency: 3.910283356476575 seconds
Batch size 32: Avg latency: 5.204639058653266 seconds
Batch size 64: Avg latency: 5.740127996951341 seconds

TP8
Batch size 8: Avg latency: 2.3971098379790785 seconds
Batch size 16: Avg latency: 2.7930808463692665 seconds
Batch size 32: Avg latency: 3.329706186875701 seconds
Batch size 64: Avg latency: 3.84231577526778 seconds

This PR

TP4
Batch size 8: Avg latency: 3.2545747229084374 seconds
Batch size 16: Avg latency: 3.6656158388964832 seconds
Batch size 32: Avg latency: 3.978769546896219 seconds
Batch size 64: Avg latency: 4.446144629847258 seconds

TP8
Batch size 8: Avg latency: 2.305059498753399seconds
Batch size 16: Avg latency: 2.564341889191419 seconds 
Batch size 32: Avg latency: 2.7666698359698056 seconds
Batch size 64: Avg latency: 3.3472835789062083 seconds

cc @WoosukKwon @youkaichao

Copy link
Collaborator

@WoosukKwon WoosukKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@WoosukKwon WoosukKwon merged commit ce567a2 into vllm-project:main Mar 28, 2024
3 of 4 checks passed
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 31, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants