How to use from
Pi
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "LiquidAI/LFM3-VL-2B-MLX-8bit"
Configure the model in Pi
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "mlx-lm": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "LiquidAI/LFM3-VL-2B-MLX-8bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

LFM3-VL-2B-MLX-8bit

8-bit MLX version of LFM3-VL-2B for Apple Silicon. The weights take 2.22 GB.

Weights use 8-bit affine quantization with groups of 64.

Find architecture and usage details in the original model card.

Use with MLX-VLM


Requires MLX-VLM 0.7.11 or later:

pip install -U "mlx-vlm>=0.7.11"
python -m mlx_vlm.generate --model LiquidAI/LFM3-VL-2B-MLX-8bit \
  --image <IMAGE PATH> --prompt "Describe this image." --enable-thinking \
  --temperature 0.1 --top-p 1.0 --top-k 50 --min-p 0.0 --repetition-penalty 1.1 \
  --max-tokens 16384

Reasoning stays off unless you pass --enable-thinking. More options in the MLX guide.

Downloads last month
6,463
Safetensors
Model size
2B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for LiquidAI/LFM3-VL-2B-MLX-8bit

Quantized
(57)
this model
Finetunes
1 model