· 19 min read
Apple Silicon
Local LLMs on a Mac with MLX: on-demand loading, quantization, LoRA and an API
A hands-on guide to local LLMs on Apple Silicon with MLX: install with uv, raise the GPU memory limit, load models on demand and release them when idle, convert and quantize, LoRA fine-tune from 45% to 100%, serve an OpenAI-compatible API. Measured on an M1 Ultra, sized for an M1 Max 64 GB.
Read more