LE

LexGPT V3 4x7b Q4 0

LexgptGGUF by lex-hueUpdated 2024-02-29
Download on Hugging Face
Parameters22.8B
Context32K
Layers32
Architecturellama
Smallest quant12.9 GB
Quick answer

LexGPT V3 4x7b Q4 0 needs about 14.5 GB of memory at Q4_0 (a 12.9 GB file) with an 8K context window, so it fits on a 16 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 4.3 GB.

LexGPT V3 4x7b Q4 0 is a 22.8B-parameter Lexgpt model in GGUF format, quantized by lex-hue. Its trained context length is 32K tokens. The repository has 1 quant file, from 12.9 GB (Q4_0) to 12.9 GB (Q4_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_012.9 GB 14.5 GB
Too big Get file →

What GPU do you need for LexGPT V3 4x7b Q4 0?

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: no quant fits at an 8K context.
  • 16 GB VRAM: the best quant that fits is Q4_0 (12.9 GB file, about 14.5 GB in use).

Which LexGPT V3 4x7b Q4 0 quant should you choose?

Q4_0 (12.9 GB) is the middle option in this repository. 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
Parameters22.8B (approximate, mixture of experts)
Layers32
Trained context32,768 tokens
KV cache (fp16)128 KB per token

Source

Quantized bylex-hue
FamilyLexgpt
Downloads (HF)5
Last updated2024-02-29

Frequently asked questions about LexGPT V3 4x7b Q4 0

How much VRAM does LexGPT V3 4x7b Q4 0 need?

About 14.5 GB at Q4_0 with an 8K context window. That is the 12.9 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 LexGPT V3 4x7b Q4 0 on an 8 GB GPU?

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

What is the file size of LexGPT V3 4x7b Q4 0 GGUF?

It depends on the quant: Q4_0 is 12.9 GB.

What context length does LexGPT V3 4x7b Q4 0 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 LexGPT V3 4x7b Q4 0 GGUF?

The files are on Hugging Face in the lex-hue/LexGPT-V3-4x7b-Q4_0 repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Similar models

Browse all →

More from lex-hue

All by lex-hue →

More Lexgpt models

All Lexgpt →

Other medium models

All medium models →