danielhanchen commited on
Commit
59a0b9f
Β·
verified Β·
1 Parent(s): eec7ebb

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +73 -73
README.md CHANGED
@@ -5,81 +5,56 @@ license_name: minimax-community
5
  license_link: LICENSE
6
  library_name: transformers
7
  tags:
8
- - multimodal
9
- - moe
10
- - agent
11
- - coding
12
- - video
13
- base_model:
14
- - MiniMaxAI/MiniMax-M3
15
  ---
16
- # Read our How to [Run MiniMax M3 Guide!](https://unsloth.ai/docs/models/minimax-m3)
17
- <div>
18
- <p style="margin: 0 0 0px 0; margin-top: 0px;">
19
- <em>See <a href="https://unsloth.ai/docs/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0 GGUFs</a> for our quantization benchmarks.</em>
20
- </p>
21
- <div style="display: flex; gap: 5px; align-items: center; margin-bottom: 0px;">
22
- <a href="https://github.com/unslothai/unsloth/">
23
- <img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
24
- </a>
25
- <a href="https://discord.gg/unsloth">
26
- <img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
27
- </a>
28
- <a href="https://unsloth.ai/docs/models/minimax-m3">
29
- <img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
30
- </a>
31
- </div>
32
- <div style="margin: 0;">
33
- <b>EXPERIMENTAL GGUF / support for MiniMax-M3 in llama.cpp:</b>
34
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  </div>
36
-
37
- MiniMax-M3 support in llama.cpp is preliminary and not yet in a released build. To run these GGUFs, build llama.cpp from [PR #24523](https://github.com/ggml-org/llama.cpp/pull/24523):
38
-
39
- ```bash
40
- git clone https://github.com/ggml-org/llama.cpp
41
- cd llama.cpp
42
- git fetch origin pull/24523/head:minimax-m3
43
- git checkout minimax-m3
44
- cmake -B build -DGGML_CUDA=ON
45
- cmake --build build --config Release -j --target llama-cli llama-server
46
- ```
47
-
48
- Then run a quant. The model is large (~428B params), so offload across GPUs with `-ngl 99` or keep the weights in CPU RAM:
49
-
50
- ```bash
51
- ./build/bin/llama-cli -hf unsloth/MiniMax-M3-GGUF:UD-IQ1_M
52
- ```
53
-
54
- Note: MiniMax Sparse Attention is not supported yet, so inference falls back to dense attention.
55
-
56
- ---
57
-
58
- # MiniMax-M3
59
-
60
- ## Run MiniMax-M3 in llama.cpp
61
-
62
- MiniMax-M3 support in llama.cpp is preliminary and not yet in a released build. To run these GGUFs, build llama.cpp from [PR #24523](https://github.com/ggml-org/llama.cpp/pull/24523):
63
-
64
- ```bash
65
- git clone https://github.com/ggml-org/llama.cpp
66
- cd llama.cpp
67
- git fetch origin pull/24523/head:minimax-m3
68
- git checkout minimax-m3
69
- cmake -B build -DGGML_CUDA=ON
70
- cmake --build build --config Release -j --target llama-cli llama-server
71
- ```
72
-
73
- Then run a quant. The model is large (~428B params), so offload across GPUs with `-ngl 99` or keep the weights in CPU RAM:
74
-
75
- ```bash
76
- ./build/bin/llama-cli \
77
- -hf unsloth/MiniMax-M3-GGUF:UD-Q4_K_XL \
78
- --jinja -ngl 99 --ctx-size 8192 \
79
- -p "Hello, who are you?"
80
- ```
81
-
82
- Note: MiniMax Sparse Attention is not supported yet, so inference falls back to dense attention.
83
 
84
  MiniMax-M3 is a native multimodal model with 1M context. It has ~428B parameters and ~23B activated parameters.
85
 
@@ -101,6 +76,9 @@ MiniMax-M3 is a native multimodal model with 1M context. It has ~428B parameters
101
  | Precision | bfloat16 |
102
  | Transformers | β‰₯ 4.52.4 (`trust_remote_code=True`) |
103
  | License | [MiniMax Community License](LICENSE) |
 
 
 
104
 
105
  ## How to Use
106
 
@@ -111,6 +89,28 @@ M3 supports two reasoning modes:
111
  - **thinking** β€” for complex reasoning, agentic tasks, and long-horizon collaboration.
112
  - **non-thinking** β€” for latency-sensitive scenarios such as chat and code completion.
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  ### ModelScope
115
 
116
  You can also get model weights from [ModelScope](https://modelscope.cn/models/MiniMax/MiniMax-M3).
@@ -129,4 +129,4 @@ Please refer to our [Tool Calling Guide](./docs/tool_calling_guide.md).
129
 
130
  ## Contact Us
131
 
132
- Contact us at [model@minimax.io](mailto:model@minimax.io).
 
5
  license_link: LICENSE
6
  library_name: transformers
7
  tags:
8
+ - multimodal
9
+ - moe
10
+ - agent
11
+ - coding
12
+ - video
 
 
13
  ---
14
+
15
+ <div align="center">
16
+ <img width="60%" src="figures/logo.svg" alt="MiniMax">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  </div>
18
+ <hr>
19
+
20
+ <div align="center" style="line-height: 1.4; font-size:16px; margin-top: 30px;">
21
+ Join Our
22
+ <a href="https://platform.minimaxi.com/docs/faq/contact-us" target="_blank" style="font-size:17px; margin: 2px;">
23
+ πŸ’¬ WeChat
24
+ </a> |
25
+ <a href="https://discord.com/invite/DPC4AHFCBw" target="_blank" style="font-size:17px; margin: 2px;">
26
+ 🧩 Discord
27
+ </a>
28
+ community.
29
+ </div>
30
+ <div align="center" style="line-height: 1.2; font-size:16px;">
31
+ <a href="https://agent.minimax.io/" target="_blank" style="display: inline-block; margin: 4px;">
32
+ MiniMax Agent
33
+ </a> |
34
+ <a href="https://platform.minimax.io/docs/guides/text-generation" target="_blank" style="display: inline-block; margin: 4px;">
35
+ ⚑️ API
36
+ </a> |
37
+ <a href="https://github.com/MiniMax-AI/cli" style="display: inline-block; margin: 4px;">
38
+ CLI
39
+ </a> |
40
+ <a href="https://www.minimax.io" target="_blank" style="display: inline-block; margin: 4px;">
41
+ MiniMax Website
42
+ </a>
43
+ </div>
44
+ <div align="center" style="line-height: 1.2; font-size:16px; margin-bottom: 30px;">
45
+ <a href="https://huggingface.co/MiniMaxAI" target="_blank" style="margin: 2px;">
46
+ πŸ€— Hugging Face
47
+ </a> |
48
+ <a href="https://github.com/MiniMax-AI/MiniMax-M3" target="_blank" style="margin: 2px;">
49
+ πŸ™ GitHub
50
+ </a> |
51
+ <a href="https://www.modelscope.cn/organization/MiniMax" target="_blank" style="margin: 2px;">
52
+ πŸ€–οΈ ModelScope
53
+ </a> |
54
+ <a href="https://huggingface.co/MiniMaxAI/MiniMax-M3/blob/main/LICENSE" style="margin: 2px;">
55
+ πŸ“„ LICENSE
56
+ </a>
57
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  MiniMax-M3 is a native multimodal model with 1M context. It has ~428B parameters and ~23B activated parameters.
60
 
 
76
  | Precision | bfloat16 |
77
  | Transformers | β‰₯ 4.52.4 (`trust_remote_code=True`) |
78
  | License | [MiniMax Community License](LICENSE) |
79
+ <p align="center">
80
+ <img width="100%" src="figures/benchmark.jpeg">
81
+ </p>
82
 
83
  ## How to Use
84
 
 
89
  - **thinking** β€” for complex reasoning, agentic tasks, and long-horizon collaboration.
90
  - **non-thinking** β€” for latency-sensitive scenarios such as chat and code completion.
91
 
92
+ ## Local Deployment
93
+
94
+ Download the model:
95
+
96
+ ```bash
97
+ hf download MiniMaxAI/MiniMax-M3 --local-dir MiniMax-M3
98
+ ```
99
+
100
+ We recommend the following inference frameworks (listed alphabetically) to serve the model:
101
+
102
+ ### SGLang
103
+
104
+ We recommend using [SGLang](https://docs.sglang.io/) to serve MiniMax-M3. Please refer to our [SGLang Deployment Guide](./docs/sglang_deploy_guide.md).
105
+
106
+ ### vLLM
107
+
108
+ We recommend using [vLLM](https://github.com/vllm-project/vllm) to serve MiniMax-M3. Please refer to our [vLLM Deployment Guide](./docs/vllm_deploy_guide.md).
109
+
110
+ ### Transformers
111
+
112
+ We recommend using [Transformers](https://github.com/huggingface/transformers) to serve MiniMax-M3. Please refer to our [Transformers Deployment Guide](./docs/transformers_deploy_guide.md).
113
+
114
  ### ModelScope
115
 
116
  You can also get model weights from [ModelScope](https://modelscope.cn/models/MiniMax/MiniMax-M3).
 
129
 
130
  ## Contact Us
131
 
132
+ Contact us at [model@minimax.io](mailto:model@minimax.io).