vllm.model_executor.layers.mamba.gdn.kimi_gdn_linear_attn
¶
Functions:
-
a_log_weight_loader–Load KDA A_log stored as either old 4D or current 1D weights.
_KimiGDNMergedColumnParallelLinear
¶
Bases: MergedColumnParallelLinear
Merged projection with one output replicated across TP ranks.
The replicated shard is represented as size * tp_size so the merged
parameter reserves size local rows on every rank. Loading that shard
from rank zero then gives every rank the complete checkpoint weight.
Source code in vllm/model_executor/layers/mamba/gdn/kimi_gdn_linear_attn.py
a_log_weight_loader(shard_axis)
¶
Load KDA A_log stored as either old 4D or current 1D weights.