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

[TKW] Fix indexing of permute to enable attention #244

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

raikonenfnu
Copy link
Contributor

Most of the time in GPU programming, we would only materialize "transposes"/"permutes" of data during reads and writes. When doing transposes/permutations of data in GPU registers, it is most of the time free/no-op, since threads will still own the same data but just symbolically different.

Most of the time in GPU programming, we would only materialize
"transposes"/"permutes" of data during reads and writes. When doing
transposes/permutations of data in GPU registers, it is most of the time
free/no-op, since threads will still own the same data but just
symbolically different.

Signed-off-by: Stanley Winata <[email protected]>
Copy link
Contributor

@harsh-nod harsh-nod left a comment

Choose a reason for hiding this comment

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

this is awesome! our first ever attention! thanks for making this happen! :)

@raikonenfnu raikonenfnu merged commit 8846708 into iree-org:main Oct 29, 2024
7 of 8 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.

2 participants