gpt2 chatml fp32 needs about 0.6 GB of memory at IQ4_XS (a 0.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 10 quants, from 0.0 GB to 0.3 GB (F32).
gpt2 chatml fp32 is a 124M-parameter Gpt model in GGUF format, quantized by JustACluelessKid2. Its trained context length is 1K tokens. The repository has 10 quant files, from 0.0 GB to 0.3 GB (F32).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.0 GB | 0.5 GB | Fits | Get file → | |
| IQ2_XXS | 0.1 GB | 0.6 GB | Fits | Get file → | |
| IQ2_M | 0.1 GB | 0.6 GB | Fits | Get file → | |
| IQ3_XXS | 0.1 GB | 0.6 GB | Fits | Get file → | |
| IQ4_XS | 0.1 GB | 0.6 GB | Fits | Get file → | |
| IQ4_NL | 0.1 GB | 0.6 GB | Fits | Get file → | |
| Q5_K_M | 0.1 GB | 0.6 GB | Fits | Get file → | |
| Q6_K | 0.1 GB | 0.6 GB | Fits | Get file → | |
| Q8_0 | 0.1 GB | 0.6 GB | Fits | Get file → | |
| F32 | 0.3 GB | 0.8 GB | Fits | Get file → |
What GPU do you need for gpt2 chatml fp32?
These figures add the file size, an fp16 KV cache at an 8K context window 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 F32 (0.3 GB file, about 0.8 GB in use).
Which gpt2 chatml fp32 quant should you choose?
IQ4_XS (0.1 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.
If memory is tight, the smallest file is the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about gpt2 chatml fp32
How much VRAM does gpt2 chatml fp32 need?
About 0.6 GB at IQ4_XS with an 8K context window. That is the 0.1 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 chatml fp32 on an 8 GB GPU?
Yes, with F32: the 0.3 GB file needs about 0.8 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of gpt2 chatml fp32 GGUF?
It depends on the quant: file is 0.0 GB, IQ2_XXS is 0.1 GB, IQ2_M is 0.1 GB, IQ3_XXS is 0.1 GB, IQ4_XS is 0.1 GB, IQ4_NL is 0.1 GB and 4 more.
What context length does gpt2 chatml fp32 support?
The GGUF header lists a trained context length of 1,024 tokens (1K).
Where can I download gpt2 chatml fp32 GGUF?
The files are on Hugging Face in the JustACluelessKid2/gpt2-chatml-fp32-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 gpt2 chatml fp32 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.