GGUF vs MLX:形式とエコシステム比較
CUDA/CPU向けllama.cpp GGUFとApple Silicon特化MLXの使い分け。
推定式と利用可能メモリ係数
Apple Silicon unified memory GPU cap ≈ 75% | Discrete GPU VRAM usable ≈ 90%
Qwen 3.5 4B (MLX-4bit vs GGUF Q8_0/FP16)
| Configuration | Result | 状態 |
|---|---|---|
| MLX-4bit (Locals README vendor claim) | 2.8 GB weights · 87 tok/s (M2 Pro 16GB) · 76 tok/s (M4 Pro 24GB, 7k prompt) | 公式・提供元記載 |
| GGUF Q8_0 (formula estimate) | 4.4 GB weights · cross-platform NVIDIA / AMD / CPU / Metal | 推定 |
| FP16 reference (formula estimate) | 8.4 GB weights · requires 16 GB+ system | 推定 |
- GGUF (llama.cpp / Ollama / LM Studio) runs everywhere: NVIDIA CUDA, AMD ROCm, Apple Metal, and CPU-only machines with partial layer offloading.
- MLX targets Apple Silicon unified memory natively with zero CPU-to-GPU memory copies and strong 4-bit quantization throughput on Macs.
- If you use Windows/Linux with NVIDIA GPUs, pick GGUF; if you stay strictly on M1–M5 Macs, MLX often yields lower overhead and faster prompt/decode throughput.
FAQ
Can MLX models run on NVIDIA RTX GPUs?
No, Apple MLX is built around Apple Silicon unified memory and Metal kernels. On NVIDIA GPUs, use GGUF via llama.cpp/Ollama or AWQ/FP8 via vLLM.
関連モデル
Qwen 3.5 4B
dense · 4B 推奨量子化 MLX-4bit
重みサイズ 2.8GB
最低メモリ 8GB
— モデル詳細 →
LFM2.5-2.6B
hybrid · 2.6B 推奨量子化 MLX-4bit
重みサイズ 1.5GB
最低メモリ 4GB
— モデル詳細 →
MiniCPM5-2B
dense · 2B 推奨量子化 MLX-4bit
重みサイズ 1.3GB
最低メモリ 4GB
— モデル詳細 →