LL

llama 2 chat 7b q4 0

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

llama 2 chat 7b q4 0 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.

llama 2 chat 7b q4 0 is a 6.74B-parameter Llama model in GGUF format, quantized by Aznor. The repository has 1 quant file, from 3.8 GB (Q4_0) to 3.8 GB (Q4_0).

Quants & memory

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

What GPU do you need for llama 2 chat 7b q4 0?

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 2 chat 7b q4 0 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.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Parameters6.74B

Source

Quantized byAznor
FamilyLlama
Downloads (HF)28
Last updated2023-08-26

Frequently asked questions about llama 2 chat 7b q4 0

How much VRAM does llama 2 chat 7b q4 0 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 2 chat 7b q4 0 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 2 chat 7b q4 0 GGUF?

It depends on the quant: Q4_0 is 3.8 GB.

Where can I download llama 2 chat 7b q4 0 GGUF?

The files are on Hugging Face in the Aznor/llama-2-chat-7b-q4_0 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 Aznor

All by Aznor →

More Llama models

All Llama →

Other small models

All small models →