LL

Llama-3-11.5B-Instruct-Coder-v2

LlamaGGUF by bartowskiUpdated 2024-05-08
Download on Hugging Face
Parameters11.5B
Context8K
Layers48
Architecturellama
Smallest quant2.8 GB
Quick answer

Llama-3-11.5B-Instruct-Coder-v2 needs about 9.1 GB of memory at Q4_K_M (a 7.0 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 22 quants, from 2.8 GB (IQ1_S) to 12.2 GB (Q8_0).

Llama‑3‑11.5B‑Instruct‑Coder‑v2 – a 11.5B parameter coding model

Llama‑3‑11.5B‑Instruct‑Coder‑v2 is a 11.5B parameter model trained for coding tasks. It supports a 8192 token context window and is released under the apache‑2.0 license. The model is available in multiple GGUF quantizations.

Good at

  • Coding assistance
  • Code generation
  • Debugging support

Limits

  • No vision support
  • Requires 8k context for full capability
  • License is apache‑2.0

Best for

  • Writing scripts
  • Explaining code snippets
  • Automating code reviews

Who it’s for. Developers and researchers needing a large‑scale coding assistant. The model is suitable for local deployment with llama.cpp and supports a variety of quantizations.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S2.8 GB 4.9 GB
Fits Get file →
IQ1_M3.0 GB 5.1 GB
Fits Get file →
IQ2_XXS3.3 GB 5.4 GB
Fits Get file →
IQ2_XS3.6 GB 5.7 GB
Fits Get file →
IQ2_S3.8 GB 6.0 GB
Fits Get file →
IQ2_M4.1 GB 6.2 GB
Fits Get file →
Q2_K4.5 GB 6.6 GB
Fits Get file →
IQ3_XXS4.6 GB 6.7 GB
Fits Get file →
IQ3_XS4.9 GB 7.1 GB
Fits Get file →
Q3_K_S5.2 GB 7.3 GB
Tight Get file →
IQ3_S5.2 GB 7.3 GB
Tight Get file →
IQ3_M5.3 GB 7.5 GB
Tight Get file →
Q3_K_M5.7 GB 7.8 GB
Tight Get file →
Q3_K_L6.2 GB 8.3 GB
Too big Get file →
IQ4_XS6.3 GB 8.4 GB
Too big Get file →
IQ4_NL6.6 GB 8.8 GB
Too big Get file →
Q4_K_S6.7 GB 8.8 GB
Too big Get file →
Q4_K_M7.0 GB 9.1 GB
Too big Get file →
Q5_K_S8.0 GB 10.1 GB
Too big Get file →
Q5_K_M8.2 GB 10.3 GB
Too big Get file →
Q6_K9.5 GB 11.6 GB
Too big Get file →
Q8_012.2 GB 14.4 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (2.76 GB file, 4.9 GB memory) or IQ1_M (2.97 GB file, 5.1 GB memory). If you have 12 GB VRAM, Q4_K_M (7.01 GB file, 9.1 GB memory) or Q5_K_S (8 GB file, 10.1 GB memory) are good choices. Larger VRAM allows higher‑quality quants like Q6_K (9.46 GB file, 11.6 GB memory).

What GPU do you need for Llama-3-11.5B-Instruct-Coder-v2?

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: the best quant that fits is IQ2_S (3.8 GB file, about 6.0 GB in use).
  • 8 GB VRAM: the best quant that fits is Q3_K_M (5.7 GB file, about 7.8 GB in use).
  • 12 GB VRAM: the best quant that fits is Q6_K (9.5 GB file, about 11.6 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_0 (12.2 GB file, about 14.4 GB in use).

Which Llama-3-11.5B-Instruct-Coder-v2 quant should you choose?

Q4_K_M is the usual starting point for Llama-3-11.5B-Instruct-Coder-v2: it balances file size and quality well. Here it is a 7.0 GB file.

The Q8_0 file is 12.2 GB, about 1.7 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 IQ1_S at 2.8 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
Parameters11.5B
Layers48
Trained context8,192 tokens
KV cache (fp16)192 KB per token

Source

Quantized bybartowski
FamilyLlama
Licenseapache-2.0
Downloads (HF)972
Last updated2024-05-08

Frequently asked questions about Llama-3-11.5B-Instruct-Coder-v2

How much VRAM does Llama-3-11.5B-Instruct-Coder-v2 need?

About 9.1 GB at Q4_K_M with an 8K context window. That is the 7.0 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 Llama-3-11.5B-Instruct-Coder-v2 on an 8 GB GPU?

Yes, with Q3_K_M: the 5.7 GB file needs about 7.8 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Llama-3-11.5B-Instruct-Coder-v2 GGUF?

It depends on the quant: IQ1_S is 2.8 GB, IQ1_M is 3.0 GB, IQ2_XXS is 3.3 GB, IQ2_XS is 3.6 GB, IQ2_S is 3.8 GB, IQ2_M is 4.1 GB and 16 more.

What context length does Llama-3-11.5B-Instruct-Coder-v2 support?

The GGUF header lists a trained context length of 8,192 tokens (8K). The KV cache grows with the context you use: about 1.6 GB at 8K and 1.6 GB at 8K.

Where can I download Llama-3-11.5B-Instruct-Coder-v2 GGUF?

The files are on Hugging Face in the bartowski/Llama-3-11.5B-Instruct-Coder-v2-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 Llama-3-11.5B-Instruct-Coder-v2 use?

Hugging Face lists the license as apache-2.0. 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 this model on 8 GB VRAM?

Yes, use IQ1_S or IQ1_M quantizations. They fit within 8 GB VRAM and use about 5 GB of memory at 8k context.

Does this model support vision?

No, the model has no vision capabilities.

What license applies to this model?

The model is released under the apache‑2.0 license.

Similar models

Browse all →

More from bartowski

All by bartowski →

More Llama models

All Llama →

Other medium models

All medium models →