LL

llama models

LlamaGGUF by YwungUpdated 2023-08-28
Download on Hugging Face
Parameters6.74B
Context—
Layers—
Architecture—
Smallest quant3.8 GB
Quick answer

llama models needs about 4.8 GB of memory at Q4_0 (a 3.8 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 3 quants, from 3.8 GB (Q4_0) to 3.8 GB (Q4_0).

llama models is a 6.74B-parameter Llama model in GGUF format, quantized by Ywung. The repository has 3 quant files, from 3.8 GB (Q4_0) to 3.8 GB (Q4_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_03.8 GB 4.7 GB
Fits Get file →
Q4_03.8 GB 4.8 GB
Fits Get file →
Q4_03.8 GB 4.8 GB
Fits Get file →

What GPU do you need for llama models?

These figures add the file size, an fp16 KV cache at an 8K context window 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 Q4_0 (3.8 GB file, about 4.8 GB in use).

Which llama models quant should you choose?

Q4_0 (3.8 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.

If memory is tight, the smallest file is Q4_0 at 3.8 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Parameters6.74B

Source

Quantized byYwung
FamilyLlama
Licensellama2
Downloads (HF)24
Last updated2023-08-28

Frequently asked questions about llama models

How much VRAM does llama models need?

About 4.8 GB at Q4_0 with an 8K context window. That is the 3.8 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 models on an 8 GB GPU?

Yes, with Q4_0: the 3.8 GB file needs about 4.8 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of llama models GGUF?

It depends on the quant: Q4_0 is 3.8 GB, Q4_0 is 3.8 GB, Q4_0 is 3.8 GB.

Where can I download llama models GGUF?

The files are on Hugging Face in the Ywung/llama-models 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 models 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.

Similar models

Browse all →

More Llama models

All Llama →

Other small models

All small models →