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] reloading fused_moe config on the last chunk #6210

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

avshalomman
Copy link
Contributor

This is a follow-up PR for the fused_moe chunking mechanism introduced here. We've noticed that when the last chunk is smaller then the chunk size, it helps to reload the kernel configuration according to the last chunk size.
In our experiments, this can yield a ~5% speedup on average (see plot for a general idea of the diff in performance).

Screenshot 2024-07-07 at 16 21 28

Copy link
Collaborator

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

Make sense. LGTM!

@comaniac comaniac merged commit f7a8fa3 into vllm-project:main Jul 8, 2024
70 checks passed
dtrifiro pushed a commit to opendatahub-io/vllm that referenced this pull request Jul 17, 2024
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 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.

2 participants