Marlin-2B needs about 1.2 GB of memory at its main file (a 0.7 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 2 quants, from 0.7 GB to 4.8 GB.
Marlin-2B is a 2.39B-parameter Marlin model in GGUF format, quantized by jadeonrails. Its trained context length is 256K tokens. The repository has 2 quant files, from 0.7 GB to 4.8 GB.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.7 GB | 1.2 GB | Fits | Get file → | |
| — | 4.8 GB | 5.9 GB | Fits | Get file → |
What GPU do you need for Marlin-2B?
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 the main file (0.7 GB file, about 1.2 GB in use).
- 6 GB VRAM: the best quant that fits is the main file (4.8 GB file, about 5.9 GB in use).
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Marlin-2B
How much VRAM does Marlin-2B need?
About 1.2 GB at its main file with an 8K context window. That is the 0.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 Marlin-2B on an 8 GB GPU?
Yes, with the smaller files: the 4.8 GB file needs about 5.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Marlin-2B GGUF?
It depends on the quant: file is 0.7 GB, file is 4.8 GB.
What context length does Marlin-2B support?
The GGUF header lists a trained context length of 262,144 tokens (256K).
Where can I download Marlin-2B GGUF?
The files are on Hugging Face in the jadeonrails/marlin-2b-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.