deepseek-ai
DeepSeek-R1-Distill-Qwen-7B
7.6B parameters · reasoning · Reasoning · DeepSeek family
Recommended download
Which version should I download?
Default pick: GGUF · Q4_K_M — Balanced size/quality — good default.
Set your rig to confirm it fits and to see if a higher-quality quant runs fully on your hardware.
| Format | Level | Size | Verdict | Est. speed | Quality note | Swarm | Download |
|---|---|---|---|---|---|---|---|
| GGUF | IQ4_XS | 3.93 GB | Set your rig | — | Bartowski IQ4_XS quant of DeepSeek-R1-Distill-Qwen-7B (7.616B dense) — compact low-bit option. MIT. | 2S / 0L webseed OK | |
| GGUF | Q4_K_M | 4.36 GB | Set your rig | — | Balanced size/quality — good default. | 2S / 0L webseed OK | |
| GGUF | Q8_0 | 7.54 GB | Set your rig | — | Unsloth Q8_0 quant of DeepSeek-R1-Distill-Qwen-7B (7.616B dense) — high-quality option. MIT. | 2S / 0L webseed OK |
GGUF · IQ4_XS
3.93 GB
- Est. speed
- —
- Swarm
- 2S / 0L webseed OK
Bartowski IQ4_XS quant of DeepSeek-R1-Distill-Qwen-7B (7.616B dense) — compact low-bit option. MIT.
GGUF · Q4_K_M
4.36 GB
- Est. speed
- —
- Swarm
- 2S / 0L webseed OK
Balanced size/quality — good default.
GGUF · Q8_0
7.54 GB
- Est. speed
- —
- Swarm
- 2S / 0L webseed OK
Unsloth Q8_0 quant of DeepSeek-R1-Distill-Qwen-7B (7.616B dense) — high-quality option. MIT.
Want a different quant? Request it on the board →
Runs fully on
Green = the model's best quant fits fully in GPU/unified memory at 8K context. Tap a card for its full "what runs on it" page.
Context
Advertised 128k · no independent evidence yet
No independent long-context evidence has been graded for this model yet — the advertised window above is the maintainer's number, not a usable-context claim.
Run it
Runtime completeness (IQ4_XS torrent): llama.cpp ✅ Ollama – vision sidecar –
- – Ollama — runs the GGUF directly; no Modelfile bundled
- – vision sidecar — not a vision model
Context / KV 8,192 tokens · FP16 set above the quant table
Generic commands (no rig set). GPU-offload values assume the model fits on your GPU — set your rig for values tuned to your hardware.
llama-server -m DeepSeek-R1-Distill-Qwen-7B-IQ4_XS.gguf -c 8192 -ngl 999
Use llama-cli in place of llama-server for a one-shot prompt.
FROM ./DeepSeek-R1-Distill-Qwen-7B-IQ4_XS.gguf
PARAMETER num_ctx 8192
PARAMETER num_gpu 999
PARAMETER stop "<|end▁of▁sentence|>"
PARAMETER temperature 0.6
PARAMETER top_p 0.95
# Chat template: Ollama uses the template embedded in the GGUF (no TEMPLATE directive needed).
ollama create deepseek-ai-deepseek-r1-distill-qwen-7b -f Modelfile
ollama run deepseek-ai-deepseek-r1-distill-qwen-7b
GGUF is not a first-class vLLM format.
vLLM GGUF support is experimental and single-file only; prefer safetensors/GPTQ/AWQ for production. If you must, pass the .gguf path to `vllm serve` with --load-format gguf on a recent vLLM.
transformers does not load GGUF weights.
GGUF weights run under llama.cpp, Ollama or LM Studio.
Load DeepSeek-R1-Distill-Qwen-7B-IQ4_XS.gguf, set the context length to 8192 tokens. Set GPU offload to Max (all layers).
MLX runs MLX-format weights only (Apple Silicon). This quant is a GGUF build.
GGUF weights run under llama.cpp, Ollama or LM Studio.
Technical details
Chat template
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
Sampling defaults
- top_p
- 0.95
- temperature
- 0.6
Stop strings
<|end▁of▁sentence|>
Evidence & provenance
Source
- Revision pin
-
916b56a44061fd5cd7d6a8fb632557ed4f724f60 - Manifest
- Present
License
- Name
- mit
- Commercial use
- yes
- Access
- Open
File hashes (SHA-256)
-
deepseek-r1-distill-qwen-7b-iq4-xs/DeepSeek-R1-Distill-Qwen-7B-IQ4_XS.gguf
23bc628ca6c45627e166c483587ce8bf73d050d4e3932a3f6908b5fbdcc5c7af -
deepseek-r1-distill-qwen-7b-iq4-xs/LICENSE
1c8f573e830ca9b3ebfeb7ace1823146e22b66f99ee223840e7637c9e745e1c7 -
deepseek-r1-distill-qwen-7b-iq4-xs/README.md
2e3e261282fafecef2f462be5b1bb6b1336ff166a934271d40e4c9dbf4f17420 -
deepseek-r1-distill-qwen-7b-q4-k-m/DeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf
731ece8d06dc7eda6f6572997feb9ee1258db0784827e642909d9b565641937b -
deepseek-r1-distill-qwen-7b-q4-k-m/LICENSE
1c8f573e830ca9b3ebfeb7ace1823146e22b66f99ee223840e7637c9e745e1c7 -
deepseek-r1-distill-qwen-7b-q4-k-m/README.md
108a7416cfcf69967ada8205f4e72c7725331e34c76ac4446091d6dc7c9766fe -
deepseek-r1-distill-qwen-7b-q8-0/DeepSeek-R1-Distill-Qwen-7B-Q8_0.gguf
7307bfbb539fd2e8ed636315440781fed23140dc7f911f64b33418f5b978281b -
deepseek-r1-distill-qwen-7b-q8-0/LICENSE
1c8f573e830ca9b3ebfeb7ace1823146e22b66f99ee223840e7637c9e745e1c7 -
deepseek-r1-distill-qwen-7b-q8-0/README.md
2e3e261282fafecef2f462be5b1bb6b1336ff166a934271d40e4c9dbf4f17420
Explore further
Appears in
Get an email when a better quant fits your rig.
Set your rig once; we'll alert you when a new or better-fitting build lands.
Performance reports
Real-world throughput reported by the community (and scraped sources).
Community
Reviews, sampler presets and community runtime reports. Be the first to contribute.
Community runtime reports
Unofficial, community-submitted "it loads for me" reports. These are not the official verified-working badge — an admin reviews reports before anything is marked officially verified.
Log in to report whether a quant loads in your runtime.
No community reports yet.