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 |
|---|---|
| Predominant precision | 4-bit |
| Layers at 8-bit (sensitive) | 46 |
| Layers at 4-bit (robust) | 47 |
| Total quantized layers | 93 |
| Achieved BPW | 5.43 |
| Group size | 64 |
| Calibration mix | six-domain mix (40 samples) |
| Reference for sensitivity | bf16 (gold standard) |
| Bundled KV-cache recipe | kv_config.json, 3 attn layers @ 4-bit, 1 @ 8-bit (5.0 avg KV bits) |
llama.cpp uses for Q4_K_M-style mixed-precision quants: the "4-bit" label is for the predominant precision, not the weighted average.mlx-lm (the custom NemotronH modeling files ship in the repo and are picked up automatically):pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/NVIDIA-Nemotron-3-Nano-4B-OptiQ-4bit")
4response = generate(
5 model, tokenizer,
6 prompt="Explain why hybrid Mamba+attention models scale to long contexts.",
7 max_tokens=300,
8)mlx-optiq:1pip install mlx-optiq
2
3# Serve with the bundled KV-cache recipe
4optiq serve --model mlx-community/NVIDIA-Nemotron-3-Nano-4B-OptiQ-4bit \
5 --kv-config kv_config.json| Metric | OptiQ | Uniform 4-bit | Δ |
|---|---|---|---|
| MMLU (5-shot, 1000 samples) | 64.0% | 63.3% | +0.7 |
| GSM8K (1000 samples, 3-shot CoT) | 81.5% | 79.9% | +1.6 |
| IFEval (full set, strict) | 56.2% | 56.0% | +0.2 |
| BFCL-V3 simple (200 calls) | 94.0% | 94.0% | +0.0 |
| HumanEval (164 problems, pass@1) | 77.4% | 80.5% | -3.1 |
| HashHop (long-context retrieval) | 27.0% | 25.0% | +2.0 |
| Capability Score (mean of 6) | 66.68 | 66.44 | +0.24 |
| KL vs bf16 reference (mean / p95) | 0.0353 / 0.1136 | , | , |
| On-disk size | 2.94 GB | 2.13 GB | +0.81 |
1pip install mlx-optiq
2optiq convert <hf-model-id> --target-bpw 5.0 --candidate-bits 4,8
3optiq lab # full local workbench: chat, compare, quantize, fine-tune