Skip to content

Phi-4-mini-instruct-8bit

mlx-community/Phi-4-mini-instruct-8bit
Text generation · transformers
8-bit Open on Hugging Face
Parameters
3.8B
Weights (est.)
≈ 4.1 GB
Mac memory (est.)
8 GB+

Size is estimated from the parameter count and quantisation. Memory allows a fifth extra for context plus 2 GB for the system; long contexts need more.

Run it

With mlx-lm on an Apple silicon Mac:

pip install mlx-lmmlx_lm.generate --model mlx-community/Phi-4-mini-instruct-8bit --prompt "Hello"

Details

Base model
microsoft/Phi-4-mini-instruct (quantized) · Phi 4 mini instruct on the radar →
Vendor
Microsoft · Phi
Task
Text generation
Quantisation
8-bit
Licence
mit
Downloads
758 in the last 30 days · 16K all time · 7 likes
Published
2025-02-27 · updated 2025-03-05 (1y ago)
Languages
multilingual
Tags
phi3, code, mlx-my-repo, custom_code

Other MLX builds of microsoft/Phi-4-mini-instruct

Build Quantisation Weights Mac memory Downloads
Phi-4-mini-instruct-4bit 4-bit ≈ 2.2 GB 8 GB+ 2.6K
Phi-4-mini-instruct-mlx-4Bit 4-bit ≈ 2.2 GB 8 GB+ 475
Phi-4-mini-instruct-6bit 6-bit ≈ 3.1 GB 8 GB+ 232
Phi-4-mini-instruct-mlx-6Bit 6-bit ≈ 3.1 GB 8 GB+ 136
Phi-4-mini-instruct-8bit (this one) 8-bit ≈ 4.1 GB 8 GB+ 758
Phi-4-mini-instruct-mlx-8Bit 8-bit ≈ 4.1 GB 8 GB+ 248
Phi-4-mini-instruct-mlx-fp16 fp16 ≈ 7.7 GB 16 GB+ 220