Yui 21B needs about 24.6 GB of memory at its main file (a 21.7 GB file) with an 8K context window, so it fits on a 32 GB GPU. This repository has 3 quants, from 16.8 GB to 21.8 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 9.4 GB.
Yui 21B is a 20.4B-parameter Yui model in GGUF format, quantized by subspecs. Its trained context length is 1000K tokens. The repository has 3 quant files, from 16.8 GB to 21.8 GB (F16).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 16.8 GB | 19.6 GB | Too big | Get file → | |
| — | 21.7 GB | 24.6 GB | Too big | Get file → | |
| F16 | 21.8 GB | 24.6 GB | Too big | Get file → |
What GPU do you need for Yui 21B?
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: no quant fits at an 8K context.
- 24 GB VRAM: the best quant that fits is the main file (16.8 GB file, about 19.6 GB in use).
- 32 GB VRAM: the best quant that fits is F16 (21.8 GB file, about 24.6 GB in use).
Which Yui 21B quant should you choose?
If memory is tight, the smallest file is the first one in the table at 16.8 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
Frequently asked questions about Yui 21B
How much VRAM does Yui 21B need?
About 24.6 GB at its main file with an 8K context window. That is the 21.7 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 Yui 21B on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 19.6 GB, so you would need a larger GPU or CPU offloading.
What is the file size of Yui 21B GGUF?
It depends on the quant: file is 16.8 GB, file is 21.7 GB, F16 is 21.8 GB.
What context length does Yui 21B support?
The GGUF header lists a trained context length of 1,024,000 tokens (1000K). The KV cache grows with the context you use: about 2.3 GB at 8K and 9.4 GB at 32K.
Where can I download Yui 21B GGUF?
The files are on Hugging Face in the subspecs/Yui-21B repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.