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

FA3 Failed to initialize the TMA descriptor #1343

Open
li-yi-dong opened this issue Nov 20, 2024 · 0 comments
Open

FA3 Failed to initialize the TMA descriptor #1343

li-yi-dong opened this issue Nov 20, 2024 · 0 comments

Comments

@li-yi-dong
Copy link

Current implementation of FA3 would fail with zero length of K/V. It seems that zero length tensor has no valid data_ptr, and make_tma_copy(https://github.com/Dao-AILab/flash-attention/blob/main/hopper/mainloop_bwd_sm90_tma_gmma_ws.hpp#L333) would fail in backward.
image

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

No branches or pull requests

1 participant