AY

Ayam 2x8B

AyamGGUF by R136a1Updated 2024-06-09
Download on Hugging Face
Parameters13.7B
Context8K
Layers32
Architecturellama
Smallest quant6.7 GB
Quick answer

Ayam 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 6 quants, from 6.7 GB (Q3_K_M) to 14.5 GB (Q8_0).

Ayam 2x8B is a 13.7B-parameter Ayam model in GGUF format, quantized by R136a1. Its trained context length is 8K tokens. The repository has 6 quant files, from 6.7 GB (Q3_K_M) to 14.5 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_M6.7 GB 8.3 GB
Too big Get file →
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_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 →

What GPU do you need for Ayam 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).

Which Ayam 2x8B quant should you choose?

Q4_K_M is the usual starting point for Ayam 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 Q3_K_M at 6.7 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

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 byR136a1
FamilyAyam
Downloads (HF)172
Last updated2024-06-09

Frequently asked questions about Ayam 2x8B

How much VRAM does Ayam 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 Ayam 2x8B on an 8 GB GPU?

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

What is the file size of Ayam 2x8B GGUF?

It depends on the quant: Q3_K_M is 6.7 GB, Q4_K_S is 7.9 GB, Q4_K_M is 8.3 GB, Q5_K_M is 9.7 GB, Q6_K is 11.2 GB, Q8_0 is 14.5 GB.

What context length does Ayam 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 Ayam 2x8B GGUF?

The files are on Hugging Face in the R136a1/Ayam-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 Ayam 2x8B use?

Hugging Face lists the license as cc-by-nc-4.0. 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 R136a1

All by R136a1 →

More Ayam models

All Ayam →

Other medium models

All medium models →