PH

PhoGPT-4B-Chat

PhogptGGUF by tom1669Updated 2024-02-28
Download on Hugging Face
Parameters3.69B
Context8K
Layers32
Architecturempt
Smallest quant7.4 GB
Quick answer

PhoGPT-4B-Chat needs about 11.1 GB of memory at its main file (a 7.4 GB file) with an 8K context window, so it fits on a 12 GB GPU.

PhoGPT-4B-Chat is a 3.69B-parameter Phogpt model in GGUF format, quantized by tom1669. Its trained context length is 8K tokens. The repository has 1 quant file, from 7.4 GB to 7.4 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—7.4 GB 11.1 GB
Too big Get file →

What GPU do you need for PhoGPT-4B-Chat?

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 the main file (7.4 GB file, about 11.1 GB in use).

Specifications

Architecture from the GGUF header

Architecturempt
Parameters3.69B
Layers32
Trained context8,192 tokens
KV cache (fp16)384 KB per token

Source

Quantized bytom1669
FamilyPhogpt
Downloads (HF)9
Last updated2024-02-28

Frequently asked questions about PhoGPT-4B-Chat

How much VRAM does PhoGPT-4B-Chat need?

About 11.1 GB at its main file with an 8K context window. That is the 7.4 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 PhoGPT-4B-Chat on an 8 GB GPU?

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

What is the file size of PhoGPT-4B-Chat GGUF?

It depends on the quant: file is 7.4 GB.

What context length does PhoGPT-4B-Chat support?

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

Where can I download PhoGPT-4B-Chat GGUF?

The files are on Hugging Face in the tom1669/PhoGPT-4B-Chat 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 Phogpt models

All Phogpt →

Other small models

All small models →