Add MiniCPM5-15B-A2.5B support (#51218)
* [Model] Add MiniCPM5-15B-A2.5B support
Add the MiniCPM5-15B-A2.5B Transformers implementation, routing behavior, documentation, and tests.
* Use the standard MoE layout and split MiniCPM5 attention gates on load
Signed-off-by: xuchengyang <xuchengyang@modelbest.cn>
* Fix MiniCPM5 gated projection loading with tensor parallelism and AWQ exclusions
Signed-off-by: xuchengyang <xuchengyang@modelbest.cn>
* Reject MiniCPM5 tensor parallel plans that split KV heads
Signed-off-by: xuchengyang <xuchengyang@modelbest.cn>
* Reuse DeepSeek V3 routing with autocast disabled for MiniCPM5
Signed-off-by: xuchengyang <xuchengyang@modelbest.cn>
* Declare MiniCPM5 rotary embeddings in the modular model
Signed-off-by: xuchengyang <xuchengyang@modelbest.cn>
* fixes
* last fixes
* fix repo
* dont shard attn
* nit
* add new tp style
* date
---------
Signed-off-by: xuchengyang <xuchengyang@modelbest.cn>
Co-authored-by: xuchengyang <xuchengyang@modelbest.cn>
Co-authored-by: vasqu <antonprogamer@gmail.com>
Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>