deepseek-coder-33b-instruct needs about 22.5 GB of memory at Q4_K_M (a 19.9 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 21 quants, from 12.4 GB (Q2_K) to 27.4 GB (Q6_K).
deepseek-coder-33b-instruct is a 33.3B-parameter DeepSeek model in GGUF format, quantized by RichardErkhov. Its trained context length is 16K tokens. The repository has 21 quant files, from 12.4 GB (Q2_K) to 27.4 GB (Q6_K).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 12.4 GB | 14.9 GB | Too big | Get file → | |
| IQ3_XS | 13.7 GB | 16.3 GB | Too big | Get file → | |
| Q3_K_S | 14.4 GB | 17.0 GB | Too big | Get file → | |
| IQ3_S | 14.5 GB | 17.1 GB | Too big | Get file → | |
| IQ3_M | 15.0 GB | 17.6 GB | Too big | Get file → | |
| Q3_K | 16.1 GB | 18.7 GB | Too big | Get file → | |
| Q3_K_M | 16.1 GB | 18.7 GB | Too big | Get file → | |
| Q3_K_L | 17.6 GB | 20.1 GB | Too big | Get file → | |
| IQ4_XS | 18.0 GB | 20.6 GB | Too big | Get file → | |
| Q4_0 | 18.8 GB | 21.4 GB | Too big | Get file → | |
| Q4_K_S | 18.9 GB | 21.5 GB | Too big | Get file → | |
| IQ4_NL | 19.0 GB | 21.6 GB | Too big | Get file → | |
| Q4_K | 19.9 GB | 22.5 GB | Too big | Get file → | |
| Q4_K_M | 19.9 GB | 22.5 GB | Too big | Get file → | |
| Q4_1 | 20.9 GB | 23.5 GB | Too big | Get file → | |
| Q5_0 | 23.0 GB | 25.5 GB | Too big | Get file → | |
| Q5_K_S | 23.0 GB | 25.5 GB | Too big | Get file → | |
| Q5_K | 23.5 GB | 26.1 GB | Too big | Get file → | |
| Q5_K_M | 23.5 GB | 26.1 GB | Too big | Get file → | |
| Q5_1 | 25.0 GB | 27.6 GB | Too big | Get file → | |
| Q6_K | 27.4 GB | 29.9 GB | Too big | Get file → |
What GPU do you need for deepseek-coder-33b-instruct?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: no quant fits at an 8K context.
- 12 GB VRAM: no quant fits at an 8K context.
- 16 GB VRAM: the best quant that fits is Q2_K (12.4 GB file, about 14.9 GB in use).
- 24 GB VRAM: the best quant that fits is Q4_1 (20.9 GB file, about 23.5 GB in use).
- 32 GB VRAM: the best quant that fits is Q6_K (27.4 GB file, about 29.9 GB in use).
Which deepseek-coder-33b-instruct quant should you choose?
Q4_K_M is the usual starting point for deepseek-coder-33b-instruct: it balances file size and quality well. Here it is a 19.9 GB file.
If memory is tight, the smallest file is Q2_K at 12.4 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Frequently asked questions about deepseek-coder-33b-instruct
How much VRAM does deepseek-coder-33b-instruct need?
About 22.5 GB at Q4_K_M with an 8K context window. That is the 19.9 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run deepseek-coder-33b-instruct on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 14.9 GB, so you would need a larger GPU or CPU offloading.
What is the file size of deepseek-coder-33b-instruct GGUF?
It depends on the quant: Q2_K is 12.4 GB, IQ3_XS is 13.7 GB, Q3_K_S is 14.4 GB, IQ3_S is 14.5 GB, IQ3_M is 15.0 GB, Q3_K is 16.1 GB and 15 more.
What context length does deepseek-coder-33b-instruct support?
The GGUF header lists a trained context length of 16,384 tokens (16K). The KV cache grows with the context you use: about 2.1 GB at 8K and 4.2 GB at 16K.
Where can I download deepseek-coder-33b-instruct GGUF?
The files are on Hugging Face in the RichardErkhov/deepseek-ai_-_deepseek-coder-33b-instruct-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.