Views
No views yet
Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs
| Property | Value |
|---|---|
| Base | google/gemma-4-26B-A4B-it-qat-q4_0-unquantized (QAT, MoE) |
| Architecture | gemma4 · 128 experts, ~4B active per token |
| Predominant precision | 4-bit |
| Components at 8-bit (sensitive) | 275 |
| Components at 4-bit (robust) | 50 |
| Total quantized components | 325 |
| Expert tensors at 8-bit | 42 / 90 |
| Achieved bits-per-weight | 6.01 |
| Group size | 64 |
| Reference for sensitivity | uniform 4-bit (streamed) |
| Calibration mix | six-domain mix |
| Vision | bf16 sidecar (optiq_vision.safetensors), image+text via optiq |
| Speculative drafter | google/gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant via optiq serve --drafter |
| Benchmark | This model (OptiQ, QAT base) | Uniform-4 (QAT base) | Delta |
|---|---|---|---|
| MMLU (5-shot, 1000) | 65.9% | 64.3% | +1.6 |
| GSM8K (1000) | 90.3% | 89.2% | +1.1 |
| IFEval (full, strict) | 74.1% | 73.6% | +0.5 |
| BFCL-V3 simple (200) | 92.0% | 93.0% | -1.0 |
| HumanEval (pass@1, 164) | 89.0% | 90.2% | -1.2 |
| HashHop (long-context) | 35.0% | 35.0% | 0.0 |
| Capability Score (mean) | 74.40 | 74.21 | +0.19 |
model_type: gemma4, gemma4_text experts), so it needs mlx-lm from main and import optiq (the MoE text tower is not in the 0.31.3 PyPI release; the main build also reports 0.31.3, so install from git, not a version pin):pip install -U mlx-optiq "mlx-lm @ git+https://github.com/ml-explore/mlx-lm.git"1import optiq # registers the OptiQ model paths
2from mlx_lm import load, generate
3model, tokenizer = load("mlx-community/gemma-4-26B-A4B-it-qat-OptiQ-4bit")
4print(generate(model, tokenizer, "Explain mixed-precision quantization.", max_tokens=256))1pip install mlx-optiq
2optiq serve --model mlx-community/gemma-4-26B-A4B-it-qat-OptiQ-4bit \
3 --drafter google/gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistantoptiq_vision.safetensors, which mlx-lm ignores (it globs model*.safetensors), so both paths work from one artifact.