Instructions to use gghfez/DeepSeek-R1-Zero-IQ3_KS 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 gghfez/DeepSeek-R1-Zero-IQ3_KS 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 gghfez/DeepSeek-R1-Zero-IQ3_KS # Run inference directly in the terminal: llama cli -hf gghfez/DeepSeek-R1-Zero-IQ3_KS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gghfez/DeepSeek-R1-Zero-IQ3_KS # Run inference directly in the terminal: llama cli -hf gghfez/DeepSeek-R1-Zero-IQ3_KS
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 gghfez/DeepSeek-R1-Zero-IQ3_KS # Run inference directly in the terminal: ./build/bin/llama cli -hf gghfez/DeepSeek-R1-Zero-IQ3_KS
Use Docker
docker model run hf.co/gghfez/DeepSeek-R1-Zero-IQ3_KS
- Llama new
- LM Studio
- Jan
- vLLM
How to use gghfez/DeepSeek-R1-Zero-IQ3_KS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gghfez/DeepSeek-R1-Zero-IQ3_KS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gghfez/DeepSeek-R1-Zero-IQ3_KS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gghfez/DeepSeek-R1-Zero-IQ3_KS
- Ollama
How to use gghfez/DeepSeek-R1-Zero-IQ3_KS with Ollama:
ollama run hf.co/gghfez/DeepSeek-R1-Zero-IQ3_KS
- Unsloth Desktop
- Docker Model Runner
How to use gghfez/DeepSeek-R1-Zero-IQ3_KS with Docker Model Runner:
docker model run hf.co/gghfez/DeepSeek-R1-Zero-IQ3_KS
- Lemonade
How to use gghfez/DeepSeek-R1-Zero-IQ3_KS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gghfez/DeepSeek-R1-Zero-IQ3_KS
Run and chat with the model
lemonade run user.DeepSeek-R1-Zero-IQ3_KS-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Create README.md
Browse files1234567891011121314151617181920212223---quantized_by: gghfezpipeline_tag: text-generationbase_model: deepseek-ai/DeepSeek-R1-Zerolicense: mitbase_model_relation: quantizedtags:- mla- imatrix- deepseek_v3- conversational- ik_llama.cpp---
## `ik_llama.cpp` imatrix MLA Quantizations of deepseek-ai/DeepSeek-R1-Zero
This is an IQ3_KS quant of deepseek-ai/DeepSeek-R1-Zero using [ubergarm](https://huggingface.co/ubergarm)'s IQ3_KS recipe from [ubergarm/DeepSeek-TNG-R1T2-Chimera-GGUF](https://huggingface.co/ubergarm/DeepSeek-TNG-R1T2-Chimera-GGUF).
This quant collection **REQUIRES** [ik_llama.cpp](https://github.com/ikawrakow/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](https://huggingface.co/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.README.mdAdded+23