DE

deepseek coder 1.3b instruct

DeepSeekGGUF by confusion8760Updated 2024-03-27
Download on Hugging Face
Parameters1.35B
Context16K
Layers24
Architecturellama
Smallest quant1.0 GB
Quick answer

deepseek coder 1.3b instruct needs about 3.3 GB of memory at Q6_K (a 1.2 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 3 quants, from 1.0 GB (Q5_K_M) to 1.4 GB (Q8_0).

deepseek coder 1.3b instruct is a 1.35B-parameter DeepSeek model in GGUF format, quantized by confusion8760. Its trained context length is 16K tokens. The repository has 3 quant files, from 1.0 GB (Q5_K_M) to 1.4 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q5_K_M1.0 GB 3.1 GB
Fits Get file →
Q6_K1.2 GB 3.3 GB
Fits Get file →
Q8_01.4 GB 3.5 GB
Fits Get file →

What GPU do you need for deepseek coder 1.3b 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: the best quant that fits is Q8_0 (1.4 GB file, about 3.5 GB in use).

Which deepseek coder 1.3b instruct quant should you choose?

Q6_K (1.2 GB) is the middle option in this repository. Very close to the original quality for most uses, at a clearly larger size than 4-bit.

If memory is tight, the smallest file is Q5_K_M at 1.0 GB, with the quality trade-offs that come with fewer bits. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters1.35B
Layers24
Trained context16,384 tokens
KV cache (fp16)192 KB per token

Source

Quantized byconfusion8760
FamilyDeepSeek
Downloads (HF)219
Last updated2024-03-27

Frequently asked questions about deepseek coder 1.3b instruct

How much VRAM does deepseek coder 1.3b instruct need?

About 3.3 GB at Q6_K with an 8K context window. That is the 1.2 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 1.3b instruct on an 8 GB GPU?

Yes, with Q8_0: the 1.4 GB file needs about 3.5 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of deepseek coder 1.3b instruct GGUF?

It depends on the quant: Q5_K_M is 1.0 GB, Q6_K is 1.2 GB, Q8_0 is 1.4 GB.

What context length does deepseek coder 1.3b 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 1.6 GB at 8K and 3.2 GB at 16K.

Where can I download deepseek coder 1.3b instruct GGUF?

The files are on Hugging Face in the confusion8760/deepseek-coder-1.3b-instruct-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Similar models

Browse all →

More from confusion8760

All by confusion8760 →

More DeepSeek models

All DeepSeek →

Other tiny models

All tiny models →