How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "Lasimeri/MiniMax-M2.7-int4-AutoRound" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Lasimeri/MiniMax-M2.7-int4-AutoRound",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "Lasimeri/MiniMax-M2.7-int4-AutoRound" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Lasimeri/MiniMax-M2.7-int4-AutoRound",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

MiniMax-M2.7 INT4 AutoRound

4-bit quantized version of MiniMaxAI/MiniMax-M2.7 using Intel AutoRound.

Quantization Config

Setting Value
Scheme W4A16 (INT4 weights, FP16 activations)
Group size 128
Ignored layers MoE gate layers (kept at full precision)
Method RTN (iters=0)

Usage

vLLM

vllm serve Lasimeri/MiniMax-M2.7-int4-AutoRound \
  --trust-remote-code \
  --tensor-parallel-size 8 \
  --enable-auto-tool-choice \
  --tool-call-parser minimax_m2 \
  --reasoning-parser minimax_m2_append_think

SGLang

python -m sglang.launch_server \
  --model-path Lasimeri/MiniMax-M2.7-int4-AutoRound \
  --trust-remote-code \
  --tp 8 \
  --reasoning-parser minimax-append-think \
  --tool-call-parser minimax-m2

Quantization Hardware

Quantized on a single-node rig:

Component Spec
CPU AMD EPYC 7742 (64C / 128T)
RAM 251 GB DDR4
GPUs 8× RTX 3080 (20 GB modded)

Peak resource usage during quantization: ~25.6 GB RAM, ~5 GB VRAM on GPU 0, ~1.3 GB on each remaining GPU.

Downloads last month
778
Safetensors
Model size
32B params
Tensor type
I32
·
F16
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 1 Ask for provider support

Model tree for Lasimeri/MiniMax-M2.7-int4-AutoRound

Quantized
(107)
this model