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 "mlx-community/gemma-4-e4b-it-nvfp4"
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": "mlx-community/gemma-4-e4b-it-nvfp4"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

mlx-community/gemma-4-e4b-it-nvfp4

MLX conversion of google/gemma-4-E4B-it for Apple silicon.

  • Source revision: fee6332c1abaafb77f6f9624236c63aa2f1d0187
  • Variant: nvfp4
  • Converted with mlx_vlm.convert from the local mlx-vlm checkout.

Usage

pip install mlx-vlm
python -m mlx_vlm.generate --model mlx-community/gemma-4-e4b-it-nvfp4 --prompt "Describe this image." --image path/to/image.jpg
Downloads last month
145
Safetensors
Model size
8B params
Tensor type
BF16
·
U32
·
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 mlx-community/gemma-4-e4b-it-nvfp4

Quantized
(364)
this model

Collection including mlx-community/gemma-4-e4b-it-nvfp4