Instructions to use DevQuasar/MiniMaxAI.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 DevQuasar/MiniMaxAI.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 DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
Use Docker
docker model run hf.co/DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use DevQuasar/MiniMaxAI.MiniMax-M2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DevQuasar/MiniMaxAI.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": "DevQuasar/MiniMaxAI.MiniMax-M2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
- Ollama
How to use DevQuasar/MiniMaxAI.MiniMax-M2-GGUF with Ollama:
ollama run hf.co/DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use DevQuasar/MiniMaxAI.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 DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use DevQuasar/MiniMaxAI.MiniMax-M2-GGUF with Docker Model Runner:
docker model run hf.co/DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
- Lemonade
How to use DevQuasar/MiniMaxAI.MiniMax-M2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiniMaxAI.MiniMax-M2-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use DevQuasar/MiniMaxAI.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 DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
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:9931/v1 hermes config set model.default DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use DevQuasar/MiniMaxAI.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 DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M
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:9931/v1 \ --custom-model-id "DevQuasar/MiniMaxAI.MiniMax-M2-GGUF:Q4_K_M" \ --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"
Commit History
-
Upload MiniMaxAI.MiniMax-M2.IQ1_M-00004-of-00004.gguf with huggingface_hub
Verified signature278e869 -
Upload MiniMaxAI.MiniMax-M2.IQ1_M-00003-of-00004.gguf with huggingface_hub
Verified signature87a0d37 -
Upload MiniMaxAI.MiniMax-M2.IQ1_M-00002-of-00004.gguf with huggingface_hub
Verified signature0d64f4e -
Update README.md
Verified signature5c2be4c -
Upload MiniMaxAI.MiniMax-M2.IQ1_M-00001-of-00004.gguf with huggingface_hub
Verified signature326abf5 -
Update README.md
Verified signatureac55184 -
Update README.md
Verified signature518f6e3 -
Update README.md
Verified signaturec60a897 -
Update README.md
Verified signature8220508 -
Upload MiniMaxAI.MiniMax-M2.IQ2_XXS-00005-of-00005.gguf with huggingface_hub
Verified signatureaab1a91 -
Upload MiniMaxAI.MiniMax-M2.IQ2_XXS-00004-of-00005.gguf with huggingface_hub
Verified signaturea21ebad -
Upload MiniMaxAI.MiniMax-M2.IQ2_XXS-00003-of-00005.gguf with huggingface_hub
Verified signature8c6f237 -
Upload MiniMaxAI.MiniMax-M2.IQ2_XXS-00002-of-00005.gguf with huggingface_hub
Verified signature8fdcd88 -
Upload MiniMaxAI.MiniMax-M2.IQ2_XXS-00001-of-00005.gguf with huggingface_hub
Verified signature894729a -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00015-of-00015.gguf with huggingface_hub
Verified signature0ad8716 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00014-of-00015.gguf with huggingface_hub
Verified signatureb975787 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00013-of-00015.gguf with huggingface_hub
Verified signaturedbc676d -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00012-of-00015.gguf with huggingface_hub
Verified signatureccd469a -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00011-of-00015.gguf with huggingface_hub
Verified signaturecf547e3 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00010-of-00015.gguf with huggingface_hub
Verified signatureb57e87d -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00009-of-00015.gguf with huggingface_hub
Verified signaturee32f28f -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00008-of-00015.gguf with huggingface_hub
Verified signatured00b996 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00007-of-00015.gguf with huggingface_hub
Verified signature543d4e2 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00006-of-00015.gguf with huggingface_hub
Verified signature02db198 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00005-of-00015.gguf with huggingface_hub
Verified signature4175f61 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00004-of-00015.gguf with huggingface_hub
Verified signature8275cfe -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00003-of-00015.gguf with huggingface_hub
Verified signature703be88 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00002-of-00015.gguf with huggingface_hub
Verified signature7cfdb55 -
Upload MiniMaxAI.MiniMax-M2.Q6_K-00001-of-00015.gguf with huggingface_hub
Verified signature6a64073 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00019-of-00019.gguf with huggingface_hub
Verified signature4f6d047 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00018-of-00019.gguf with huggingface_hub
Verified signature2c7e183 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00017-of-00019.gguf with huggingface_hub
Verified signature3f5c95a -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00016-of-00019.gguf with huggingface_hub
Verified signature96ff9e7 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00015-of-00019.gguf with huggingface_hub
Verified signaturecf17de8 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00014-of-00019.gguf with huggingface_hub
Verified signature5a8d5fc -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00013-of-00019.gguf with huggingface_hub
Verified signature2ddef62 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00012-of-00019.gguf with huggingface_hub
Verified signature88c7c48 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00011-of-00019.gguf with huggingface_hub
Verified signaturedd46cdf -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00010-of-00019.gguf with huggingface_hub
Verified signature29dc396 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00009-of-00019.gguf with huggingface_hub
Verified signatureddb82f4 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00008-of-00019.gguf with huggingface_hub
Verified signature2cb66e3 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00007-of-00019.gguf with huggingface_hub
Verified signaturef38603e -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00006-of-00019.gguf with huggingface_hub
Verified signatureb656ad4 -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00005-of-00019.gguf with huggingface_hub
Verified signature14f6d3d -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00004-of-00019.gguf with huggingface_hub
Verified signature8c7ee2f -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00003-of-00019.gguf with huggingface_hub
Verified signature4c5e15c -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00002-of-00019.gguf with huggingface_hub
Verified signaturebdafbab -
Upload MiniMaxAI.MiniMax-M2.Q8_0-00001-of-00019.gguf with huggingface_hub
Verified signature2f47df9 -
Upload MiniMaxAI.MiniMax-M2.Q5_K_M-00012-of-00012.gguf with huggingface_hub
Verified signature1aa3d99 -
Upload MiniMaxAI.MiniMax-M2.Q5_K_M-00011-of-00012.gguf with huggingface_hub
Verified signature19636c6