DE

DeepSeek Coder V2 Instruct 0724

DeepSeekGGUF by lmstudio-communityUpdated 2024-09-10
Download on Hugging Face
Parameters236B
Context160K
Layers60
Architecturedeepseek2
Smallest quant122.4 GB
Quick answer

DeepSeek Coder V2 Instruct 0724 needs about 183.2 GB of memory at Q4_K_M (a 142.5 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 4 quants, from 122.4 GB (Q3_K_L) 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 – a 236B parameter MoE code model

DeepSeek Coder V2 Instruct 0724 is a 236B parameter mixture‑of‑experts model trained on 163,840 context tokens. It supports coding and tool usage across 338 programming languages. The model extends DeepSeek‑V2 with additional 6 trillion tokens for improved code intelligence.

Good at

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

Limits

  • Requires 128K context support
  • No vision capabilities
  • License is other

Best for

  • Developers needing long‑form code assistance
  • Tool‑integrated coding workflows
  • Large‑context code analysis

Who it’s for. Engineers and researchers who need a high‑capacity code model for complex programming tasks. The model is suitable for local deployment with sufficient GPU memory and for integration into custom tooling via llama.cpp or vLLM.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_L122.4 GB (4 parts) 163.1 GB
Too big Get file →
Q4_K_M142.5 GB (4 parts) 183.2 GB
Too big Get file →
Q6_K193.5 GB (5 parts) 234.3 GB
Too big Get file →
Q8_0250.6 GB (7 parts) 291.4 GB
Too big Get file →

For 8K context, Q3_K_L needs about 163.1 GB of VRAM, Q4_K_M about 183.2 GB, Q6_K about 234.3 GB, and Q8_0 about 291.4 GB. Choose the smallest quant that fits your memory budget; Q3_K_L is the lightest option.

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?

Q4_K_M is the usual starting point for DeepSeek Coder V2 Instruct 0724: it balances file size and quality well. Here it is a 142.5 GB file.

The Q8_0 file is 250.6 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q3_K_L at 122.4 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

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 bylmstudio-community
FamilyDeepSeek
Licenseother
Downloads (HF)1,089
Last updated2024-09-10

Frequently asked questions about DeepSeek Coder V2 Instruct 0724

How much VRAM does DeepSeek Coder V2 Instruct 0724 need?

About 183.2 GB at Q4_K_M with an 8K context window. That is the 142.5 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 163.1 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: Q3_K_L is 122.4 GB, Q4_K_M is 142.5 GB, Q6_K is 193.5 GB, Q8_0 is 250.6 GB.

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 lmstudio-community/DeepSeek-Coder-V2-Instruct-0724-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_M on 8 GB VRAM?

No. Q4_K_M requires 183.2 GB of VRAM at 8K context, far above 8 GB.

What is the context length of this model?

The model supports up to 163,840 context tokens.

Does this model support vision tasks?

No, the model has no vision capabilities.

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

Similar models

Browse all →

More from lmstudio-community

All by lmstudio-community →

More DeepSeek models

All DeepSeek →

Other large models

All large models →