Downloads · 30 days
213
3% of all-time downloads
Sumitc13/sarvam-30b-GGUF
sarvam-30b-GGUF is a machine learning model from Sumitc13. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for gguf. The card lists the license as apache-2.0.
GGUF quantizations of sarvamai/sarvam-30b for use with llama.cpp.
Downloads · 30 days
213
3% of all-time downloads
All-time downloads
6.6K
Public
Repo size
434 GB
Likes
8
Public
Click a slice to open those files.
.gguf145 GB · 100%
From the Hugging Face model README
GGUF quantizations of sarvamai/sarvam-30b for use with llama.cpp.
Compatibility: These GGUFs use the
bailingmoe2architecture. Make sure you're on a recent version of llama.cpp (or any tool that bundles llama.cpp like LM Studio / Ollama / koboldcpp) for full tokenizer support across English + 22 Indian languages.
| File | Quant | Size | BPW | Description |
|---|---|---|---|---|
sarvam-30B-full-BF16.gguf | BF16 | ~64 GB | 16.00 | Full precision, no quantization |
sarvam-30B-Q8_0.gguf | Q8_0 | ~34 GB | 8.50 | Highest quality quantization |
sarvam-30B-Q6_K.gguf | Q6_K | ~26 GB | 6.57 | Great quality, fits in 32GB VRAM |
sarvam-30B-Q4_K_M.gguf | Q4_K_M | ~19 GB | 4.87 | Good balance of quality and size |
SarvamMoEForCausalLM — converted as bailingmoe2 (the architectures are equivalent; Sarvam uses full rotary and zero-mean normalized expert bias, handled at conversion time)routed_scaling_factor=2.5Verified 50/50 probes match Hugging Face reference tokenizer exactly across: English, Hindi, Bengali, Tamil, Telugu, Marathi, Gujarati, Kannada, Malayalam, Punjabi, Odia, Assamese, Urdu, Sindhi, Nepali, Sanskrit, Maithili, Konkani, Manipuri, Bodo, Santali, Kashmiri, Dogri, plus mixed-script and edge-case probes.
# Interactive chat
llama-cli -m sarvam-30B-Q6_K.gguf -p "Hello, how are you?" -n 512 -ngl 99
# Server mode (use --jinja for the embedded chat template)
llama-server -m sarvam-30B-Q6_K.gguf -ngl 99 -c 16384 --jinja
The model supports enable_thinking via the chat template. When using llama-server --jinja:
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"messages": [{"role": "user", "content": "What is 25 * 37?"}],
"max_tokens": 1024,
"chat_template_kwargs": {"enable_thinking": true}
}'
Note:
enable_thinking=falseadds the<|nothink|>token but the base model may still emit<think>...</think>(upstream model issue, see sarvamai/sarvam-30b#11).reasoning_effortis not in the public chat template and is silently ignored.
| Quant | Full GPU Offload | Partial Offload (24GB) |
|---|---|---|
| Q4_K_M | ~19 GB | All layers on GPU |
| Q6_K | ~26 GB | All layers on GPU (32GB cards) |
| Q8_0 | ~34 GB | ~70% layers on GPU (32GB cards) |
| BF16 | ~64 GB | ~50% layers on GPU (32GB cards) |