Low-bit GGUFs of Sarvam-105B for llama.cpp: IQ2_M at 37.3 GB and IQ1_M at 27.1 GB, against 113 GB at 8 bits and about 210 GB at 16 bits per weight. Only the routed experts, 94% of the weights, are at 2 or 1 bits; the parts that run for every token stay at 4 to 8 bits, which halves the loss compared with llama.cpp's standard recipe (see below). They were made from our 8-bit conversion, Aaravomega/sarvam-105b-GGUF-Q8_0, with an importance matrix computed on Indian-language and English text, code and maths.
IQ2_M scores 89% on a 100-question MMLU sample, against 90.6 published for the full model (see below).
They also carry the right expert-routing and position-encoding settings, which Sarvam's own GGUF lacks (see below).
| File | Size | Bits per weight | Status |
|---|---|---|---|
sarvam-105b-IQ2_M.gguf |
37.3 GB | 2.81 | Recommended |
sarvam-105b-IQ1_M.gguf |
27.1 GB | 2.04 | Experimental: much lossier |
imatrix/sarvam-105b.imatrix.gguf |
344 MB | The importance matrix, for making other quants |
In both files, the 128 routed experts use the named type (IQ2_M: mostly IQ2_S; IQ1_M: mostly IQ1_M). Everything else is at higher precision: the attention's compressed key-value projections Q8_0, the query projection Q6_K, the attention output Q5_K, the shared expert and the dense first layer Q6_K, the token embeddings Q4_K and the output layer Q6_K.
You need a recent llama.cpp build (tested with release b11731) and free memory a little above the file size, in RAM or split between GPU and RAM.
hf download Aaravomega/sarvam-105b-GGUF-IQ2_M-IQ1_M sarvam-105b-IQ2_M.gguf --local-dir .
llama-server -m sarvam-105b-IQ2_M.gguf -c 16384 --jinja
Then open http://127.0.0.1:8080, or call the OpenAI-compatible API at /v1/chat/completions. Sarvam-105B is a reasoning model that thinks before it answers, so allow plenty of output tokens: Sarvam's own benchmarks allow up to 65,536.
The reference is the 8-bit Q8_0 file these were made from. KL divergence measures how far a file's next-token probabilities drift from the 8-bit model's (lower is better), over 16 chunks of 512 tokens each of English (wikitext-2) and Hindi (Hindi Wikipedia).
| Test | IQ2_M | IQ1_M |
|---|---|---|
| KL divergence, English / Hindi | 0.196 / 0.100 | 0.465 / 0.266 |
| Perplexity increase vs 8-bit, English / Hindi | +24.8% / +9.1% | +80.2% / +17.8% |
| Same top token as 8-bit, English / Hindi | 81.9% / 85.4% | 74.0% / 77.0% |
Perplexity on the first 8 chunks, the same text as the comparison on our 8-bit card (lower is better):
| File | Size | English | Hindi |
|---|---|---|---|
| Our Q8_0 | 112.7 GB | 4.40 | 10.34 |
sarvamai/sarvam-105b-gguf Q4_K_M, with the two settings corrected |
64 GB | 4.50 | 10.70 |
| This IQ2_M | 37.3 GB | 5.48 | 11.20 |
| This IQ1_M | 27.1 GB | 7.59 | 12.53 |
sarvamai/sarvam-105b-gguf Q4_K_M, as published |
64 GB | 8.93 | 14.82 |
Spot checks with thinking on: asked in Hindi for India's capital, both files answered "नई दिल्ली"; asked for 17 × 23, both answered 391, checked two or three ways. Both finished thinking normally.
Hindi holds up better than English, as it did for our Sarvam-30B files. The 1-bit file here is about as close to the 8-bit model as llama.cpp's standard 2-bit recipe (below), while being 8 GB smaller.
Sarvam reports 90.6 on MMLU for the full model, run in thinking mode at temperature 1.0 with up to 65,536 tokens per answer. We asked IQ2_M a random sample of 100 MMLU test questions the same way, with answers capped at 16,384 tokens:
| File | Questions | Answer cap | Score | 95% range | No answer |
|---|---|---|---|---|---|
| IQ2_M | 100 | 16,384 tokens | 89% | 81–94% | 0 |
That is within 2 points of the full model, well inside the sample's range. It answered every question within the cap, half of them in under 804 tokens. On the same 100 questions, our Sarvam-30B IQ2_M scored 81: the 105B got 10 right that the 30B missed, and the 30B 2 that the 105B missed. Sarvam's own 64 GB 4-bit GGUF scored 88% on the same questions with its two missing settings supplied, and 42% as published (see our 8-bit card). The IQ1_M file has not been benchmarked yet.
llama.cpp's standard IQ2_M and IQ1_M recipes also squeeze the attention, the shared expert and the dense first layer down to 1.5 to 3.5 bits. Those run for every token, while each routed expert runs for about one token in 16, and together they are only 6% of the weights. Keeping them at 4 to 8 bits costs 2 to 3 GB and roughly halves the loss (same tests as above):
| Test | Standard IQ2_M (34.9 GB) | This IQ2_M (37.3 GB) | Standard IQ1_M (24.2 GB) | This IQ1_M (27.1 GB) |
|---|---|---|---|---|
| KL divergence, English / Hindi | 0.431 / 0.265 | 0.196 / 0.100 | 1.065 / 0.662 | 0.465 / 0.266 |
| Perplexity increase, English / Hindi | +70% / +30% | +25% / +9% | +212% / +47% | +80% / +18% |
| Same top token, English / Hindi | 74.1% / 75.5% | 81.9% / 85.4% | 58.2% / 65.1% | 74.0% / 77.0% |
An importance matrix tells the quantizer which weights matter most for typical text, so that the few bits available go where they count. This one was computed with llama-imatrix on the 8-bit file over 210,512 tokens (411 chunks of 512), half in Indian languages and half English, code and maths:
| Part | Source | Tokens |
|---|---|---|
| Encyclopedia text in Hindi, Bengali, Gujarati, Kannada, Malayalam, Marathi, Odia, Punjabi, Tamil and Telugu (8 articles each) | Wikipedia | 70,587 |
| Human-written questions and answers in 9 of those languages (none in Odia) | Aya dataset | 23,757 |
| Hindi and Hinglish conversations | Samvaad-hi (Sarvam AI) | 13,363 |
| English encyclopedia text | Wikipedia | 20,885 |
| Multi-turn English conversations | smoltalk (magpie-ultra) | 14,339 |
| Maths problems with step-by-step reasoning, checked correct | OpenR1-Math-220k | 31,039 |
| Programming-contest problems with reasoning and C++ solutions | codeforces-cots (decontaminated) | 16,449 |
| Coding tasks and solutions in many languages | Magicoder OSS-Instruct | 20,093 |
The text activated every expert in every layer except 2 of the 128 in layer 1, which never fired; those two are quantized without importance weighting.
Conversations are written in Sarvam's chat template, with the reasoning inside <think> where the source has it, and the chat tokens are read as special tokens, so the matrix also reflects how the model is used in chat. Any document sharing a run of 10 words with the benchmark questions we test on (MMLU, MMLU-Pro, MILU, MATH-500) or with the perplexity test texts was dropped. imatrix/build_calib.py rebuilds the exact text (random seed 2026).
sarvamai/sarvam-105b-ggufSarvam-105B uses DeepSeek-V3's architecture, which llama.cpp runs as deepseek2. Sarvam's official GGUF lacks two settings, so llama.cpp runs it with softmax expert routing instead of sigmoid, and without YaRN position scaling. These files have both built in, as does our 8-bit file, whose card explains the difference and how to correct Sarvam's file at load time.
convert_hf_to_gguf.py, plus a small addition that registers SarvamMLAForCausalLM and sets the sigmoid router and YaRN.llama-imatrix --parse-special -c 512 on the Q8_0 file computed the importance matrix.llama-quantize --imatrix made IQ2_M and IQ1_M from the Q8_0 file, with llama.cpp's standard recipe for each type (b11731). No training or fine-tuning.Sarvam-105B is by Sarvam AI, released under Apache 2.0, which also covers these files. The calibration text comes from the datasets linked above, each under its own license; only the script that rebuilds it is included here.