LL

Llama-3-8B-Instruct-Gradient-4194k

LlamaGGUF by ZeroWwUpdated 2024-06-29
Download on Hugging Face
Parameters8.03B
Context1K
Layers32
Architecturellama
Smallest quant7.0 GB
Quick answer

Llama-3-8B-Instruct-Gradient-4194k needs about 9.4 GB of memory at Q6_K (a 7.8 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 4 quants, from 7.0 GB (Q5_K) to 16.1 GB (F16).

Llama-3-8B-Instruct-Gradient-4194k is a 8.03B-parameter Llama model in GGUF format, quantized by ZeroWw. Its trained context length is 1K tokens. The repository has 4 quant files, from 7.0 GB (Q5_K) to 16.1 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q5_K7.0 GB 7.7 GB
Tight Get file →
Q6_K7.8 GB 8.5 GB
Too big Get file →
Q8_09.5 GB 10.2 GB
Too big Get file →
F1616.1 GB 16.7 GB
Too big Get file →

What GPU do you need for Llama-3-8B-Instruct-Gradient-4194k?

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: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is Q8_0 (9.5 GB file, about 11.1 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_0 (9.5 GB file, about 11.1 GB in use).
  • 24 GB VRAM: the best quant that fits is F16 (16.1 GB file, about 17.6 GB in use).

Which Llama-3-8B-Instruct-Gradient-4194k quant should you choose?

Q6_K (7.8 GB) is the middle option in this repository. Very close to the original quality for most uses, at a clearly larger size than 4-bit.

If memory is tight, the smallest file is Q5_K at 7.0 GB, with the quality trade-offs that come with fewer bits. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters8.03B
Layers32
Trained context1,234 tokens
KV cache (fp16)128 KB per token

Source

Quantized byZeroWw
FamilyLlama
Licensemit
Downloads (HF)19
Last updated2024-06-29

Frequently asked questions about Llama-3-8B-Instruct-Gradient-4194k

How much VRAM does Llama-3-8B-Instruct-Gradient-4194k need?

About 9.4 GB at Q6_K with an 8K context window. That is the 7.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-3-8B-Instruct-Gradient-4194k on an 8 GB GPU?

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

What is the file size of Llama-3-8B-Instruct-Gradient-4194k GGUF?

It depends on the quant: Q5_K is 7.0 GB, Q6_K is 7.8 GB, Q8_0 is 9.5 GB, F16 is 16.1 GB.

What context length does Llama-3-8B-Instruct-Gradient-4194k support?

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

Where can I download Llama-3-8B-Instruct-Gradient-4194k GGUF?

The files are on Hugging Face in the ZeroWw/Llama-3-8B-Instruct-Gradient-4194k-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-8B-Instruct-Gradient-4194k use?

Hugging Face lists the license as mit. 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 from ZeroWw

All by ZeroWw →

More Llama models

All Llama →

Other small models

All small models →