GP

gpt2 xl

GptGGUF by EntityDeletrUpdated 2026-07-14
Download on Hugging Face
Parameters1.56B
Context1K
Layers48
Architecturegpt2
Smallest quant1.3 GB
Quick answer

gpt2 xl needs about 4.3 GB of memory at its main file (a 1.3 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 2 quants, from 1.3 GB to 6.2 GB.

gpt2 xl is a 1.56B-parameter Gpt model in GGUF format, quantized by EntityDeletr. Its trained context length is 1K tokens. The repository has 2 quant files, from 1.3 GB to 6.2 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—1.3 GB 2.1 GB
Fits Get file →
—6.2 GB 7.0 GB
Fits Get file →

What GPU do you need for gpt2 xl?

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: the best quant that fits is the main file (1.3 GB file, about 4.3 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (1.3 GB file, about 4.3 GB in use).
  • 12 GB VRAM: the best quant that fits is the main file (6.2 GB file, about 9.2 GB in use).

Specifications

Architecture from the GGUF header

Architecturegpt2
Parameters1.56B
Layers48
Trained context1,024 tokens
KV cache (fp16)300 KB per token

Source

Quantized byEntityDeletr
FamilyGpt
Licensemit
Downloads (HF)35
Last updated2026-07-14

Frequently asked questions about gpt2 xl

How much VRAM does gpt2 xl need?

About 4.3 GB at its main file with an 8K context window. That is the 1.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 gpt2 xl on an 8 GB GPU?

Yes, with the smaller files: the 1.3 GB file needs about 4.3 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of gpt2 xl GGUF?

It depends on the quant: file is 1.3 GB, file is 6.2 GB.

What context length does gpt2 xl support?

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

Where can I download gpt2 xl GGUF?

The files are on Hugging Face in the EntityDeletr/gpt2-xl repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does gpt2 xl use?

Hugging Face lists the license as mit. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of gpt2-xl

Similar models

Browse all →

More from EntityDeletr

All by EntityDeletr →

More Gpt models

All Gpt →

Other tiny models

All tiny models →