Instructions to use moxin-org/MiniMax-M2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use moxin-org/MiniMax-M2-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Use Docker
docker model run hf.co/moxin-org/MiniMax-M2-GGUF:Q4_K_XL
- LM Studio
- Jan
- vLLM
How to use moxin-org/MiniMax-M2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "moxin-org/MiniMax-M2-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "moxin-org/MiniMax-M2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/moxin-org/MiniMax-M2-GGUF:Q4_K_XL
- Ollama
How to use moxin-org/MiniMax-M2-GGUF with Ollama:
ollama run hf.co/moxin-org/MiniMax-M2-GGUF:Q4_K_XL
- Unsloth Studio
How to use moxin-org/MiniMax-M2-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for moxin-org/MiniMax-M2-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for moxin-org/MiniMax-M2-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for moxin-org/MiniMax-M2-GGUF to start chatting
- Pi
How to use moxin-org/MiniMax-M2-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "moxin-org/MiniMax-M2-GGUF:Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use moxin-org/MiniMax-M2-GGUF with Docker Model Runner:
docker model run hf.co/moxin-org/MiniMax-M2-GGUF:Q4_K_XL
- Lemonade
How to use moxin-org/MiniMax-M2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Run and chat with the model
lemonade run user.MiniMax-M2-GGUF-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use moxin-org/MiniMax-M2-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use moxin-org/MiniMax-M2-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf moxin-org/MiniMax-M2-GGUF:Q4_K_XL
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "moxin-org/MiniMax-M2-GGUF:Q4_K_XL" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00001-of-00006.gguf +3 -0
- Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00002-of-00006.gguf +3 -0
- Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00003-of-00006.gguf +3 -0
- Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00004-of-00006.gguf +3 -0
- Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00005-of-00006.gguf +3 -0
- Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00006-of-00006.gguf +3 -0
.gitattributes
CHANGED
|
@@ -39,3 +39,9 @@ Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00003-of-00006.gguf filter=lfs diff=lfs merge=l
|
|
| 39 |
Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00004-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00005-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00006-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00004-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00005-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
Moxin-Q4_K_XL/MiniMax-M2-Q4_K_XL-00006-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00001-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00002-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00003-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00004-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00005-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00006-of-00006.gguf filter=lfs diff=lfs merge=lfs -text
|
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00001-of-00006.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15466cb66edae6c19a8559bef38819ac9c4f43fa0480301268205bc807f6098e
|
| 3 |
+
size 24374688320
|
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00002-of-00006.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb3a9fa33e0bbe77e2da4dcd5688b886e38d2072a814e85621e69ea8f7d780f1
|
| 3 |
+
size 24390712480
|
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00003-of-00006.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e046c31510fa450b641c88f2fe296ba8c8cae6ba056d795cc96053ecea43d363
|
| 3 |
+
size 24988764064
|
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00004-of-00006.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5c89fd0b790b20ad710f1ab873c78a013dbac94be63cbfb29a5d44ae3d7a922
|
| 3 |
+
size 24390712480
|
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00005-of-00006.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be0058ad222ef9a6b9c73e8edda2e491e6f89ec3ca970901369b12d92a2089e8
|
| 3 |
+
size 24988764064
|
Moxin-MXFP4_MOE/MiniMax-M2-MXFP4_MOE-00006-of-00006.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8369b7ace622151c4f24f359e6f728dbff930756a856c6e318aba3bc942edeb7
|
| 3 |
+
size 641728704
|