DE

Deepseek Coder 33b Instruct

DeepSeekGGUF by mradermacherUpdated 2024-09-09
Download on Hugging Face
Parameters33.3B
Context16K
Layers62
Architecturellama
Smallest quant7.2 GB
Quick answer

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 7.2 GB (IQ1_S) to 27.4 GB (Q6_K).

Deepseek Coder 33b Instruct is a 33.3B-parameter DeepSeek model in GGUF format, quantized by mradermacher. Its trained context length is 16K tokens. The repository has 21 quant files, from 7.2 GB (IQ1_S) to 27.4 GB (Q6_K).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S7.2 GB 9.7 GB
Too big Get file →
IQ1_M7.8 GB 10.4 GB
Too big Get file →
IQ2_XXS8.9 GB 11.5 GB
Too big Get file →
IQ2_XS9.9 GB 12.5 GB
Too big Get file →
IQ2_S10.5 GB 13.1 GB
Too big Get file →
IQ2_M11.4 GB 13.9 GB
Too big Get file →
Q2_K12.4 GB 14.9 GB
Too big Get file →
IQ3_XXS12.9 GB 15.4 GB
Too big Get file →
IQ3_XS13.7 GB 16.3 GB
Too big Get file →
Q3_K_S14.4 GB 17.0 GB
Too big Get file →
IQ3_S14.5 GB 17.1 GB
Too big Get file →
IQ3_M15.0 GB 17.6 GB
Too big Get file →
Q3_K_M16.1 GB 18.7 GB
Too big Get file →
Q3_K_L17.6 GB 20.1 GB
Too big Get file →
IQ4_XS17.9 GB 20.4 GB
Too big Get file →
Q4_018.9 GB 21.5 GB
Too big Get file →
Q4_K_S18.9 GB 21.5 GB
Too big Get file →
Q4_K_M19.9 GB 22.5 GB
Too big Get file →
Q5_K_S23.0 GB 25.5 GB
Too big Get file →
Q5_K_M23.5 GB 26.1 GB
Too big Get file →
Q6_K27.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: the best quant that fits is IQ2_XXS (8.9 GB file, about 11.5 GB in use).
  • 16 GB VRAM: the best quant that fits is IQ3_XXS (12.9 GB file, about 15.4 GB in use).
  • 24 GB VRAM: the best quant that fits is Q4_K_M (19.9 GB file, about 22.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 IQ1_S at 7.2 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

Architecturellama
Parameters33.3B
Layers62
Trained context16,384 tokens
KV cache (fp16)248 KB per token

Source

Quantized bymradermacher
FamilyDeepSeek
Licenseother
Downloads (HF)439
Last updated2024-09-09

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 9.7 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: IQ1_S is 7.2 GB, IQ1_M is 7.8 GB, IQ2_XXS is 8.9 GB, IQ2_XS is 9.9 GB, IQ2_S is 10.5 GB, IQ2_M is 11.4 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 mradermacher/deepseek-coder-33b-instruct-i1-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Deepseek Coder 33b Instruct use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of deepseek-coder-33b-instruct

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More DeepSeek models

All DeepSeek →

Other medium models

All medium models →