SA

sarvam-m

SarvamGGUF by sarvamaiUpdated 2025-05-24
Download on Hugging Face
Parameters23.6B
Context32K
Layers40
Architecturellama
Smallest quant47.2 GB
Quick answer

sarvam-m needs about 49.0 GB of memory at BF16 (a 47.2 GB file) with an 8K context window, which is more than a 48 GB GPU holds. Longer context needs more: at 32K tokens the KV cache alone adds about 5.4 GB.

sarvam-m is a 23.6B-parameter Sarvam model in GGUF format, quantized by sarvamai. Its trained context length is 32K tokens. The repository has 1 quant file, from 47.2 GB (BF16) to 47.2 GB (BF16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
BF1647.2 GB 49.0 GB
Too big Get file →

What GPU do you need for sarvam-m?

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: no quant fits at an 8K context.
  • 32 GB VRAM: no quant fits at an 8K context.
  • 48 GB VRAM: no quant fits at an 8K context.

Which sarvam-m quant should you choose?

BF16 (47.2 GB) is the middle option in this repository. The unquantized model. It gives original quality and needs the most memory, so it is mainly for conversion or reference.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters23.6B
Layers40
Trained context32,768 tokens
KV cache (fp16)160 KB per token

Source

Quantized bysarvamai
FamilySarvam
Licenseapache-2.0
Downloads (HF)54
Last updated2025-05-24

Frequently asked questions about sarvam-m

How much VRAM does sarvam-m need?

About 49.0 GB at BF16 with an 8K context window. That is the 47.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 sarvam-m on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 49.0 GB, so you would need a larger GPU or CPU offloading.

What is the file size of sarvam-m GGUF?

It depends on the quant: BF16 is 47.2 GB.

What context length does sarvam-m 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.3 GB at 8K and 5.4 GB at 32K.

Where can I download sarvam-m GGUF?

The files are on Hugging Face in the sarvamai/sarvam-m-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 sarvam-m 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 sarvam-m

Similar models

Browse all →

More from sarvamai

All by sarvamai →

More Sarvam models

All Sarvam →

Other medium models

All medium models →