Instructions to use steampunque/DeepSeek-R1-Distill-Llama-8B-MP-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 steampunque/DeepSeek-R1-Distill-Llama-8B-MP-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 steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF # Run inference directly in the terminal: llama cli -hf steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF # Run inference directly in the terminal: llama cli -hf steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
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 steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
Use Docker
docker model run hf.co/steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
- Llama new
- LM Studio
- Jan
- Ollama
How to use steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF with Ollama:
ollama run hf.co/steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
- Unsloth Desktop
- Docker Model Runner
How to use steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF with Docker Model Runner:
docker model run hf.co/steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
- Lemonade
How to use steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-8B-MP-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Mixed Precision GGUF layer quantization of Deepseek R1 Distill Llama 3.1 8B Instruct by deepseek-ai
Original model: https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B
The hybrid quant employs different quantization levels on a per layer basis to enable both high performance and small file size at the same time. An extended layer definition E quant Q6_E_H for the model is defined as follows (released 11/17/2026):
LAYER_TYPES='[
["A","attn","Q","attn_q","K","attn_k","V","attn_v","O","attn_o","S","ssm","F","ffn","G","ffn_g","U","ffn_u","D","ffn_d"],
["MAP","VOD","0","QN_K","2","Q2_K","3","Q3_K","4","Q4_K","5","Q5_K","6","Q6_K","8","Q8_0","h","F16","f","F32"],
[0 ,"Q6_K_866"], [1 ,"Q6_K_666"], [2 ,"Q6_K_666"], [3 ,"Q6_K_666"], [4 ,"Q5_K_665"], [5 ,"Q5_K_665"], [6 ,"Q5_K_665"], [7 ,"Q5_K_665"],
[8 ,"Q5_K_665"], [9 ,"Q5_K_665"], [10,"Q5_K_665"], [11,"Q5_K_665"], [12,"Q5_K_665"], [13,"Q5_K_665"], [14,"Q5_K_665"], [15,"Q5_K_666"],
[16,"Q6_K_666"], [17,"Q5_K_666"], [18,"Q6_K_666"], [19,"Q5_K_666"], [20,"Q6_K_666"], [21,"Q5_K_666"], [22,"Q6_K_666"], [23,"Q5_K_666"],
[24,"Q6_K_666"], [25,"Q6_K_666"], [26,"Q6_K_666"], [27,"Q6_K_666"], [28,"Q6_K_666"], [29,"Q6_K_666"], [30,"Q6_K_668"], [31,"Q6_K_866"]
]'
FLAGS="--token-embedding-type Q6_K --output-tensor-type Q6_K"
Comparison:
| Quant | size | PPL | Comment |
|---|---|---|---|
| Q6_K | 6.6e9 | 13.1 | Q6_K with default embedding and output |
| Q6_E_H | 6.3e9 | 13.2 | Hybrid quant with Q6_K embedding Q6_K output |
Usage:
DeepSeek R1 Distill Llama 8B is a distillation of DeepSeek R1 onto Llama-3.1 8B pretrain, effectively adding RL training / think block to Llama 3.1 8B. This training results in signficantly more token gen on reasoning prompts but can increase accuracy on some prompts. Subjective evaluation of the model shows that it is still pretty weak on general reasoning prompts. The RL can increase accuracy on some prompts here and there but is not reliable and does not magically enable the model to suddently handle problems that were way outside the latent space of the llama 3.1 8B pretrain already. On some niche use cases however performance boost over llama 3.1 8B instruct is quite dramatic, such as BBH audio bench.
This model may be used together with fixie-ai ultravox-v0_5-llama-3_1-8b to enable it to process audio (.mp3 and .wav files) and text inputs and generate text outputs. The mmproj file is made available here: https://huggingface.co/steampunque/ultravox-v0_5-llama-3_1-8b-Hybrid-GGUF
The model can be speculated using Qwen3 0.6B. Approximate performance on a 4070 with context and weights in VRAM using a custom downstream greedy speculator with fixed spec block length ND and dynamic vocab translation :
| Prompt | ND | Gen TPS | Comment |
|---|---|---|---|
| goldcoin | 0 | 73 | non code |
| goldcoin | 3 | 102 | non code |
| humaneval | 0 | 71 | code |
| humaneval | 4 | 120 | code |
| humaneval | 4 | 140 | Spec with Qwen 2.5 coder 0.5B, disable think mode (pure code gen) |
| humaneval | 6 | 147 | "" |
| humaneval | 8 | 146 | "" |
TIME=1 ND=8 NOTHINK=1 lm humaneval.txt
.
.
PN=313 PP=1592.3212257532905 TG=147.18952916334075 DN=426 DA=242
goldcoin: https://huggingface.co/datasets/steampunque/benchlm/blob/main/goldcoin.txt
humaneval: https://huggingface.co/datasets/steampunque/benchlm/blob/main/humaneval.txt
CODE:
Tests over a small set of code gen prompts conclude the model is not useful for code gen. It could not create a working program from text descriptions over a small set of code gen prompts with reasoning either enabled or forced off.
Benchmarks:
A full set of benchmarks for the model will eventually be given here: https://huggingface.co/spaces/steampunque/benchlm
Download the file from below:
| Link | Type | Size/e9 B | Notes |
|---|---|---|---|
| DeepSeek-R1-Distill-Llama-8B-Instruct.Q6_E_H.gguf | Q6_E_H | 6.3e9 B | 0.3B smaller than Q6_K |
| ultravox-v0_5-llama-3_1-8b.mmproj.gguf | F16 | 1.38e9 B | multimedia projector |
A discussion thread about the hybrid layer quant approach can be found here on the llama.cpp git repository:
- Downloads last month
- 254
We're not able to determine the quantization variants.
Model tree for steampunque/DeepSeek-R1-Distill-Llama-8B-MP-GGUF
Base model
deepseek-ai/DeepSeek-R1-Distill-Llama-8B