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

[Dev] Add FlashDecoding example #46

Merged
merged 2 commits into from
Jan 25, 2025
Merged

[Dev] Add FlashDecoding example #46

merged 2 commits into from
Jan 25, 2025

Conversation

chengyupku
Copy link
Contributor

This PR adds example_mha_inference.py, which implements FlashDecoding in the Multi-Head Attention mechanism to optimize inference performance.

Documentation Updates:

example_mha_inference.py: Added new example documentation.
layout.cc: Removed unnecessary checks.
fragment.py: Fixed Fragment initialization bugs when forward_index = None.

@chengyupku chengyupku merged commit 08915fe into tile-ai:main Jan 25, 2025
3 checks passed
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