LL

Llama-3-ELYZA-sqlcoder-2x8B

LlamaGGUF by keitokei1994Updated 2024-06-28
Download on Hugging Face
Parameters13.7B
Context8K
Layers32
Architecturellama
Smallest quant7.9 GB
Quick answer

Llama-3-ELYZA-sqlcoder-2x8B needs about 9.9 GB of memory at Q4_K_M (a 8.3 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 7 quants, from 7.9 GB (Q4_K_S) to 27.3 GB (F16).

Llama-3-ELYZA-sqlcoder-2x8B is a 13.7B-parameter Llama model in GGUF format, quantized by keitokei1994. Its trained context length is 8K tokens. The repository has 7 quant files, from 7.9 GB (Q4_K_S) to 27.3 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_S7.9 GB 9.5 GB
Too big Get file →
Q4_K_M8.3 GB 9.9 GB
Too big Get file →
Q5_K_S9.5 GB 11.0 GB
Too big Get file →
Q5_K_M9.7 GB 11.3 GB
Too big Get file →
Q6_K11.2 GB 12.8 GB
Too big Get file →
Q8_014.5 GB 16.1 GB
Too big Get file →
F1627.3 GB 28.9 GB
Too big Get file →

What GPU do you need for Llama-3-ELYZA-sqlcoder-2x8B?

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 Q5_K_M (9.7 GB file, about 11.3 GB in use).
  • 16 GB VRAM: the best quant that fits is Q6_K (11.2 GB file, about 12.8 GB in use).
  • 24 GB VRAM: the best quant that fits is Q8_0 (14.5 GB file, about 16.1 GB in use).
  • 32 GB VRAM: the best quant that fits is F16 (27.3 GB file, about 28.9 GB in use).

Which Llama-3-ELYZA-sqlcoder-2x8B quant should you choose?

Q4_K_M is the usual starting point for Llama-3-ELYZA-sqlcoder-2x8B: it balances file size and quality well. Here it is a 8.3 GB file.

The Q8_0 file is 14.5 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q4_K_S at 7.9 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

Architecturellama
Parameters13.7B (approximate, mixture of experts)
Layers32
Trained context8,192 tokens
KV cache (fp16)128 KB per token

Source

Quantized bykeitokei1994
FamilyLlama
Licensellama3
Downloads (HF)52
Last updated2024-06-28

Frequently asked questions about Llama-3-ELYZA-sqlcoder-2x8B

How much VRAM does Llama-3-ELYZA-sqlcoder-2x8B need?

About 9.9 GB at Q4_K_M with an 8K context window. That is the 8.3 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-ELYZA-sqlcoder-2x8B on an 8 GB GPU?

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

What is the file size of Llama-3-ELYZA-sqlcoder-2x8B GGUF?

It depends on the quant: Q4_K_S is 7.9 GB, Q4_K_M is 8.3 GB, Q5_K_S is 9.5 GB, Q5_K_M is 9.7 GB, Q6_K is 11.2 GB, Q8_0 is 14.5 GB and 1 more.

What context length does Llama-3-ELYZA-sqlcoder-2x8B support?

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

Where can I download Llama-3-ELYZA-sqlcoder-2x8B GGUF?

The files are on Hugging Face in the keitokei1994/Llama-3-ELYZA-sqlcoder-2x8B-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-ELYZA-sqlcoder-2x8B use?

Hugging Face lists the license as llama3. 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 keitokei1994

All by keitokei1994 →

More Llama models

All Llama →

Other medium models

All medium models →