How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
# Run inference directly in the terminal:
llama-cli -hf gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
# Run inference directly in the terminal:
llama-cli -hf gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
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 gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
# Run inference directly in the terminal:
./llama-cli -hf gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
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 gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
# Run inference directly in the terminal:
./build/bin/llama-cli -hf gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
Use Docker
docker model run hf.co/gghfez/DeepSeek-R1-Zero-IQ2_KS:Q2_K
Quick Links

ik_llama.cpp imatrix MLA Quantizations of deepseek-ai/DeepSeek-R1-Zero

This is an IQ2_KS quant of deepseek-ai/DeepSeek-R1-Zero using ubergarm's IQ2_KS recipe from ubergarm/DeepSeek-TNG-R1T2-Chimera-GGUF.

This quant collection REQUIRES ik_llama.cpp fork to support advanced non-linear SotA quants and Multi-Head Latent Attention (MLA). Do not download these big files and expect them to run on mainline vanilla llama.cpp, ollama, LM Studio, KoboldCpp, etc!

I've uploaded the converted BF16 weights gghfez/DeepSeek-R1-Zero-256x21B-BF16 if I, or anyone else wants to create similar quants in the future.

Note: I may be deleting gghfez/DeepSeek-R1-Zero-256x21B-BF16 shortly due to the new huggingface storage limits.

Downloads last month
4
GGUF
Model size
672B params
Architecture
deepseek2
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for gghfez/DeepSeek-R1-Zero-IQ2_KS

Quantized
(6)
this model

Collection including gghfez/DeepSeek-R1-Zero-IQ2_KS