DeepSeek-R1-Distill-Qwen-7B GGUF size and VRAM requirements

⬇ 71,413 ❤ 144
Parameters7.62B
Context131,072

DeepSeek-R1-Distill-Qwen-7B is a large language model with 7.62 billion parameters, derived from the DeepSeek family and adapted from the Qwen architecture. It is designed for natural language understanding and generation tasks, leveraging distillation techniques to optimize efficiency while maintaining strong performance in text-based applications.

Under the hood it uses 28 transformer layers, a hidden size of 3,584, 28 attention heads. It uses grouped-query attention (28 query heads sharing 4 key/value heads), which already trims KV-cache memory compared with full multi-head attention.

To run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF locally at a 4,096-token context, its quantized versions need between 3.61 GB (IQ2_M, lowest quality) and 29.39 GB (F32, highest quality) of memory, weights plus KV cache and a system margin included. Context length drives that memory directly: at 4,096 tokens the KV cache for DeepSeek-R1-Distill-Qwen-7B-GGUF is about 0.22 GB, rising to roughly 7.0 GB at its full 131,072-token context. Shorter prompts free up memory for a higher-quality quantization.

For most users the best balance is Q6_K_L, needing about 7.09 GB. That means bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF fits entirely in the VRAM of a 6 GB GPU or larger, running fully on the GPU.

Available GGUF quantizations for bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF include IQ2_M, Q2_K, IQ3_XS, Q3_K_S, Q2_K_L, IQ3_M, Q3_K_M, Q3_K_L, IQ4_XS, IQ4_NL, Q4_0, Q4_K_S, Q3_K_XL, Q4_K_M, Q4_1, Q4_K_L, Q5_K_S, Q5_K_M, Q5_K_L, Q6_K, Q6_K_L, Q8_0, F16, F32. The model supports a native context length of up to 131,072 tokens; a longer context grows the KV cache and the memory needed.

→ Guide: How much VRAM do you need?

GGUF file size and memory by quantization

Compare real GGUF weight sizes, estimated KV cache and total memory for Q4, Q5, Q8 and every quantization published in this repository.

Quant.Bits QualityWeights KVTotal Speed~Verdict
IQ2_M 2.92 Low 2.59 GB 0.22 GB 3.61 GB 154.5 t/s Fits in VRAM
Q2_K 3.17 Low 2.81 GB 0.22 GB 3.83 GB 142.4 t/s Fits in VRAM
IQ3_XS 3.52 Fair 3.12 GB 0.22 GB 4.14 GB 128.4 t/s Fits in VRAM
Q3_K_S 3.67 Fair 3.25 GB 0.22 GB 4.27 GB 123.0 t/s Fits in VRAM
Q2_K_L 3.73 Fair 3.3 GB 0.22 GB 4.32 GB 121.0 t/s Fits in VRAM
IQ3_M 3.75 Fair 3.33 GB 0.22 GB 4.35 GB 120.2 t/s Fits in VRAM
Q3_K_M 4.0 Fair 3.55 GB 0.22 GB 4.57 GB 112.8 t/s Fits in VRAM
Q3_K_L 4.29 Good 3.81 GB 0.22 GB 4.83 GB 105.1 t/s Fits in VRAM
IQ4_XS 4.43 Good 3.93 GB 0.22 GB 4.95 GB 101.8 t/s Fits in VRAM
IQ4_NL 4.66 Good 4.13 GB 0.22 GB 5.15 GB 96.8 t/s Fits in VRAM
Q4_0 4.67 Good 4.14 GB 0.22 GB 5.16 GB 96.6 t/s Fits in VRAM
Q4_K_S 4.68 Good 4.15 GB 0.22 GB 5.17 GB 96.3 t/s Fits in VRAM
Q3_K_XL 4.8 Good 4.25 GB 0.22 GB 5.27 GB 94.1 t/s Fits in VRAM
Q4_K_M 4.92 Good 4.36 GB 0.22 GB 5.38 GB 91.7 t/s Fits in VRAM
Q4_1 5.12 Very good 4.54 GB 0.22 GB 5.56 GB 88.1 t/s Fits in VRAM
Q4_K_L 5.34 Very good 4.74 GB 0.22 GB 5.76 GB 84.4 t/s Fits in VRAM
Q5_K_S 5.58 Very good 4.95 GB 0.22 GB 5.97 GB 80.8 t/s Fits in VRAM
Q5_K_M 5.72 Very good 5.07 GB 0.22 GB 6.09 GB 78.9 t/s Fits in VRAM
Q5_K_L 6.07 Very good 5.38 GB 0.22 GB 6.4 GB 74.3 t/s Fits in VRAM
Q6_K 6.57 Excellent 5.82 GB 0.22 GB 6.84 GB 68.7 t/s Fits in VRAM
Q6_K_L 6.85 Excellent 6.07 GB 0.22 GB 7.09 GB 65.9 t/s Fits in VRAM
Q8_0 8.51 Excellent 7.54 GB 0.22 GB 8.56 GB 6.6 t/s Offload
F16 16.01 Excellent 14.19 GB 0.22 GB 15.21 GB 3.5 t/s Offload
F32 32.01 Excellent 28.38 GB 0.22 GB 29.39 GB Insufficient

KV cache computed from the model's exact architecture. Speed is a rough estimate bounded by memory bandwidth.

Frequently asked questions

What kind of model is bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF?

bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF is a reasoning-focused model with 7.62 billion parameters, based on the qwen2 architecture. It is distributed as GGUF files for local inference.

How much VRAM do you need to run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF?

You need about 5.97 GB of VRAM to run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF entirely on the GPU using the Q5_K_S quantization (at a 4,096-token context). Smaller quantizations lower the requirement at the cost of quality.

Can I run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF on an 8 GB GPU?

Yes. With 8 GB of VRAM you can run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF fully on the GPU using Q6_K_L (about 7.09 GB).

Can I run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF on a 16 GB GPU?

Yes. With 16 GB of VRAM you can run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF fully on the GPU using F16 (about 15.21 GB).

Can I run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF on a 24 GB GPU?

Yes. With 24 GB of VRAM you can run bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF fully on the GPU using F16 (about 15.21 GB).

What context length does bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF support?

bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF supports a native context length of up to 131,072 tokens. A longer context grows the KV cache, so it increases the memory needed to run the model.

What is the best quantization for bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF?

For bartowski/DeepSeek-R1-Distill-Qwen-7B-GGUF, a strong default is Q4_K_M, which needs about 5.38 GB and keeps most of the quality while roughly halving the memory versus 8-bit. With VRAM to spare, Q5_K_M or Q6_K add a little more quality; if you are tight on memory, a smaller quantization still runs. Pick the highest quantization that fits your VRAM.