AP

Apocrypha 7b

ApocryphaGGUF by BlueNipplesUpdated 2024-01-22
Download on Hugging Face
Parameters7.24B
Context32K
Layers32
Architecturellama
Smallest quant2.0 GB
Quick answer

Apocrypha 7b needs about 3.6 GB of memory at IQ2_XXS (a 2.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 2 quants, from 2.0 GB (IQ2_XXS) to 5.1 GB (Q5_K). Longer context needs more: at 32K tokens the KV cache alone adds about 4.3 GB.

Apocrypha 7b is a 7.24B-parameter Apocrypha model in GGUF format, quantized by BlueNipples. Its trained context length is 32K tokens. The repository has 2 quant files, from 2.0 GB (IQ2_XXS) to 5.1 GB (Q5_K).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ2_XXS2.0 GB 3.6 GB
Fits Get file →
Q5_K5.1 GB 6.7 GB
Fits Get file →

What GPU do you need for Apocrypha 7b?

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: the best quant that fits is IQ2_XXS (2.0 GB file, about 3.6 GB in use).
  • 6 GB VRAM: the best quant that fits is IQ2_XXS (2.0 GB file, about 3.6 GB in use).
  • 8 GB VRAM: the best quant that fits is Q5_K (5.1 GB file, about 6.7 GB in use).

Which Apocrypha 7b quant should you choose?

IQ2_XXS (2.0 GB) is the middle option in this repository. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters7.24B
Layers32
Trained context32,768 tokens
KV cache (fp16)128 KB per token

Source

Quantized byBlueNipples
FamilyApocrypha
Licenseapache-2.0
Downloads (HF)158
Last updated2024-01-22

Frequently asked questions about Apocrypha 7b

How much VRAM does Apocrypha 7b need?

About 3.6 GB at IQ2_XXS with an 8K context window. That is the 2.0 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 Apocrypha 7b on an 8 GB GPU?

Yes, with Q5_K: the 5.1 GB file needs about 6.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Apocrypha 7b GGUF?

It depends on the quant: IQ2_XXS is 2.0 GB, Q5_K is 5.1 GB.

What context length does Apocrypha 7b support?

The GGUF header lists a trained context length of 32,768 tokens (32K). 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 Apocrypha 7b GGUF?

The files are on Hugging Face in the BlueNipples/Apocrypha-7b repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Apocrypha 7b use?

Hugging Face lists the license as apache-2.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 BlueNipples

All by BlueNipples →

More Apocrypha models

All Apocrypha →

Other small models

All small models →