mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #1818] Convert MiniMax M2.1 or DeepSeek V3.2 to CPU weight failed #1137
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @merries711 on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/1818
Reminder
System Info
------- System Info --------
CPU: INTEL(R) XEON(R) GOLD 6530 x2
RAM: 1T DDR5
GPU: NVIDIA GeForce RTX 3090 24G
------- KTransformers CLI v0.1.0 -------
Python 3.13.11
平台 Debian 13.3 ( Linux 6.12.63+deb13-amd64)
CUDA 13.1
------- Packages: -------
kt-kernel 0.5.1
sglang 0.5.8 (PyPI)
installed from source .
Reproduction
convert command :
by manually modifying config.json file,add "num_experts: 256" :
but in the original config.json file exists "num_local_experts : 256," , can the script use the it ?
https://huggingface.co/MiniMaxAI/MiniMax-M2.1/resolve/main/config.json
Others
No response
@SkqLiao commented on GitHub (Jan 28, 2026):
Hi, MiniMax M2.1's weights are already in FP8 format, so you can run FP8 inference directly without converting the weights. See the official tutorial for details.
Additionally, MiniMax’s weight format differs from DeepSeek’s, and the current conversion scripts do not support it—so we recommend using native FP8 inference instead of attempting to convert the weights.
@CodeZ-Hao commented on GitHub (Jan 29, 2026):
@SkqLiao I tried MiniMax M2.1 in FP8 with 4080, it's prefill has 700+ tokens, it work well, but it tooks more gpu memory than AMX. In this model size, amx performance would more than 500+ tps prefill, it can be an alternative in less gpu mem time.
And in this case, 3090 has not support FP8, so the amx support is the only chooise.
@merries711 commented on GitHub (Feb 2, 2026):
3090 do not support FP8 ?
@ErvinXie commented on GitHub (Feb 28, 2026):
MiniMax M2.1 weights are already in FP8 format and can be used directly without conversion. See the reply from SkqLiao above. Closing.