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 "DreamFoundries/gemma-4-26B-A4B-it-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": "DreamFoundries/gemma-4-26B-A4B-it-8bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Open in MLXHub

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

This repository contains an MLX-LM conversion of google/gemma-4-26B-A4B-it.

Conversion Details

  • Original model: google/gemma-4-26B-A4B-it
  • Model family: Gemma4
  • Source model type: gemma4
  • Model size: 26,544,131,376 parameters
  • Quantization: MLX-LM affine quantization
  • Bits: 8-bit
  • Group size: 64
  • Local MLX folder size at upload time: 25.00 GiB
  • Local safetensors weight size at upload time: 24.97 GiB

This Gemma conversion follows the MLX-LM Gemma 4 shared-KV topology and uses non-strict checkpoint loading so extra HF tensors outside that topology are discarded during conversion.

Usage

mlx_lm.generate --model DreamFoundries/gemma-4-26B-A4B-it-8bit --prompt "Hello" --max-tokens 64

Benchmarks

No comparative benchmarks have been run yet. The repository does not currently provide quality, speed, memory, or benchmark comparisons against the original weights or other quantizations.

License

This is a converted/quantized derivative of the original model. Please refer to the original model repository for the upstream license and usage terms: https://huggingface.co/google/gemma-4-26B-A4B-it


Download MLXHub

Downloads last month
130
Safetensors
Model size
25B 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 DreamFoundries/gemma-4-26B-A4B-it-8bit

Quantized
(358)
this model

Collection including DreamFoundries/gemma-4-26B-A4B-it-8bit