vllm.model_executor.models.bailing_moe_linear
¶
Classes:
-
BailingMoeV25–Bailing MoE v2.5 - standalone implementation for linear attention model.
-
BailingMoeV25DecoderLayer–Decoder layer supporting both linear and full attention.
-
BailingMoeV25ForCausalLM–Bailing MoE v2.5 For CausalLM.
-
BailingMoeV25MLAAttention–MLA Attention for BailingMoeV2.5 full attention layers.
-
BailingMoeV25Model–Bailing MoE v2.5 Model with hybrid attention support.
BailingMoeV25
¶
BailingMoeV25ForCausalLM
¶
Bases: Module, HasInnerState, IsHybrid, SupportsPP
Bailing MoE v2.5 For CausalLM.
Methods:
-
get_mamba_state_shape_from_config–Calculate shape for linear attention cache.
get_mamba_state_shape_from_config(vllm_config)
classmethod
¶
Calculate shape for linear attention cache.
BailingMoeV25MLAAttention
¶
BailingMoeV25Model
¶
Bases: Module
Bailing MoE v2.5 Model with hybrid attention support.
Methods:
-
get_expert_mapping–Get expert parameter mapping for MoE layers.
-
load_weights–Load checkpoint weights with simplified mapping.