How to use from
OpenClaw
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-6bit"
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "mlx-community/gemma-4-e4b-it-6bit" \
  --custom-provider-id mlx-lm \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

mlx-community/gemma-4-e4b-it-6bit

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

  • Source revision: fee6332c1abaafb77f6f9624236c63aa2f1d0187
  • Variant: 6bit
  • 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-6bit --prompt "Describe this image." --image path/to/image.jpg
Downloads last month
1,492
Safetensors
Model size
2B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

6-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-6bit

Quantized
(329)
this model

Space using mlx-community/gemma-4-e4b-it-6bit 1

Collection including mlx-community/gemma-4-e4b-it-6bit