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

Fixing 2d Prefetch #187

Conversation

mehdi-goli
Copy link
Collaborator

@mehdi-goli mehdi-goli commented Jan 17, 2025

The new append_pvc interface does not consider the prefetch movement over 2 dimensions. The whole append_pvc interface may require to be revisited in a separate PR. This PR restore the Flash attention Performance by fixing the Prefetch for the K matrix, and adding optimised copy for the causal=true case

@mehdi-goli mehdi-goli merged commit ea70d14 into codeplaysoftware:sycl-develop Jan 20, 2025
6 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.

3 participants