LL

llama 2 chat 13b q4 0

LlamaGGUF by AznorUpdated 2023-08-27
Download on Hugging Face
Parameters13B
Context—
Layers—
Architecture—
Smallest quant7.4 GB
Quick answer

llama 2 chat 13b q4 0 needs about 8.7 GB of memory at Q4_0 (a 7.4 GB file) with an 8K context window, so it fits on a 12 GB GPU.

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

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_07.4 GB 8.7 GB
Too big Get file →

What GPU do you need for llama 2 chat 13b 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: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is Q4_0 (7.4 GB file, about 8.7 GB in use).

Which llama 2 chat 13b q4 0 quant should you choose?

Q4_0 (7.4 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

Parameters13B

Source

Quantized byAznor
FamilyLlama
Downloads (HF)13
Last updated2023-08-27

Frequently asked questions about llama 2 chat 13b q4 0

How much VRAM does llama 2 chat 13b q4 0 need?

About 8.7 GB at Q4_0 with an 8K context window. That is the 7.4 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 13b q4 0 on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 8.7 GB, so you would need a larger GPU or CPU offloading.

What is the file size of llama 2 chat 13b q4 0 GGUF?

It depends on the quant: Q4_0 is 7.4 GB.

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

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

All medium models →