Instructions to use mradermacher/DeepSeek-V2-Chat-i1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/DeepSeek-V2-Chat-i1-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/DeepSeek-V2-Chat-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/DeepSeek-V2-Chat-i1-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 mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
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 mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S # Run inference directly in the terminal: ./llama-cli -hf mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
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 mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
Use Docker
docker model run hf.co/mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
- LM Studio
- Jan
- Ollama
How to use mradermacher/DeepSeek-V2-Chat-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/DeepSeek-V2-Chat-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
- Lemonade
How to use mradermacher/DeepSeek-V2-Chat-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/DeepSeek-V2-Chat-i1-GGUF:IQ1_S
Run and chat with the model
lemonade run user.DeepSeek-V2-Chat-i1-GGUF-IQ1_S
List all available models
lemonade list
- Atomic Chat
base_model: deepseek-ai/DeepSeek-V2-Chat
language:
- en
library_name: transformers
license: other
license_link: https://github.com/deepseek-ai/DeepSeek-V2/blob/main/LICENSE-MODEL
license_name: deepseek
quantized_by: mradermacher
About
weighted/imatrix quants of https://huggingface.co/deepseek-ai/DeepSeek-V2-Chat
static quants are available at https://huggingface.co/mradermacher/DeepSeek-V2-Chat-GGUF
Usage
If you are unsure how to use GGUF files, refer to one of TheBloke's READMEs for more details, including on how to concatenate multi-part files.
Provided Quants
(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)
| Link | Type | Size/GB | Notes |
|---|---|---|---|
| PART 1 PART 2 | i1-Q2_K | 86.0 | IQ3_XXS probably better |
| PART 1 PART 2 PART 3 | i1-Q4_K_S | 134.0 | optimal size/speed/quality |
Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):
And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9
FAQ / Model Request
See https://huggingface.co/mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized.
Thanks
I thank my company, nethype GmbH, for letting me use its servers and providing upgrades to my workstation to enable this work in my free time. Additional thanks to @nicoboss for giving me access to his hardware for calculating the imatrix for these quants.
