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 "pipenetwork/Gemma-4-26B-A4B-it-MLX-8bit"
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 "pipenetwork/Gemma-4-26B-A4B-it-MLX-8bit" \
  --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

Gemma-4-26B-A4B-it-MLX-8bit

MLX (Apple Silicon) conversion of google/gemma-4-26B-A4B-it (Mixture-of-Experts, ~4B active), quantized to 8-bit · near-lossless. Text-only build.

Quantizations

Part of the Gemma-4-26B-A4B-it MLX collection.

Variant Notes
4-bit 4-bit · community build (mlx-community)
8-bit (this repo) 8-bit · near-lossless
6-bit 6-bit · high quality
5-bit 5-bit

Use with mlx-lm

pip install mlx-lm
python -m mlx_lm generate --model pipenetwork/Gemma-4-26B-A4B-it-MLX-8bit --prompt "Explain Mixture-of-Experts briefly." -m 256

Validation

Smoke-tested locally: loads and generates coherent text.

License

Apache 2.0 (inherited from base). Quantization config: {"group_size": 64, "bits": 8, "mode": "affine", "language_model.model.layers.0.router.proj": {"group_size": 64, "bits": 8}, "language_model.model.layers.1.router.proj": {"group_size": 64, "bits": 8}, .

Downloads last month
11
Safetensors
Model size
25B params
Tensor type
BF16
·
U32
·
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 pipenetwork/Gemma-4-26B-A4B-it-MLX-8bit

Quantized
(348)
this model

Collection including pipenetwork/Gemma-4-26B-A4B-it-MLX-8bit