mlx-tune social preview
fine-tuning1,457Apache 2.0

mlx-tune

Fine-tune LLMs on your Mac with Apple Silicon. SFT, DPO, GRPO, Vision, TTS, STT, Embedding, and OCR fine-tuning — natively on MLX. Unsloth-compatible API.

Updated Nov 7, 2026
Platforms
macos
Pricing
free-open-source
Status
active
License
Apache 2.0

What it does

Core capabilities at a glance

  • Apple Silicon
  • Huggingface
  • Large Language Models
  • LLM Finetuning
  • Local LLM
  • Lora
  • Macos
  • MLX

Deep dive

The full breakdown - performance, comparisons, and setup

mlx-tuneLink to this section

mlx-tune is a speech (TTS/STT) tool - Fine-tune LLMs on your Mac with Apple Silicon. SFT, DPO, GRPO, Vision, TTS, STT, Embedding, and OCR fine-tuning — natively on MLX. Unsloth-compatible API.

OverviewLink to this section

Fine-tune LLMs, Vision, Audio, and OCR models on your Mac SFT, DPO, GRPO, Vision, TTS, STT, Embedding, and OCR fine-tuning — natively on MLX. Unsloth-compatible API.

Bringing the Unsloth experience to Mac users via Apple's MLX framework.

  • 🚀 Fine-tune LLMs, VLMs, TTS, STT & Embeddings locally on your Mac (M1/M2/M3/M4/M5) - 💾 Leverage unified memory (up to 512GB on Mac Studio) - 🔄 Unsloth-compatible API - your existing training scripts just work! - 📦 Export anywhere - HuggingFace format, GGUF for Ollama/llama.cpp - 🎙️ Audio fine-tuning - 5 TTS models (Orpheus, OuteTTS, Spark, Sesame, Qwen3-TTS) + 7 STT models (Whisper, Moonshine, Qwen3-ASR, NVIDIA Canary, Voxtral, Voxtral Realtime, NVIDIA Parakeet TDT)

This is NOT a replacement for Unsloth or an attempt to compete with it. Unsloth is incredible - it's the gold standard for efficient LLM fine-tuning on CUDA.

Fine-tune vision-language models like Gemma 4, Qwen3.5 on image+text tasks:

See 'examples/38_gemma4_vision_finetuning.py' for Gemma 4 vision fine-tuning, 'examples/39_gemma4_text_to_sql.py' for text-only fine-tuning through the VLM path, 'examples/10_qwen35_vision_finetuning.py' for Qwen3.5, or 'examples/26_vision_grpo_training.py' for Vision GRPO reasoning.

Fine-tune Gemma 4 E2B/E4B for speech-to-text and audio understanding. The 12-layer Conformer audio tower processes 16kHz audio — no separate STT model needed:

See 'examples/47_gemma4_audio_asr_finetuning.py' for ASR fine-tuning or 'examples/48_gemma4_audio_understanding.py' for audio understanding with audio tower LoRA.

mlx-tune is open-source, written primarily in Python, with 1,457 GitHub stars under the Apache 2.0 license. The latest release is v0.5.1 (2026-05-31).

Key capabilitiesLink to this section

From the project's documentation:

  • 🚀 Fine-tune LLMs, VLMs, TTS, STT & Embeddings locally on your Mac (M1/M2/M3/M4/M5)
  • 💾 Leverage unified memory (up to 512GB on Mac Studio)
  • 🔄 Unsloth-compatible API - your existing training scripts just work!
  • 📦 Export anywhere - HuggingFace format, GGUF for Ollama/llama.cpp
  • 🧪 Prototype locally - Experiment with fine-tuning before committing to cloud GPU costs
  • 📚 Learn & iterate - Develop your training pipeline with fast local feedback loops

InstallLink to this section

A quick way to get started (always check the official docs for the latest):

pip install mlx-tune

How it fits a local-AI stackLink to this section

mlx-tune runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related speech (TTS/STT) tools in the directory:

SourcesLink to this section

Stats from GitHub, 2026-06-08.

Frequently asked

Quick answers to common questions

What is mlx-tune?

mlx-tune is a fine-tuning tool for local AI workloads. Fine-tune LLMs on your Mac with Apple Silicon. SFT, DPO, GRPO, Vision, TTS, STT, Embedding, and OCR fine-tuning — natively on MLX. Unsloth-compatible API.

Is mlx-tune free and open source?

Yes, mlx-tune has 1,457 GitHub stars and is licensed under Apache 2.0. You can self-host it for free on macos.

What platforms does mlx-tune support?

mlx-tune runs on macos.

What hardware do I need for mlx-tune?

The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. mlx-tune has 1,457 GitHub stars and an active community.

Does mlx-tune support GPU acceleration?

mlx-tune supports GPU acceleration via CUDA, Metal, or Vulkan depending on your platform. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.

What are the best alternatives to mlx-tune?

Popular alternatives include other fine-tuning tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.

How much does mlx-tune cost?

mlx-tune is free-open-source. It is completely free and open source to self-host.

Pairs well with

Complementary tools, models, and hardware