Instructions to use bartowski/DeepSeek-V2.5-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 bartowski/DeepSeek-V2.5-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 bartowski/DeepSeek-V2.5-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/DeepSeek-V2.5-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/DeepSeek-V2.5-GGUF:Q4_K_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 bartowski/DeepSeek-V2.5-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bartowski/DeepSeek-V2.5-GGUF:Q4_K_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 bartowski/DeepSeek-V2.5-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use bartowski/DeepSeek-V2.5-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bartowski/DeepSeek-V2.5-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": "bartowski/DeepSeek-V2.5-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
- Ollama
How to use bartowski/DeepSeek-V2.5-GGUF with Ollama:
ollama run hf.co/bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use bartowski/DeepSeek-V2.5-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
- Lemonade
How to use bartowski/DeepSeek-V2.5-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/DeepSeek-V2.5-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-V2.5-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Error serving GGUF models on vllm
Hi. Thanks for the quantizations.
I am trying to run the model on vllm. The architecture is supported as per the vllm documentation.
I first downloaded the GGUF shards from DeepSeek-V2.5-Q6_K
Then I merged them using the llama-gguf-split utility.
Finally when I run it as vllm serve DeepSeek-V2.5-Q6_K.gguf --tokenizer deepseek-ai/DeepSeek-V2.5, I get the error ValueError: Architecture deepseek2 not supported and it seems to originate from 'transformers/modeling_gguf_pytorch_utils.py'. Upon further investigataion, the GGUF_SUPPORTED_ARCHITECTURES list only ['llama', 'mistral', 'qwen2', 'qwen2moe', 'phi3']
Do you know any solution to this problem? Or do we have to wait until huggingface support deepseekv2 with GGUF?
thanks
Have you solved the problem yet? Because I'm experiencing the same issue.
No I didn't. Ended up using the paid API.
It's just not supported in vLLM I'm pretty sure :(
I think it's not vllm, but gguf support on hugging face transformers, that we need to wait for.
hmm maybe, i don't know whose responsibility it is to add it, just that it's explicitly not added in VLLM list
It seems that add --tokenizer deepseek-ai/DeepSeek-V2.5 --hf-config-path deepseek-ai/DeepSeek-V2.5 can solve this.