MI

model

MistralGGUF by RohithqwertyUpdated 2024-06-12
Download on Hugging Face
Parameters7.25B
Context32K
Layers—
Architecturellama
Smallest quant2.0 GB
Quick answer

model needs about 2.8 GB of memory at Q4_K_M (a 2.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 2 quants, from 2.0 GB (Q4_K_M) to 14.5 GB (F16).

model is a 7.25B-parameter Mistral model in GGUF format, quantized by Rohithqwerty. Its trained context length is 32K tokens. The repository has 2 quant files, from 2.0 GB (Q4_K_M) to 14.5 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M2.0 GB 2.8 GB
Fits Get file →
F1614.5 GB 16.7 GB
Too big Get file →

What GPU do you need for model?

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 Q4_K_M (2.0 GB file, about 2.8 GB in use).
  • 6 GB VRAM: the best quant that fits is Q4_K_M (2.0 GB file, about 2.8 GB in use).
  • 8 GB VRAM: the best quant that fits is Q4_K_M (2.0 GB file, about 2.8 GB in use).
  • 12 GB VRAM: the best quant that fits is Q4_K_M (2.0 GB file, about 2.8 GB in use).
  • 16 GB VRAM: the best quant that fits is Q4_K_M (2.0 GB file, about 2.8 GB in use).
  • 24 GB VRAM: the best quant that fits is F16 (14.5 GB file, about 16.7 GB in use).

Which model quant should you choose?

Q4_K_M is the usual starting point for model: it balances file size and quality well. Here it is a 2.0 GB file.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters7.25B
Trained context32,768 tokens

Source

Quantized byRohithqwerty
FamilyMistral
Licenseapache-2.0
Downloads (HF)40
Last updated2024-06-12

Frequently asked questions about model

How much VRAM does model need?

About 2.8 GB at Q4_K_M with an 8K context window. That is the 2.0 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 model on an 8 GB GPU?

Yes, with Q4_K_M: the 2.0 GB file needs about 2.8 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of model GGUF?

It depends on the quant: Q4_K_M is 2.0 GB, F16 is 14.5 GB.

What context length does model support?

The GGUF header lists a trained context length of 32,768 tokens (32K).

Where can I download model GGUF?

The files are on Hugging Face in the Rohithqwerty/model repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does model use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of mistral-7b-v0.3-bnb-4bit

Similar models

Browse all →

More from Rohithqwerty

All by Rohithqwerty →

More Mistral models

All Mistral →

Other small models

All small models →