LL

LLaMA Pro 8B Instruct

LlamaGGUF by mradermacherUpdated 2024-11-15
Download on Hugging Face
Parameters8.36B
Context4K
Layers40
Architecturellama
Smallest quant1.9 GB
Quick answer

LLaMA Pro 8B Instruct needs about 10.9 GB of memory at Q4_K_M (a 5.1 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 24 quants, from 1.9 GB (IQ1_S) to 6.9 GB (Q6_K).

LLaMA Pro 8B Instruct – 8.36B‑parameter model for programming and math

LLaMA Pro 8B Instruct expands the LLaMA‑2‑7B architecture to 8.36B parameters. It is trained on coding and mathematical data and retains general language abilities. The model is available in multiple GGUF quantizations.

Good at

  • Programming and code generation
  • Mathematical reasoning
  • General language tasks

Limits

  • No vision support
  • Maximum context length 4096 tokens
  • License is llama2

Best for

  • Code completion in IDEs
  • Solving math problems
  • Chatbot responses

Who it’s for. Developers needing a lightweight code assistant or researchers working on mathematical NLP tasks. The model is suitable for users who prefer open‑source LLMs with a permissive license.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S1.9 GB 5.1 GB
Fits Get file →
IQ1_M2.0 GB 5.2 GB
Fits Get file →
IQ2_XXS2.3 GB 5.5 GB
Fits Get file →
IQ2_XS2.5 GB 5.7 GB
Fits Get file →
IQ2_S2.7 GB 5.9 GB
Fits Get file →
IQ2_M2.9 GB 6.1 GB
Fits Get file →
Q2_K3.1 GB 6.3 GB
Fits Get file →
IQ3_XXS3.2 GB 6.4 GB
Fits Get file →
IQ3_XS3.5 GB 6.6 GB
Fits Get file →
IQ3_S3.6 GB 6.8 GB
Fits Get file →
Q3_K_S3.6 GB 6.8 GB
Fits Get file →
IQ3_M3.9 GB 7.0 GB
Fits Get file →
Q3_K_M4.1 GB 7.3 GB
Tight Get file →
Q3_K_L4.5 GB 7.6 GB
Tight Get file →
IQ4_XS4.5 GB 7.7 GB
Tight Get file →
Q4_04.7 GB 7.9 GB
Tight Get file →
Q4_04.7 GB 7.9 GB
Tight Get file →
Q4_04.7 GB 7.9 GB
Tight Get file →
Q4_04.8 GB 7.9 GB
Tight Get file →
Q4_K_S4.8 GB 8.0 GB
Tight Get file →
Q4_K_M5.1 GB 8.2 GB
Too big Get file →
Q5_K_S5.8 GB 8.9 GB
Too big Get file →
Q5_K_M5.9 GB 9.1 GB
Too big Get file →
Q6_K6.9 GB 10.0 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (1.88 GB, 7.7 GB memory) or IQ1_M (2.03 GB, 7.9 GB memory). With 12 GB VRAM, Q4_K_M (5.06 GB, 10.9 GB memory) or Q5_K_M (5.93 GB, 11.8 GB memory) are suitable. Larger VRAM allows higher‑quality quants such as Q6_K (6.86 GB, 12.7 GB memory).

What GPU do you need for LLaMA Pro 8B 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: the best quant that fits is IQ1_M (2.0 GB file, about 7.9 GB in use).
  • 12 GB VRAM: the best quant that fits is Q5_K_M (5.9 GB file, about 11.8 GB in use).
  • 16 GB VRAM: the best quant that fits is Q6_K (6.9 GB file, about 12.7 GB in use).

Which LLaMA Pro 8B Instruct quant should you choose?

Q4_K_M is the usual starting point for LLaMA Pro 8B Instruct: it balances file size and quality well. Here it is a 5.1 GB file.

If memory is tight, the smallest file is IQ1_S at 1.9 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
Parameters8.36B
Layers40
Trained context4,096 tokens
KV cache (fp16)640 KB per token

Source

Quantized bymradermacher
FamilyLlama
Licensellama2
Downloads (HF)1,328
Last updated2024-11-15

Frequently asked questions about LLaMA Pro 8B Instruct

How much VRAM does LLaMA Pro 8B Instruct need?

About 10.9 GB at Q4_K_M with an 8K context window. That is the 5.1 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 Pro 8B Instruct on an 8 GB GPU?

Yes, with IQ1_M: the 2.0 GB file needs about 7.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of LLaMA Pro 8B Instruct GGUF?

It depends on the quant: IQ1_S is 1.9 GB, IQ1_M is 2.0 GB, IQ2_XXS is 2.3 GB, IQ2_XS is 2.5 GB, IQ2_S is 2.7 GB, IQ2_M is 2.9 GB and 18 more.

What context length does LLaMA Pro 8B Instruct support?

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

Where can I download LLaMA Pro 8B Instruct GGUF?

The files are on Hugging Face in the mradermacher/LLaMA-Pro-8B-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 LLaMA Pro 8B Instruct use?

Hugging Face lists the license as llama2. 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 LLaMA Pro 8B Instruct on 8 GB VRAM?

Yes, use IQ1_S or IQ1_M quantizations; they require about 7.7–7.9 GB memory at 8k context.

Does the model support image inputs?

No, LLaMA Pro 8B Instruct has no vision capability.

What license applies to this model?

The model is released under the llama2 license.

Other GGUFs of LLaMA-Pro-8B-Instruct

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Llama models

All Llama →

Other small models

All small models →