sarvamai · First MLX build 27 May 2025

sarvam-m

MLX Text apache-2.0

A 24B parameter text generation model from sarvamai, with 5 MLX builds, from 3-bit to bf16.

Hugging Face
Parameters
24B
From Hugging Face
Quantisation
8-bit
sarvam-m-8bit
Memory needed
30 GB
Estimate, unified memory
Download
25.0 GB
Weights, estimated
Downloads
33
This build, last 30 days
Task
Text generation
Text
MLX builds
5
On mlx-community
Devices
Mac
Apple silicon

Memory

Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.

Run it

Terminal · mlx-lm
$ pip install -U mlx-lm
$ mlx_lm.generate --model mlx-community/sarvam-m-8bit --prompt "Hello"

MLX builds

5 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
sarvam-m-mlx-3Bit 3-bit 10.3 GB 14 GB 32
sarvam-m-4bit 4-bit 13.3 GB 17 GB 28
sarvam-m-6bit 6-bit 19.2 GB 24 GB 23
sarvam-m-8bit 8-bit 25.0 GB 30 GB 33
sarvam-m-bf16 bf16 47.1 GB 55 GB 23

Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.