This variant offers a balance between the 4-bit model's memory efficiency and the bf16 model's full precision. Recommended for systems with 16 GB+ unified memory where accuracy is prioritized over memory footprint.
1from mlx_vlm import load, generate
23model, processor = load("ferox-ai/Phi-4-multimodal-instruct-mlx-8bit")45output = generate(6 model,7 processor,8"Describe this image in detail.",9["path/to/image.jpg"],10 max_tokens=512,11 verbose=False,12)13print(output)
Requires mlx-vlm >= 0.1.0 with Phi-4-MM architecture support. Install dependencies:
pip install mlx-vlm>=0.1.0 mlx>=0.22.0
Benchmark Results
Evaluated with our internal evaluation harness on a single Apple Silicon device. Scores are computed on a 100-sample subset of each benchmark. Microsoft's reference scores are reported on the full dataset using PyTorch FP16 — direct comparison should account for both the precision difference and sample-size variance.
Benchmark
This Model (8-bit)
4-bit
bf16
Microsoft FP16 (full)
Metric
ChartQA
85.0
86.0
85.0
81.4
Relaxed Accuracy
DocVQA
86.1
82.8
86.2
93.2
ANLS
MMMU
29.0
24.0
31.0
55.1
Accuracy
OCRBench
850
840
840
844
Score / 1000
TextVQA
81.0
80.0
82.0
75.6
Accuracy
AI2D
—‡
83.0
90.0
82.3
Accuracy
MathVista
—‡
58.0
58.0
62.4
Accuracy
ScienceQA
—‡
95.8†
100.0†
97.5
Accuracy
† ScienceQA: scored on the 48 image-bearing questions of the 100-sample subset (text-only questions excluded).
‡ Not yet evaluated for the 8-bit variant. These three benchmarks were measured for the 4-bit and bf16 variants but have not been re-run at 8-bit; they will be added in a future update.
Quantization fidelity
On the five benchmarks measured at 8-bit, scores track the lossless bf16 variant within ~1 point (e.g. DocVQA 86.1 vs 86.2, ChartQA 85.0 vs 85.0, TextVQA 81.0 vs 82.0), indicating that 8-bit group quantization is effectively lossless for this model on these tasks.
Note on MMMU
The 100-sample MMMU scores (29.0% 8-bit, 24.0% 4-bit, 31.0% bf16) fall well below Microsoft's reported 55.1%. To isolate the cause, we ran a full 900-sample MMMU validation on the lossless bf16 variant and obtained 27.9% — consistent with the subset, which confirms the gap is not caused by quantization or weight conversion. We were unable to reproduce Microsoft's 55.1% and attribute the difference to evaluation-harness and answer-extraction handling for MMMU's multiple-choice format (prompt formatting and option parsing), rather than to the model's underlying capability — which is better reflected by the document-, chart-, and OCR-focused benchmarks above.
This model is designed for local, on-device vision-language inference on Apple Silicon hardware. Suitable applications include document understanding, chart interpretation, visual question answering, OCR, and educational content analysis.
Limitations
100-sample evaluations. Benchmark scores are computed on subsets, not full datasets.
Partial benchmark coverage at 8-bit. AI2D, MathVista, and ScienceQA have not yet been evaluated for this variant (see the benchmark table).
Vision-only. Audio support from the original architecture is not included (Phase 1).
Apple Silicon required. MLX targets Apple's unified memory architecture (M1/M2/M3/M4).
Citation
bibtex
1@misc{feroxai2026phi4mlx,
2 title={Phi-4-Multimodal-Instruct MLX Conversion},
3 author={Ferox AI},
4 year={2026},
5 url={https://huggingface.co/ferox-ai/Phi-4-multimodal-instruct-mlx-8bit},
6 note={8-bit quantized MLX port of microsoft/Phi-4-multimodal-instruct}
7}