MiniMax-01 icon indicating copy to clipboard operation
MiniMax-01 copied to clipboard

The inference performance of the sample code is very poor

Open kebe7jun opened this issue 1 year ago • 4 comments

Very cool model!

I used 8*Nvidia H20 to do inference testing based on the sample code, and found that the performance was only about 1 tokens/s, and the GPU could not be fully used. Is this in line with expectations? Currently, VLLM and SGLang are not adapted to MiniMax. Are there any other inference engines you would recommend?

kebe7jun avatar Jan 16 '25 13:01 kebe7jun

Thank you for your feedback. We are currently planning to support our models on open-source inference frameworks. At the same time, we also welcome community developers to join us in advancing the support for our models in open-source inference engines.

MiniMax-AI-Dev avatar Jan 17 '25 02:01 MiniMax-AI-Dev

The same thing happens to 8*A800 too. less than 1T/s...

terryaic avatar Jan 18 '25 01:01 terryaic

The same issue. On the H100 * 8 server, the fixed input token count is 2048 and the output token count is 240, When batch_size is 1, the time consumption reaches 620 seconds; When batch_size is 2, the time consumption reaches 765 seconds. It's too slow! Which open-source inference frameworks will be supported?

kanebay avatar Jan 23 '25 09:01 kanebay

We have submitted a 13454 to vllm, and the performance improvement compared to the Hugging Face's implementation is very significant. You might want to give it a try.

ZZBoom avatar Feb 19 '25 11:02 ZZBoom