DE

DeepSeek Coder V2 Instruct 0724

DeepSeekGGUF by legraphistaUpdated 2024-09-09
Download on Hugging Face
Parameters236B
Context160K
Layers60
Architecturedeepseek2
Smallest quant47.4 GB
Quick answer

DeepSeek Coder V2 Instruct 0724 needs about 142.4 GB of memory at Q3_K_S (a 101.7 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 23 quants, from 47.4 GB (IQ1_S) to 250.6 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 161.1 GB.

DeepSeek Coder V2 Instruct 0724 – 236B MoE code model

DeepSeek Coder V2 Instruct 0724 is a 236B parameter Mixture‑of‑Experts model optimized for coding and tool use. It supports 338 programming languages and a 128K context window. The model is available in multiple GGUF quantizations for local inference.

Good at

  • Code generation
  • Tool‑based code tasks
  • Large context reasoning

Limits

  • No vision support
  • Requires large VRAM for high‑quant models
  • License is other

Best for

  • Developers needing code completion
  • Automated code review tools
  • Large‑scale code analysis

Who it’s for. Engineers and researchers who need a high‑capacity code model that can run locally with GGUF. The model is suitable for teams that can allocate sufficient GPU memory for the desired quantization.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S47.4 GB (2 parts) 88.2 GB
Too big Get file →
IQ1_M52.7 GB (3 parts) 93.4 GB
Too big Get file →
IQ2_XXS61.5 GB (3 parts) 102.3 GB
Too big Get file →
IQ2_XS68.7 GB (3 parts) 109.5 GB
Too big Get file →
IQ2_S69.9 GB (3 parts) 110.6 GB
Too big Get file →
IQ2_M76.9 GB (4 parts) 117.7 GB
Too big Get file →
Q2_K_S79.6 GB (4 parts) 120.4 GB
Too big Get file →
Q2_K85.9 GB (4 parts) 126.7 GB
Too big Get file →
IQ3_XXS90.8 GB (4 parts) 131.6 GB
Too big Get file →
IQ3_XS96.3 GB (5 parts) 137.1 GB
Too big Get file →
IQ3_S101.7 GB (5 parts) 142.4 GB
Too big Get file →
Q3_K_S101.7 GB (5 parts) 142.4 GB
Too big Get file →
IQ3_M103.4 GB (5 parts) 144.1 GB
Too big Get file →
Q3_K112.7 GB (5 parts) 153.4 GB
Too big Get file →
Q3_K_L122.4 GB (6 parts) 163.1 GB
Too big Get file →
IQ4_XS125.6 GB (6 parts) 166.3 GB
Too big Get file →
IQ4_NL132.9 GB (6 parts) 173.7 GB
Too big Get file →
Q4_K_S133.9 GB (6 parts) 174.6 GB
Too big Get file →
Q4_K142.5 GB (7 parts) 183.2 GB
Too big Get file →
Q5_K_S162.3 GB (7 parts) 203.1 GB
Too big Get file →
Q5_K167.2 GB (8 parts) 208.0 GB
Too big Get file →
Q6_K193.5 GB (9 parts) 234.3 GB
Too big Get file →
Q8_0250.6 GB (11 parts) 291.4 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (47.39 GB file, 88.2 GB memory at 8K context). For 16 GB VRAM, Q2_K_S (79.6 GB file, 120.4 GB memory) or IQ2_S (69.87 GB file, 110.6 GB memory) are options. For 32 GB VRAM, Q4_K (142.45 GB file, 183.2 GB memory) or Q5_K (167.22 GB file, 208 GB memory) provide higher quality.

What GPU do you need for DeepSeek Coder V2 Instruct 0724?

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: no quant fits at an 8K context.
  • 24 GB VRAM: no quant fits at an 8K context.
  • 32 GB VRAM: no quant fits at an 8K context.
  • 48 GB VRAM: no quant fits at an 8K context.

Which DeepSeek Coder V2 Instruct 0724 quant should you choose?

Q3_K_S (101.7 GB) is the middle option in this repository. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

If memory is tight, the smallest file is IQ1_S at 47.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

Architecturedeepseek2
Parameters236B (approximate, mixture of experts)
Layers60
Trained context163,840 tokens
KV cache (fp16)4800 KB per token

Source

Quantized bylegraphista
FamilyDeepSeek
Licenseother
Downloads (HF)1,220
Last updated2024-09-09

Frequently asked questions about DeepSeek Coder V2 Instruct 0724

How much VRAM does DeepSeek Coder V2 Instruct 0724 need?

About 142.4 GB at Q3_K_S with an 8K context window. That is the 101.7 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 V2 Instruct 0724 on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 88.2 GB, so you would need a larger GPU or CPU offloading.

What is the file size of DeepSeek Coder V2 Instruct 0724 GGUF?

It depends on the quant: IQ1_S is 47.4 GB, IQ1_M is 52.7 GB, IQ2_XXS is 61.5 GB, IQ2_XS is 68.7 GB, IQ2_S is 69.9 GB, IQ2_M is 76.9 GB and 17 more.

What context length does DeepSeek Coder V2 Instruct 0724 support?

The GGUF header lists a trained context length of 163,840 tokens (160K). The KV cache grows with the context you use: about 40.3 GB at 8K and 161.1 GB at 32K.

Where can I download DeepSeek Coder V2 Instruct 0724 GGUF?

The files are on Hugging Face in the legraphista/DeepSeek-Coder-V2-Instruct-0724-IMat-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 V2 Instruct 0724 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.

Can I run Q4_K on 16 GB VRAM?

Q4_K requires approximately 183.2 GB memory at 8K context, so 16 GB VRAM is insufficient.

How many shards does IQ3_M have?

IQ3_M is split into 5 shards.

What is the estimated memory for IQ1_M at 8K context?

IQ1_M estimates 93.4 GB memory at 8K context.

Other GGUFs of DeepSeek-Coder-V2-Instruct-0724

Similar models

Browse all →

More from legraphista

All by legraphista →

More DeepSeek models

All DeepSeek →

Other large models

All large models →