Views
No views yet
Compatibility: These GGUFs use thebailingmoe2architecture. 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.51# Interactive chat
2llama-cli -m sarvam-30B-Q6_K.gguf -p "Hello, how are you?" -n 512 -ngl 99
3
4# Server mode (use --jinja for the embedded chat template)
5llama-server -m sarvam-30B-Q6_K.gguf -ngl 99 -c 16384 --jinjaenable_thinking via the chat template. When using llama-server --jinja:1curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
2 "messages": [{"role": "user", "content": "What is 25 * 37?"}],
3 "max_tokens": 1024,
4 "chat_template_kwargs": {"enable_thinking": true}
5}'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) |