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

Optimizations for top_k > 1 #6

Merged
merged 16 commits into from
Jul 28, 2023
Merged

Optimizations for top_k > 1 #6

merged 16 commits into from
Jul 28, 2023

Conversation

tgale96
Copy link
Contributor

@tgale96 tgale96 commented Jul 22, 2023

Fused all 'k' passes into a single expert computation. Optimize permutation and scaling to reduce overhead.

@tgale96 tgale96 merged commit c0cb172 into main Jul 28, 2023
@tgale96 tgale96 deleted the batched-top-k branch August 10, 2023 21:32
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.

1 participant