Lumimaid-Nexus-2x12B-MoE-vllm
Weight-format conversion of mrcuddle/Lumimaid-Nexus-2x12B-MoE for inference engines that expect the classic Mixtral layout (vLLM, llama.cpp converters, older transformers).
The source checkpoint uses the transformers-v5 packed MoE format (one stacked
mlp.experts.gate_up_proj / mlp.experts.down_proj tensor per layer). This
repo unpacks those into the classic per-expert block_sparse_moe.experts.{e}.{gate,up,down}_proj
tensors. No numerical values were changed — only tensor layout and naming.
| Source key (per layer) | This repo |
|---|---|
mlp.gate.weight | block_sparse_moe.gate.weight |
mlp.experts.gate_up_proj [2, 28672, 5120] | block_sparse_moe.experts.{0,1}.gate_proj.weight + up_proj.weight [14336, 5120] |
mlp.experts.down_proj [2, 5120, 14336] | block_sparse_moe.experts.{0,1}.down_proj.weight [5120, 14336] |
Model config, tokenizer, and chat template are identical to the source model. See the source repo for full model details and prompt format (ChatML/Tekken).