Instructions to use ubergarm/DeepSeek-R1-0528-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 ubergarm/DeepSeek-R1-0528-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 ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf ubergarm/DeepSeek-R1-0528-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 ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S # Run inference directly in the terminal: ./llama-cli -hf ubergarm/DeepSeek-R1-0528-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 ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
Use Docker
docker model run hf.co/ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
- LM Studio
- Jan
- vLLM
How to use ubergarm/DeepSeek-R1-0528-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ubergarm/DeepSeek-R1-0528-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": "ubergarm/DeepSeek-R1-0528-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
- Ollama
How to use ubergarm/DeepSeek-R1-0528-GGUF with Ollama:
ollama run hf.co/ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
- Unsloth Studio
How to use ubergarm/DeepSeek-R1-0528-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ubergarm/DeepSeek-R1-0528-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ubergarm/DeepSeek-R1-0528-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ubergarm/DeepSeek-R1-0528-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use ubergarm/DeepSeek-R1-0528-GGUF with Docker Model Runner:
docker model run hf.co/ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
- Lemonade
How to use ubergarm/DeepSeek-R1-0528-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ubergarm/DeepSeek-R1-0528-GGUF:IQ1_S
Run and chat with the model
lemonade run user.DeepSeek-R1-0528-GGUF-IQ1_S
List all available models
lemonade list
DeepSeek-R1-256x21B-0528-BF16 GGUF?
Would you be able to share how you've obtained or produced DeepSeek-R1-256x21B-0528-BF16...gguf please?
Heya @Thireus sounds like you're making progress! I created this bf16 using the evshiron llama.cpp fork + triton-cpu method. It is somewhat discussed scattered around ik_llama.cpp, i have a very rough set of command buried inside a fold called Click here for how to make your own custom quants including repacking in the Custom Quants section of this github discussion called "option b" hah.. Sorry can't direct link to heaers in discussions for somereason html anchors don't work...
I did not yet add this in better detail to my quant cookers guide as I didn't want to overwhelm folks just getting started with smaller models.
If you get stuck holler at me, saood06 and I did our best to make it easier for folks with this triton-cpu compiling issue so hopefully you don't need his patch anymore.
Good luck!
Found it. Thank you so much!
My next plan was to compute an imatrix but then I read - "you might need like 1.5TB RAM to do this with bf16 model, but is easier to make q8_0_r8 quant first, and use that to generate the imatrix.dat with only ~715G RAM"
😭
My next plan was to compute an imatrix
haha yeah one of the most challenging steps in terms of hardware requirements is you need enough RAM+VRAM to run inferencing on a model equivalent to the original e.g.
- bf16 safetensors -> bf16 GGUF
- fp8 safetensors -> Q8_0 GGUF (though some might try bf16 good luck lol)
The goal is to create the imatrix using a model most similar to the original as possible.
Do you have a specific imatrix corpus / methodology in mind?
I've given my latest methodology and corpus in the quant cookers basic guide. If you send me a (secret) gist with your corpus text and the ik_llama.cpp llama-imatrix command to run I might be able to find time on a big remote rig I'm using to run it for you on the R1-0528 Q8_0 like I did. Then I can upload the ~1GB file somewhere for you to use. An imatrix corpus utf8 text file under 2 MiB in size would probably take like 4-6 hours depending on exact settings.
Not at the moment, I think I'll be relying on yours for the time being. I've read about ik and your research on the topic (comparing other imatrix), which was eye opening!
I've started uploading the BF16 GGUF version I've converted on https://huggingface.co/Thireus/DeepSeek-R1-0528-BF16-GGUF.
I will let you know of my progress. Thank you so much.