John McDonough and Nunze
da77f86332
libref, libavx: GLM-5.3's ops -- mHC, clamped SwiGLU, f32 routing, KDA, the DSA indexer, MLA
...
The reference and CPU forms of the ops GLM-5.3-Flash's graph needs, with their schemas and shape
hooks: mhc_pre / mhc_post / mhc_contract and the column-split pair mhc_pre_partial /
mhc_pre_finish; swiglu_clamped; gemm_nt_f32 (bf16 activation, f32 weight and result) for the
router logits and the indexer's head gates; router_sigmoid_topk (correction-bias top-k);
kda_update with per-channel decay and both state forms; dsa_pool, dsa_query and dsa_score; and
mla_attn and mla_project for absorbed latent attention. moe_gather takes f32 expert weights beside
bf16, and fp8a8f32 joins the dtype list. docs/OPS.md states each op.
ref_test checks every op against hand-computed cases, avx_check_hand the CPU forms against
libref, build_test the indexer cache's page size.
Co-Authored-By: Nunze <lorenz.lamping1@web.de >
2026-10-19 20:13:47 +02:00
..
2026-10-19 15:34:15 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 20:13:47 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 15:28:21 +02:00
2026-10-19 15:28:21 +02:00
2026-10-19 15:28:21 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 15:28:21 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 20:13:47 +02:00
2026-10-19 15:34:15 +02:00
2026-10-19 15:34:15 +02:00
2026-10-19 15:34:15 +02:00
2026-10-19 20:13:47 +02:00
2026-10-19 10:38:33 +02:00
2026-10-19 15:28:21 +02:00
2026-10-18 15:41:44 +02:00
2026-10-19 17:35:05 +00:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:06 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 20:52:09 -05:00
2026-10-18 11:38:37 +02:00
2026-10-19 20:13:47 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:37:07 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:33 +02:00
2026-10-19 10:41:22 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:42:13 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:38:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 13:37:01 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 20:13:47 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-19 10:38:33 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 17:35:05 +00:00
2026-10-18 11:38:37 +02:00
2026-10-16 20:52:09 -05:00
2026-10-18 11:38:37 +02:00
2026-10-19 10:44:46 +02:00
2026-10-18 11:38:37 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-19 10:36:27 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 15:41:44 +02:00
2026-10-18 15:41:44 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00