vllm.model_executor.models.bailing_moe_v3 ¶
vLLM implementation for BailingMoeV3ForCausalLM.
The HuggingFace reference model mixes MLA full-attention layers with Kimi Delta Attention linear layers and Bailing MoE blocks. This file keeps the V3 module/weight names aligned with the reference implementation while reusing vLLM's parallel linear layers, MLA kernel, KDA kernel and fused MoE loader.
Functions:
-
bailing_v3_kda_attention–Run Bailing V3's KDA state update outside the compiled graph.
bailing_v3_kda_attention(q_proj_states, k_proj_states, v_proj_states, g1, beta, core_attn_out, layer_name) ¶
Run Bailing V3's KDA state update outside the compiled graph.