#306306th of 433 in ML frameworks and libraries
flashkda
CUTLASS-based CUDA kernels for Kimi Delta Attention forward pass
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts flashkda on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.flashkda is on your watch list. Its new releases and problems show there.
- Stars
- 1.3k
- License
- MIT
- Last commit
- Nov 2026
- Language
- Cuda
411 on 6 May 20261,304 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
FlashKDA provides CUDA kernels, built on CUTLASS, for the forward pass of Kimi Delta Attention (KDA), exposed as flash_kda.fwd in PyTorch. It takes bf16 inputs, supports optional bf16 or fp32 recurrent state and variable-length batching via cu_seqlens, and requires K = V = 128. Once installed, it is auto-dispatched from flash-linear-attention's chunk_kda under torch.inference_mode(), with a Triton fallback.
Who it is for: Engineers running KDA-based models on Hopper or newer NVIDIA GPUs
Strengths
- Auto-dispatched from flash-linear-attention chunk_kda; FLA_FLASH_KDA=0 falls back to Triton
- Supports variable-length batches via cu_seqlens and optional bf16 or fp32 state
- Tests check output against a torch reference and flash-linear-attention
- Ships an H20 benchmark file and a design deep-dive document
Weaknesses
- Forward pass only; no backward kernel is documented
- Hard-coded to K = V = 128
- Requires an SM90 or newer GPU and CUDA 12.9+
- Built from source with a git submodule; no release published
What it needs
- GPU required
- Needs CUDA 12.9+, PyTorch 2.4+, CUTLASS, flash-linear-attention >= 0.5.0 (for FLA backend)
- Models: Kimi Delta Attention (KDA)
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #304 | titans-pytorchUnofficial PyTorch implementation of the Titans neural memory architecture | 42 out of 100 |
| #305 | opentsnePython t-SNE library with FIt-SNE and Barnes-Hut for large datasets | 42 out of 100 |
| #307 | deepchemPython library for deep learning on molecules, materials and biological data | 41 out of 100 |
| #308 | jittorPython deep learning framework that JIT-compiles meta-operators to C++ and CUDA | 41 out of 100 |
| #309 | graphicsDifferentiable graphics and geometry layers for TensorFlow, with a 3D TensorBoard plugin | 41 out of 100 |