MI

MergeOpenHermes-2.5-Mistral-7B

MistralGGUF by mradermacherUpdated 2024-08-02
Download on Hugging Face
Parameters18.5B
Context32K
Layers32
Architecturellama
Smallest quant3.9 GB
Quick answer

MergeOpenHermes-2.5-Mistral-7B needs about 12.8 GB of memory at Q4_K_M (a 11.2 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 21 quants, from 3.9 GB (IQ1_S) to 15.2 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 4.3 GB.

MergeOpenHermes-2.5-Mistral-7B is a 18.5B-parameter Mistral model in GGUF format, quantized by mradermacher. Its trained context length is 32K tokens. The repository has 21 quant files, from 3.9 GB (IQ1_S) to 15.2 GB (Q6_K).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S3.9 GB 5.5 GB
Fits Get file →
IQ1_M4.3 GB 5.8 GB
Fits Get file →
IQ2_XXS4.9 GB 6.5 GB
Fits Get file →
IQ2_XS5.5 GB 7.1 GB
Fits Get file →
IQ2_S5.6 GB 7.2 GB
Tight Get file →
IQ2_M6.2 GB 7.7 GB
Tight Get file →
Q2_K6.8 GB 8.4 GB
Too big Get file →
IQ3_XXS7.1 GB 8.7 GB
Too big Get file →
IQ3_XS7.6 GB 9.2 GB
Too big Get file →
Q3_K_S8.0 GB 9.6 GB
Too big Get file →
IQ3_S8.0 GB 9.6 GB
Too big Get file →
IQ3_M8.2 GB 9.8 GB
Too big Get file →
Q3_K_M8.9 GB 10.5 GB
Too big Get file →
Q3_K_L9.6 GB 11.2 GB
Too big Get file →
IQ4_XS9.9 GB 11.5 GB
Too big Get file →
Q4_010.5 GB 12.1 GB
Too big Get file →
Q4_K_S10.5 GB 12.1 GB
Too big Get file →
Q4_K_M11.2 GB 12.8 GB
Too big Get file →
Q5_K_S12.8 GB 14.3 GB
Too big Get file →
Q5_K_M13.1 GB 14.7 GB
Too big Get file →
Q6_K15.2 GB 16.8 GB
Too big Get file →

What GPU do you need for MergeOpenHermes-2.5-Mistral-7B?

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 IQ1_M (4.3 GB file, about 5.8 GB in use).
  • 8 GB VRAM: the best quant that fits is IQ2_M (6.2 GB file, about 7.7 GB in use).
  • 12 GB VRAM: the best quant that fits is IQ4_XS (9.9 GB file, about 11.5 GB in use).
  • 16 GB VRAM: the best quant that fits is Q5_K_M (13.1 GB file, about 14.7 GB in use).
  • 24 GB VRAM: the best quant that fits is Q6_K (15.2 GB file, about 16.8 GB in use).

Which MergeOpenHermes-2.5-Mistral-7B quant should you choose?

Q4_K_M is the usual starting point for MergeOpenHermes-2.5-Mistral-7B: it balances file size and quality well. Here it is a 11.2 GB file.

If memory is tight, the smallest file is IQ1_S at 3.9 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters18.5B (approximate, mixture of experts)
Layers32
Trained context32,768 tokens
KV cache (fp16)128 KB per token

Source

Quantized bymradermacher
FamilyMistral
Downloads (HF)116
Last updated2024-08-02

Frequently asked questions about MergeOpenHermes-2.5-Mistral-7B

How much VRAM does MergeOpenHermes-2.5-Mistral-7B need?

About 12.8 GB at Q4_K_M with an 8K context window. That is the 11.2 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 MergeOpenHermes-2.5-Mistral-7B on an 8 GB GPU?

Yes, with IQ2_M: the 6.2 GB file needs about 7.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of MergeOpenHermes-2.5-Mistral-7B GGUF?

It depends on the quant: IQ1_S is 3.9 GB, IQ1_M is 4.3 GB, IQ2_XXS is 4.9 GB, IQ2_XS is 5.5 GB, IQ2_S is 5.6 GB, IQ2_M is 6.2 GB and 15 more.

What context length does MergeOpenHermes-2.5-Mistral-7B support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 1.1 GB at 8K and 4.3 GB at 32K.

Where can I download MergeOpenHermes-2.5-Mistral-7B GGUF?

The files are on Hugging Face in the mradermacher/MergeOpenHermes-2.5-Mistral-7B-i1-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Other GGUFs of MergeOpenHermes-2.5-Mistral-7B

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Mistral models

All Mistral →

Other medium models

All medium models →