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

[torch] Fix attention on linalg for dynamic shapes #3714

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

rsuderman
Copy link
Contributor

Current version does not work for a mixture of dynamic and static shaped batch dimensions. Rework to grab the correct dynamic shapes.

Current version does not work for a mixture of dynamic and static shaped
batch dimensions. Rework to grab the correct dynamic shapes.
Copy link
Collaborator

@zjgarvey zjgarvey left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Are we testing this e2e? If so, presumably the pass rate is unchanged, so should we add a test for the mixed static/dynamic query/key?

Where did this issue come up?

@dan-garvey
Copy link
Collaborator

let me add a test case

@dan-garvey dan-garvey merged commit 5ce48df into llvm:main Sep 18, 2024
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.

3 participants