Kimi K3 uses FlashKDA to make chunkwise parallel context computation work
nrehiew_ · x · 2026-07-29
The thread explains the KDA chunkwise-parallel implementation used in Kimi K3.
- FlashKDA implements a chunkwise parallel form of KDA.
- Tensor parallelism is less useful here because KDA has fewer heads, so context parallelism is done across chunks.
- The key challenge is that the delta update rule depends on the previous state, which prevents independent computation.
- The solution splits the computation into two terms: one local delta-rule factor that can be computed independently, and another term that applies the delta rule after a single all-gather.
- The flow is summarized as: compute local delta-rule factor, compute local state, all-gather once, then apply the delta rule.
More from Infra
- China pours billions into optical chips for AI data centers despite US curbs threat — pstAsiatech · 2026-12-02
- Air New Zealand to roll out free Starlink-powered inflight Wi-Fi starting 2027 — elonmusk · 2026-12-02
- Nvidia B300 claimed 5-6x more efficient than China GPUs, but revenue gap is only ~3x — teortaxesTex · 2026-12-02
- Crucible Capital: capital intensity is the moat of the AI infrastructure era — AccBalanced · 2026-12-02
- Startup unveils 8192-core CPU, arguing the ASIC-vs-CPU gap is only 10x — AccBalanced · 2026-12-02
- vLLM's 4-bit KV cache runs 1.7× slower than FP8; new Hopper kernel fixes it — AccBalanced · 2026-12-02