Llama-3-8B-Instruct-Gradient-1048k 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). Longer context needs more: at 32K tokens the KV cache alone adds about 4.3 GB.
Llama-3-8B-Instruct-Gradient-1048k is a 8.03B-parameter Llama model in GGUF format, quantized by ZeroWw. Its trained context length is 1024K tokens. The repository has 4 quant files, from 7.0 GB (Q5_K) to 16.1 GB (F16).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q5_K | 7.0 GB | 8.6 GB | Too big | Get file → | |
| Q6_K | 7.8 GB | 9.4 GB | Too big | Get file → | |
| Q8_0 | 9.5 GB | 11.1 GB | Too big | Get file → | |
| F16 | 16.1 GB | 17.6 GB | Too big | Get file → |
What GPU do you need for Llama-3-8B-Instruct-Gradient-1048k?
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-1048k 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
Frequently asked questions about Llama-3-8B-Instruct-Gradient-1048k
How much VRAM does Llama-3-8B-Instruct-Gradient-1048k 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-1048k 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-1048k 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-1048k support?
The GGUF header lists a trained context length of 1,048,576 tokens (1024K). The KV cache grows with the context you use: about 1.1 GB at 8K and 4.3 GB at 32K.
Where can I download Llama-3-8B-Instruct-Gradient-1048k GGUF?
The files are on Hugging Face in the ZeroWw/Llama-3-8B-Instruct-Gradient-1048k-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-1048k 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.