Text Generation
GGUF
English
quantized
deepseek
deepseek-v4
deepseek-v4-flash
Mixture of Experts
mixture-of-experts
2-bit
4-bit precision
iq2_xxs
q2_k
q4_k
ds4
apple-silicon
metal
conversational
Instructions to use antirez/deepseek-v4-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 antirez/deepseek-v4-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 antirez/deepseek-v4-gguf:F32 # Run inference directly in the terminal: llama cli -hf antirez/deepseek-v4-gguf:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf antirez/deepseek-v4-gguf:F32 # Run inference directly in the terminal: llama cli -hf antirez/deepseek-v4-gguf:F32
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 antirez/deepseek-v4-gguf:F32 # Run inference directly in the terminal: ./build/bin/llama cli -hf antirez/deepseek-v4-gguf:F32
Use Docker
docker model run hf.co/antirez/deepseek-v4-gguf:F32
- Llama new
- LM Studio
- Jan
- vLLM
How to use antirez/deepseek-v4-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "antirez/deepseek-v4-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": "antirez/deepseek-v4-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/antirez/deepseek-v4-gguf:F32
- Ollama
How to use antirez/deepseek-v4-gguf with Ollama:
ollama run hf.co/antirez/deepseek-v4-gguf:F32
- Unsloth Desktop
- Pi
How to use antirez/deepseek-v4-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf antirez/deepseek-v4-gguf:F32
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": "antirez/deepseek-v4-gguf:F32" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use antirez/deepseek-v4-gguf with Docker Model Runner:
docker model run hf.co/antirez/deepseek-v4-gguf:F32
- Lemonade
How to use antirez/deepseek-v4-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull antirez/deepseek-v4-gguf:F32
Run and chat with the model
lemonade run user.deepseek-v4-gguf-F32
List all available models
lemonade list
- Hermes Agent
How to use antirez/deepseek-v4-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 antirez/deepseek-v4-gguf:F32
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 antirez/deepseek-v4-gguf:F32
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use antirez/deepseek-v4-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf antirez/deepseek-v4-gguf:F32
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 "antirez/deepseek-v4-gguf:F32" \ --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 DeepSeek-V4-Flash-Vision-Exp-MXFP4Experts-F16HC-F16Compressor-F16Indexer-Q8Attn-Q8Shared-Q8Out.gguf with huggingface_hub
Verified signaturef71f23d -
Upload DeepSeek-V4-Flash-Vision-Exp-Layers37-42Q4KExperts-OtherExpertLayersIQ2XXSGateUp-Q2KDown-AProjQ8-SExpQ8-OutQ8.gguf with huggingface_hub
Verified signature315e9d7 -
Upload DeepSeek-V4-Flash-Vision-Exp-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8.gguf with huggingface_hub
Verified signature071a411 -
Upload DeepSeek-V4-Flash-Vision-Exp-DSpark-support.gguf with huggingface_hub
Verified signature427965b -
Upload DeepSeek-V4-Flash-Vision-Encoder.gguf with huggingface_hub
Verified signature3808a79
-
Add DeepSeek V4 Pro 0813 Q2 imatrix GGUF
Verified signature86bb38c
-
Add DeepSeek V4 Flash 0731 DSpark support GGUF
Verified signaturee7f0403
-
Add DeepSeek V4 Flash 0731 MXFP4 GGUF
Verified signature1cd7b56
-
Add files using upload-large-folder tool
Verified signature88e011c
-
Add DeepSeek V4 Flash DSpark support GGUF
Verified signatureStandalone DSpark support GGUF converted from deepseek-ai/DeepSeek-V4-Flash-DSpark. SHA-256: 8b3adf5942bec22ae2ea867cd7079cf13530ba83ffcffaf00f5de48664a1a34ea88c423
-
Upload DeepSeek V4 PRO Q4 split coordinator half
Verified signature9170bf4 -
Upload DeepSeek V4 PRO Q4 split worker half
Verified signature41f3c8c
-
Add DeepSeek V4 PRO imatrix GGUF
Verified signature868db0a
-
Add DeepSeek V4 Flash mixed 2+4 bit GGUF
Verified signature8f9e66a
-
Add DeepSeek V4 Pro GGUF
Verified signature89c5dd5
-
Upload DS4 routed MoE imatrix
Verified signature3274cdc -
Upload DeepSeek V4 Flash Q4 imatrix GGUF
Verified signaturec566ab6
-
Replace imatrix GGUF with fixed routed-mid imatrix build
Verified signatureb0c3326 -
Add imatrix-guided Q2 GGUF
Verified signaturec198a70
-
Add model card metadata, tags, files table, and quant recipe (#4)
- Add model card metadata, tags, files table, and quant recipe (6b25e58487be7d2c7ab07a68394ae33298ef0f00) Co-authored-by: Mishig Davaadorj <mishig@users.noreply.huggingface.co>9cb905d
-
Update README.md
Verified signatureef3b960
-
Upload DeepSeek V4 Flash Q4 experts GGUF
Verified signatureaef5daf -
Upload DeepSeek V4 Flash MTP GGUF
Verified signaturee2acdb2
-
Delete DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat.gguf
Verified signature3af08b9 -
Upload DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2.gguf with huggingface_hub
Verified signature591165d -
Upload DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat.gguf with huggingface_hub
Verified signature143415f -
initial commit
Verified signature3e057ac