Text Generation
Transformers
Safetensors
English
llama
eagle3
speculative-decoding
sglang
draft-model
Mixture of Experts
mixture-of-experts
text-generation-inference
Instructions to use thoughtworks/MiniMax-M2.5-Eagle3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thoughtworks/MiniMax-M2.5-Eagle3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="thoughtworks/MiniMax-M2.5-Eagle3")# Load model directly from transformers import AutoTokenizer, LlamaForCausalLMEagle3 tokenizer = AutoTokenizer.from_pretrained("thoughtworks/MiniMax-M2.5-Eagle3") model = LlamaForCausalLMEagle3.from_pretrained("thoughtworks/MiniMax-M2.5-Eagle3") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use thoughtworks/MiniMax-M2.5-Eagle3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "thoughtworks/MiniMax-M2.5-Eagle3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thoughtworks/MiniMax-M2.5-Eagle3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/thoughtworks/MiniMax-M2.5-Eagle3
- SGLang
How to use thoughtworks/MiniMax-M2.5-Eagle3 with 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 "thoughtworks/MiniMax-M2.5-Eagle3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thoughtworks/MiniMax-M2.5-Eagle3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "thoughtworks/MiniMax-M2.5-Eagle3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thoughtworks/MiniMax-M2.5-Eagle3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use thoughtworks/MiniMax-M2.5-Eagle3 with Docker Model Runner:
docker model run hf.co/thoughtworks/MiniMax-M2.5-Eagle3
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -128,16 +128,16 @@ EAGLE3 trains a single-layer draft head that predicts the next token using hidde
|
|
| 128 |
|
| 129 |
*Config: steps=3, topk=4, draft_tokens=8. 8x H200 (TP=4).*
|
| 130 |
|
| 131 |
-
**With draft_tokens=6 (
|
| 132 |
|
| 133 |
| Dataset | Baseline (tok/s) | EAGLE3 (tok/s) | Speedup |
|
| 134 |
|---------|-----------------|----------------|---------|
|
| 135 |
-
| HumanEval | 109.6 |
|
| 136 |
-
| Terminal-Bench | 108.9 |
|
| 137 |
-
| MT-Bench | 109.0 |
|
| 138 |
-
| SWEBench-Verified | 109.1 |
|
| 139 |
|
| 140 |
-
*Config: steps=3, topk=4, draft_tokens=
|
| 141 |
|
| 142 |
## Model Architecture
|
| 143 |
|
|
|
|
| 128 |
|
| 129 |
*Config: steps=3, topk=4, draft_tokens=8. 8x H200 (TP=4).*
|
| 130 |
|
| 131 |
+
**With draft_tokens=6 (verified 2026-04-12)**:
|
| 132 |
|
| 133 |
| Dataset | Baseline (tok/s) | EAGLE3 (tok/s) | Speedup |
|
| 134 |
|---------|-----------------|----------------|---------|
|
| 135 |
+
| HumanEval | 109.6 | 177.0 | **1.61x** |
|
| 136 |
+
| Terminal-Bench | 108.9 | 160.8 | **1.48x** |
|
| 137 |
+
| MT-Bench | 109.0 | 146.8 | **1.35x** |
|
| 138 |
+
| SWEBench-Verified | 109.1 | 123.1 | **1.13x** |
|
| 139 |
|
| 140 |
+
*Config: steps=3, topk=4, draft_tokens=8. 4x H200 (TP=4). Server-side Prometheus metrics.*
|
| 141 |
|
| 142 |
## Model Architecture
|
| 143 |
|