Mog9 / FlashAttention-CuPyView on GitHub
Flash Attention from scratch, tiled CUDA forward kernel, online softmax with running max and correction factor, recomputation trick in backward, O(N) memory, full forward and backward verified against PyTorch autograd to 1e-6.
18Mar 6, 2026Updated 4 months ago

Alternatives and similar repositories for FlashAttention-CuPy

Users that are interested in FlashAttention-CuPy are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.

Sorting:

Are these results useful?