KTransformers

MiniMax 模型

MiniMax 页面同样按模型组织。MiniMax-M2 和 MiniMax-M2.5 的 FP8 Inference 已完成验证;Training 已经补过 smoke,但当前路线仍处于 blocked 状态,没有 Training TPS。

总览

模型InferenceTraining
MiniMax-M2FP8 GE10 默认;GE0 低 GPU 显存档置灰:remote code / Transformers API 不兼容
MiniMax-M2.5FP8 GE10 默认;GE0 低 GPU 显存档置灰:权重目录缺标准训练 loader 入口

Inference

Inference 摘要展示 Prefill/Decode TPS。

ModelMethodGE关键参数Prefill TPSDecode TPSPeak GPUPeak RSSEvidence
MiniMax-M2FP80mem-fraction-static=0.70, max-total-tokens=8192, max-running-requests=4122.7121.878.56GB436.47GBGE0 TPS sweep
MiniMax-M2FP810同 GE0127.7122.1316.9GB436.7GBGE10 TPS sweep
MiniMax-M2.5FP80同 GE0123.2422.098.56GB436.56GBGE0 TPS sweep
MiniMax-M2.5FP810同 GE0128.5021.7116.8GB436.4GBGE10 TPS sweep

推荐解释:

用途推荐
默认GE10。Prefill 最高,GPU 峰值仍低于 24GB
低 GPU 显存GE0。GPU 约 8.56GB,但系统内存仍需约 436GB
不推荐GE20/0.95 只剩 1438-token KV pool;GE30/0.95 加载 expert 时 CUDA OOM

MiniMax-M2 GE10 启动命令:

export CUDA_VISIBLE_DEVICES=0
export SGLANG_DISABLE_CUDNN_CHECK=1

python -m sglang.launch_server \
  --host 127.0.0.1 \
  --port 19214 \
  --model-path /path/to/MiniMax-M2 \
  --served-model-name minimax-m2-fp8-ge10 \
  --trust-remote-code \
  --tp-size 1 \
  --context-length 4096 \
  --mem-fraction-static 0.70 \
  --max-total-tokens 8192 \
  --chunked-prefill-size 512 \
  --max-prefill-tokens 512 \
  --max-running-requests 4 \
  --watchdog-timeout 1800 \
  --attention-backend triton \
  --sampling-backend pytorch \
  --disable-cuda-graph \
  --disable-radix-cache \
  --skip-server-warmup \
  --disable-shared-experts-fusion \
  --log-requests \
  --show-time-cost \
  --enable-request-time-stats-logging \
  --kt-weight-path /path/to/MiniMax-M2 \
  --kt-method FP8 \
  --kt-num-gpu-experts 10 \
  --kt-cpuinfer 96 \
  --kt-threadpool-count 2

MiniMax-M2.5 使用同一命令形态,替换这些参数:

--port 19215
--model-path /path/to/MiniMax-M2.5
--served-model-name minimax-m25-fp8-ge10
--kt-weight-path /path/to/MiniMax-M2.5

GE0 低 GPU 显存变体只改 --served-model-name 和:

--kt-num-gpu-experts 0

Training

MiniMax 的 Inference 可用不代表 Training 可用。当前 Training tab 可见但置灰。

ModelCase结果页面状态
MiniMax-M2upstream-clean training smokeremote code import 失败:缺 OutputRecorder置灰,无 Training TPS
MiniMax-M2compatibility-layer training smoke加兼容层后继续失败:ROPE_INIT_FUNCTIONS['default'] 不存在置灰,说明不是浅层 import 问题
MiniMax-M2.5training loader smokeAutoModel.from_pretrained 找不到标准 model.safetensors / pytorch_model.bin 入口置灰,Inference 权重路径不能直接训练

当前没有 MiniMax Training 推荐命令。下一步需要匹配 MiniMax remote code 的 Transformers 版本,修复 RoPE key 兼容,并准备可被 Training loader 识别的 M2.5 权重布局。