Archived
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:
1 parent
1c2f55027c
commit
8611feb85e
3 files changed
+784
-2
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# Built in radiance's tree, or standalone against an installed radiance
|
||||
# (`cmake -S arch/bailing_hybrid -B build -DCMAKE_PREFIX_PATH=<radiance prefix>`); see cmake/RadAddPlugin.cmake.
|
||||
if(NOT COMMAND rad_add_plugin)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
project(bailing_hybrid LANGUAGES CXX)
|
||||
find_package(radiance REQUIRED)
|
||||
rad_plugin_defaults()
|
||||
endif()
|
||||
|
||||
rad_add_plugin(bailing_hybrid architectures SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/bailing_hybrid.cpp)
|
||||
Reference in new issue
Block a user