mlx-tune
Python library for fine-tuning language, vision and audio models on Apple Silicon
mlx-tune is a Python library for training and fine-tuning machine learning models on a Mac with Apple Silicon, using Apple's MLX framework. It covers LLM methods such as SFT, DPO and GRPO, plus vision, speech-to-text, text-to-speech, embedding and OCR models. It is aimed at developers who want to train models locally rather than on a cloud GPU.
The library follows the API of Unsloth, so existing Unsloth training scripts can run on Apple Silicon with the import line changed. Trained models can be exported in Hugging Face format or as GGUF for Ollama and llama.cpp. The code is licensed under Apache-2.0 and the source is public on GitHub, installed with pip.
Alternatives to mlx-tune
Products that do a similar job in Build with AI.
Kiln
Desktop workbench for building, evaluating and tuning AI systems
RAGFlow
open-source retrieval-augmented generation engine for building AI agent context
OmniRoute
OpenAI-compatible gateway for routing requests across many AI providers
crewAI
Python framework for coordinating teams of role-based AI agents
serviette
Document Q&A server that stays in sync with changing files
new-api
Self-hosted gateway that routes LLM API calls across providers
Agno
Python framework for building and running AI agents
PageIndex
Document indexing library for reasoning-based retrieval without vector embeddings
