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

Implements FlashDecoding with Sparsity Support #899

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hanzhi713
Copy link
Member

@hanzhi713 hanzhi713 commented Dec 18, 2024

To be merged in 2025

This PR implements GPU FlashDecoding. See the docstring of gpu_decoding.py for description of the kernel.

Also, gpu_attention_benchmark.py is completely rewritten to use Jax mosaic profiling tools. Previously, triton testing suite is used, which gives meaningless results as triton uses cudaEvent that records to the default stream. That is not the cudaStream that jax uses.

@hanzhi713 hanzhi713 requested review from ruomingp, markblee and a team as code owners December 18, 2024 00:45
@hanzhi713 hanzhi713 changed the title Implements FlashDecoding. Implements FlashDecoding with Sparsity Support Dec 18, 2024
apghml
apghml previously requested changes Dec 18, 2024
Copy link
Contributor

@apghml apghml left a comment

Choose a reason for hiding this comment

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

It looks like there is still an unresolved internal comment.

@hanzhi713 hanzhi713 requested a review from apghml December 18, 2024 17:40
@apghml apghml dismissed their stale review December 18, 2024 19:26

PR has been updated.

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.

3 participants