Run this model with HF Jobs

Run Xylolabs/Phi-4-mini-reasoning-MLX-8bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Xylolabs/Phi-4-mini-reasoning-MLX-8bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Xylolabs/Phi-4-mini-reasoning-MLX-8bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Xylolabs/Phi-4-mini-reasoning-MLX-8bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Xylolabs

Phi-4-mini-reasoning-MLX-8bit

Apple Silicon MLX 8bit quantization of microsoft/Phi-4-mini-reasoning (0e3b1e2d), paired with Xylolabs/Phi-4-mini-reasoning-MLX-4bit.

How to run

mlx_lm.generate --model Xylolabs/Phi-4-mini-reasoning-MLX-8bit --prompt "Hello"

Accuracy

Mean KL divergence and top-1 token agreement against the BF16 reference on WikiText-2 and held-out prose.

Quant Size WikiText-2 KL WikiText-2 top-1 Held-out KL Held-out top-1
MLX 8-bit (8-bit affine g=64, BF16 norms/scales/biases) 4.08 GB 0.051924 90.54% 0.052383 89.23%
MLX 4-bit OBS (4-bit/6-bit/8-bit mixed affine g=64, BF16 norms/scales/biases) 2.24 GB 1.580551 55.58% 0.841643 62.05%
Phi-4-mini-reasoning-MLX mean KL divergence Phi-4-mini-reasoning-MLX top-1 accuracy

Hardware

Hardware Unified memory Fit Context
MacBook Air / Mac mini 16 GB Phi-4-mini-reasoning-MLX-8bit 32K
MacBook Pro / Mac mini 24 GB Phi-4-mini-reasoning-MLX-8bit 32K
MacBook Pro 36 GB Phi-4-mini-reasoning-MLX-8bit 32K
MacBook Pro / Mac mini 48 GB Phi-4-mini-reasoning-MLX-8bit 32K
MacBook Pro / Mac Studio 64 GB Phi-4-mini-reasoning-MLX-8bit 32K
Mac Studio 128 GB Phi-4-mini-reasoning-MLX-8bit 32K
Mac Studio Ultra 256 GB Phi-4-mini-reasoning-MLX-8bit 32K

Updates

  • 2026-12-03: Initial MLX 8bit release with Hessian OBS 4-bit calibration and BF16 KL evaluation.
Downloads last month
8
Safetensors
Model size
4B 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 Xylolabs/Phi-4-mini-reasoning-MLX-8bit

Quantized
(48)
this model

Collections including Xylolabs/Phi-4-mini-reasoning-MLX-8bit