linear_attention#
Modules
Saved execution policy for GDN/KDA state QAT. |
|
Differentiable per-token state quantization for a training suffix. |
|
GDN adapter for serving-aligned recurrent-state QAT. |
|
KDA adapter for serving-aligned recurrent-state QAT. |
|
Differentiable checkpoint and update replay for the optional INT8/Hadamard fork. |
|
Training forwards with a chunked prefill prefix and recurrent decode suffix. |
|
Shared helpers for linear-attention quantization. |
Numerical policies and differentiable kernels for linear attention.