LFM2 2.6B, MLX 4-bit

An MLX 4-bit conversion of LiquidAI/LFM2-2.6B (commit 36ed799f70), for Apple Silicon. Small enough for iPhones with 6 GB of memory.

What was changed

Converted and quantized with mlx-lm 0.32.0:

mlx_lm.convert --hf-path LiquidAI/LFM2-2.6B -q --q-bits 4

4-bit weights (4.5 bits per weight overall, group size 64). No other changes. The file is 1.45 GB and the model peaks at about 1.9 GB of memory on an M4 Mac.

model.safetensors SHA-256: 7cebcdbbcd0ff753616a22fb8dfe98f9cdc11a256430c5b87fbec09342e2cf46

Use

mlx_lm.generate --model Anotos/LFM2-2.6B-MLX-4bit --prompt "..."

Related models

The models Erato uses, all MLX 4-bit:

Model For Notes
Anotos/LFM2-8B-A1B-MLX-4bit 12 GB iPhones, 16 GB Macs Built into Erato
Anotos/Gemma-4-E4B-it-Text-MLX-4bit 8 GB iPhones and Macs Built into Erato
Anotos/LFM2-2.6B-MLX-4bit Devices under 8 GB Built into Erato
Anotos/LFM2-8B-A1B-Abliterated-MLX-4bit 12 GB iPhones, 16 GB Macs Uncensored. Not built in; add it yourself
Anotos/Gemma-4-E4B-Heretic-MLX-4bit 8 GB iPhones and Macs Uncensored. Not built in; add it yourself

The uncensored models have had their guardrails removed and can generate dangerous or offensive content. Use them at your own risk.

Credits and license

  • Model: Liquid AI.
  • MLX conversion: Axly's Customs, for the Erato app.

LFM Open License v1.0; see LICENSE. Commercial use is limited to organisations under the revenue threshold in the license.

Downloads last month
91
Safetensors
Model size
3B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Anotos/LFM2-2.6B-MLX-4bit

Quantized
(22)
this model