NVIDIA / NVIDIA/Megatron-LM

Feature Request: Kimi Delta Attention (KDA)

Open
#2,446 4 comments 4 reactions 1 assignee Assigned to @yuzhongw-nvidia View on GitHub
enhancement
Dominant language
Python
Stars
17.9k
Forks
4.5k
Avg merge
4d 6h
Merged PRs (30d)
271

Description

**Is your feature request related to a problem? Please describe.**
While Megatron Core supports Multi-Latent Attention (MLA) for KV cache compression (as used in DS-V2/V3 and Kimi-K2), it lacks support for Kimi Delta Attention (KDA), a sparse attention mechanism that selectively computes attention based on the delta from previous layers or cached representations.

**Describe the solution you'd like**
Add support for Kimi Delta Attention including the following components:

1. New configuration options in `TransformerConfig`
2. New attention module: `DeltaAttention` or `KDASelfAttention` class extending the existing `Attention` base class
3. Layer spec support: Add KDA layer specs similar to how MLA is handled

**Describe alternatives you've considered**

**Additional context**
Kimi Delta Attention [arxiv](https://arxiv.org/abs/2510.26692)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.