Archived
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.
11 lines
462 B
CMake
11 lines
462 B
CMake
# 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)
|