Skip to content

vllm.model_executor.layers.mamba.gdn.kimi_gdn_linear_attn

Functions:

_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.

a_log_weight_loader(shard_axis)

Load KDA A_log stored as either old 4D or current 1D weights.