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

[ops] Add a sharded attention operation for SDPA #381

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

rsuderman
Copy link
Contributor

Existing implementation invokes the torch sdpa operator directly. Rewired to invoke via the ops system for a sharded sdpa operation. This includes a sharded implementation that compares the two versions.

@rsuderman rsuderman requested a review from KyleHerndon October 30, 2024 20:18
@rsuderman rsuderman force-pushed the sharded_attention branch 2 times, most recently from f5a2327 to 8d5cb89 Compare October 30, 2024 22:13
Existing implementation invokes the `torch` sdpa operator directly.
Rewired to invoke via the `ops` system for a sharded sdpa operation.
This includes a sharded implementation that compares the two versions.
@rsuderman rsuderman merged commit 2d46caa into nod-ai:main Oct 31, 2024
4 checks passed
@rsuderman rsuderman deleted the sharded_attention branch October 31, 2024 18:30
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