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

perf: speedup jit compilation of prefill attention kernels #632

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Nov 24, 2024

Followup of #628, this PR splits prefill attention jit templates so that we compile different mask modes in different files.

JIT compilation time of a prefill kernels of a certain configuration (shape, dtype etc) could be reduced to 10 seconds after this PR.

@yzh119 yzh119 merged commit a059586 into main Nov 24, 2024
@zhyncs zhyncs deleted the speedup-prefill-jit-compilation branch November 24, 2024 10:39
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