Instructions to use lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use lmstudio-community/DeepSeek-R1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lmstudio-community/DeepSeek-R1-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": "lmstudio-community/DeepSeek-R1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M
- Ollama
How to use lmstudio-community/DeepSeek-R1-GGUF with Ollama:
ollama run hf.co/lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M
- Unsloth Studio
How to use lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-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 lmstudio-community/DeepSeek-R1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lmstudio-community/DeepSeek-R1-GGUF to start chatting
- Docker Model Runner
How to use lmstudio-community/DeepSeek-R1-GGUF with Docker Model Runner:
docker model run hf.co/lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M
- Lemonade
How to use lmstudio-community/DeepSeek-R1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lmstudio-community/DeepSeek-R1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +11 -0
- DeepSeek-R1-Q4_K_M-00001-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00002-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00003-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00004-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00005-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00006-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00007-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00008-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00009-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00010-of-00011.gguf +3 -0
- DeepSeek-R1-Q4_K_M-00011-of-00011.gguf +3 -0
.gitattributes
CHANGED
|
@@ -68,3 +68,14 @@ DeepSeek-R1-Q6_K-00012-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 68 |
DeepSeek-R1-Q6_K-00013-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
DeepSeek-R1-Q6_K-00014-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
| 70 |
DeepSeek-R1-Q6_K-00015-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
DeepSeek-R1-Q6_K-00013-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
DeepSeek-R1-Q6_K-00014-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
| 70 |
DeepSeek-R1-Q6_K-00015-of-00015.gguf filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
DeepSeek-R1-Q4_K_M-00001-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
DeepSeek-R1-Q4_K_M-00002-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
DeepSeek-R1-Q4_K_M-00003-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
DeepSeek-R1-Q4_K_M-00004-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
DeepSeek-R1-Q4_K_M-00005-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
DeepSeek-R1-Q4_K_M-00006-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
DeepSeek-R1-Q4_K_M-00007-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
DeepSeek-R1-Q4_K_M-00008-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
DeepSeek-R1-Q4_K_M-00009-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
DeepSeek-R1-Q4_K_M-00010-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
DeepSeek-R1-Q4_K_M-00011-of-00011.gguf filter=lfs diff=lfs merge=lfs -text
|
DeepSeek-R1-Q4_K_M-00001-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e6d9822cc6fe518265faac155f04556ad86f714ee8ef93c43456506b56e9aa7
|
| 3 |
+
size 38765709408
|
DeepSeek-R1-Q4_K_M-00002-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf518f3e227db16d74c722229091456d88495f6437eed55c3a2e59f0010e5fa6
|
| 3 |
+
size 38593153856
|
DeepSeek-R1-Q4_K_M-00003-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a78b69f5f3cfbc7920bf0cb38592e6dd0b3c28d080818813305b8e45a6fbfd0
|
| 3 |
+
size 38691070240
|
DeepSeek-R1-Q4_K_M-00004-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:846455711ad02974580bf23e1abfd5e174adaa751f6acd1794dca43e639fb508
|
| 3 |
+
size 38698439040
|
DeepSeek-R1-Q4_K_M-00005-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03235ab9b009d0007d0caa6a2969f614ad56608e9e15c485ac02f7f958f0c820
|
| 3 |
+
size 38593153888
|
DeepSeek-R1-Q4_K_M-00006-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0aade1fc7b997ded7053be3af3f5db06162ef1ba63f99652488940b0814af60
|
| 3 |
+
size 38691070240
|
DeepSeek-R1-Q4_K_M-00007-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9203c543ebd467da72b5edd72db7bfcbdf57603b2806f9e49ab9c3da2eb04cdf
|
| 3 |
+
size 37725770112
|
DeepSeek-R1-Q4_K_M-00008-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d60693acc254805120836a527e3a582dee0305fdf6fc639f54c2c424bc5d5004
|
| 3 |
+
size 38593153888
|
DeepSeek-R1-Q4_K_M-00009-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd4e2816622e15be1b2b25ce098087cd723c70b163b2fae400ba7a07c7e4f994
|
| 3 |
+
size 39663739168
|
DeepSeek-R1-Q4_K_M-00010-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c59d19c3376e87c814fc728aa21ab0670549b47143cfada60e303918da4286d2
|
| 3 |
+
size 39388973792
|
DeepSeek-R1-Q4_K_M-00011-of-00011.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98d9a7db34a51375408f32d07eb648156b1fc69aec681862dc2299a5b45b5499
|
| 3 |
+
size 17025954176
|