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

Fix the performance regression introduced during support of irregular shapes. #10

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

xinyazhang
Copy link
Collaborator

Tested with performance_forward.py with fused-attention-batch4-head64-d64-fwd-causal=False.
Now it's 94.61 TFLOPS on MI210 or 220.86 TFLOPS on MI300X, for N_CTX=8192 cases.

All UTs in test/test_backward.py passed

This is a squashed changeset. See branch `xinyazhang/perf-irregular`
for the breakdown of performance impacts on MI210 for each added
irregular shape support.
@xinyazhang xinyazhang merged commit e537881 into main Mar 19, 2024
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.

None yet

1 participant