bailing_hybrid: Ling-3.0-flash -- KDA, dense latent attention, group-routed experts

Ling-3.0-flash and its fine-tunes (`model_type: bailing_hybrid`) from the bf16 checkpoint: 42
layers in groups of five KDA layers and one dense MLA layer, two dense feed-forward layers, then
512 experts of 768 under group-limited sigmoid routing with an ungated shared expert. The KDA core
is GLM-5.3's (KdaState); the MLA attends in the latent through mla_project and mla_attn_paged, its
query served as two projections (the heads' rotary rows and their nope rows, each a plain 2-D
plane). One, two or four ranks; at four an expert's six blocks split 2, 2, 1, 1, rotated by the
expert's number mod 4 (moe_gemm_q_mod4). The latent and KDA caches are bf16.
This commit is contained in:
keptn42 authored and StillDeadcode committed 2026-11-03 19:07:34 +01:00
1 parent 1c2f55027c
commit 8611feb85e
3 files changed
+784 -2

No files matched your search

+2 -2
View File
@@ -90,8 +90,8 @@ TEST(the_shipped_architectures_load_with_distinct_selection_keys) {
CHECK(keys.emplace(std::make_pair(p.arch_id, p.arch_quant), p.name).second);
}
const std::set<std::pair<std::string, std::string>> want = {
{ "anima", "" }, { "breeze", "" }, { "clef", "" }, { "clef", "fp8_e4m3" },
{ "embeddinggemma2", "" },
{ "anima", "" }, { "bailinghybrid", "" }, { "breeze", "" }, { "clef", "" },
{ "clef", "fp8_e4m3" }, { "embeddinggemma2", "" },
{ "fishomni", "bsgemm-moe" }, { "flux3", "" }, { "flux3distilled", "" },
{ "gemma3", "" }, { "gemma4", "" },
{ "gemma4", "compressed-tensors" }, { "glm5next", "" },