Skip to content

Conversation

@happierpig
Copy link
Collaborator

This PR fixes the out-of-bound K/V value loading in the FA3 sparse_mainloop.cuh, which may cause a nan value for BatchPrefillWithPagedKVCacheSM90Run and BlockSparseAttentionWrapper . The accumulation of out-of-bound V and S causes the nan value.

This may solve the issue #1018.

@yzh119 yzh119 merged commit cb5462d into main Apr 22, 2025
2 of 3 checks passed
@yzh119 yzh119 deleted the happierpig-patch-1 branch April 22, 2025 04:36
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