Text Generation
GGUF
Mixture of Experts
expert-pruning
reap
deepseek_v4
compressed
llama.cpp
imatrix
conversational
Instructions to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-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 puwaer/DeepSeek-V4-Flash-0731-reap-200b-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 puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M # Run inference directly in the terminal: llama cli -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M # Run inference directly in the terminal: llama cli -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
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 puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M # Run inference directly in the terminal: ./llama-cli -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
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 puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
Use Docker
docker model run hf.co/puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
- LM Studio
- Jan
- vLLM
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "puwaer/DeepSeek-V4-Flash-0731-reap-200b-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": "puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
- Ollama
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf with Ollama:
ollama run hf.co/puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
- Unsloth Desktop
- Pi
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf with Docker Model Runner:
docker model run hf.co/puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
- Lemonade
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
Run and chat with the model
lemonade run user.DeepSeek-V4-Flash-0731-reap-200b-gguf-IQ1_M
List all available models
lemonade list
- Hermes Agent
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-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 puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_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:8080/v1 hermes config set model.default puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_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:8080/v1 \ --custom-model-id "puwaer/DeepSeek-V4-Flash-0731-reap-200b-gguf:IQ1_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"
MXFP4_MOE.gguf has wrong chat template
#1
by auf1r2 - opened
It seems like chat template is broken in MXFP4_MOE.gguf version:
llama-server --model "./DeepSeek-V4-Flash-0731-reap-200b-MXFP4_MOE.gguf" --host 192.168.1.86 --port 8080 --tools get_info --api-key XXX --jinja --gpu-layers all --parallel 1 --kv-unified --kv-offload --load-mode none --spec-type none --flash-attn on --cache-type-k bf16 --cache-type-v bf16 --ctx-size 262144 --batch-size 4096 --ubatch-size 2048 --temperature 0.8 --top-k 40 --repeat-penalty 1.05 --presence-penalty 0.05 --top-p 0.95 --min-p 0.05 --reasoning-format deepseek
....
0.30.033.781 W srv operator(): got exception: {"error":{"code":400,"message":"Unable to generate parser for this template. Automatic parser generation failed: \n------------\nWhile executing CallExpression at line 90, column 28 in source:\n...{%- else -%}↵ {{- raise_exception('deepseek-v4 chat template: unsupported...\n ^\nError: Jinja Exception: deepseek-v4 chat template: unsupported role tool","type":"invalid_request_error"}}
0.30.961.882 W srv stop: cancel task, id_task = 0
I've updated the chat template. This should fix the issue.