MambaHermes-3B needs about 3.5 GB of memory at Q6_K (a 2.7 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 5 quants, from 2.0 GB (Q4_K) to 5.8 GB (F16).
MambaHermes-3B is a 2.77B-parameter Mambahermes model in GGUF format, quantized by dranger003. Its trained context length is 1024K tokens. The repository has 5 quant files, from 2.0 GB (Q4_K) to 5.8 GB (F16).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_K | 2.0 GB | 2.8 GB | Fits | Get file → | |
| Q5_K | 2.3 GB | 3.1 GB | Fits | Get file → | |
| Q6_K | 2.7 GB | 3.5 GB | Fits | Get file → | |
| Q8_0 | 3.3 GB | 4.2 GB | Fits | Get file → | |
| F16 | 5.8 GB | 7.0 GB | Fits | Get file → |
What GPU do you need for MambaHermes-3B?
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 Q6_K (2.7 GB file, about 3.5 GB in use).
- 6 GB VRAM: the best quant that fits is Q8_0 (3.3 GB file, about 4.2 GB in use).
- 8 GB VRAM: the best quant that fits is F16 (5.8 GB file, about 7.0 GB in use).
Which MambaHermes-3B quant should you choose?
Q6_K (2.7 GB) is the middle option in this repository. Very close to the original quality for most uses, at a clearly larger size than 4-bit.
If memory is tight, the smallest file is Q4_K at 2.0 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about MambaHermes-3B
How much VRAM does MambaHermes-3B need?
About 3.5 GB at Q6_K with an 8K context window. That is the 2.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 MambaHermes-3B on an 8 GB GPU?
Yes, with F16: the 5.8 GB file needs about 7.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of MambaHermes-3B GGUF?
It depends on the quant: Q4_K is 2.0 GB, Q5_K is 2.3 GB, Q6_K is 2.7 GB, Q8_0 is 3.3 GB, F16 is 5.8 GB.
What context length does MambaHermes-3B support?
The GGUF header lists a trained context length of 1,048,576 tokens (1024K).
Where can I download MambaHermes-3B GGUF?
The files are on Hugging Face in the dranger003/MambaHermes-3B-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 MambaHermes-3B use?
Hugging Face lists the license as wtfpl. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.