Initial K3 snapshot: 0.5B KDA/MLA/MoE train path

Standalone tree split from LLMRL/projects/kda. Includes Triton dt_bias
backward fix, train_k3 --preset 0.5b, SFT, Docker runtime, and tests.
This commit is contained in:
dela
2026-08-25 14:43:17 +08:00
commit 584f7e9e73
140 changed files with 21592 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"""Readable PyTorch implementations used as correctness references."""
from .chunkwise import naive_chunk_kda
from .gate import kda_gate_naive, kda_gate_reference
from .recurrent import naive_kda, naive_kda_fwd
__all__ = [
"kda_gate_naive",
"kda_gate_reference",
"naive_chunk_kda",
"naive_kda",
"naive_kda_fwd",
]