| Hello everyone, I've been working on mlx-tune, an open-source library for fine-tuning LLMs natively on Apple Silicon using MLX. I built this because I use Unsloth daily on cloud GPUs, but wanted to prototype training runs locally on my Mac before spending on GPU time. Since Unsloth depends on Triton (no Mac support, yet), I wrapped Apple's MLX framework in an Unsloth-compatible API — so the same training script works on both Mac and CUDA, just change the import line. What it supports right now:
Some context: this was previously called What it's NOT: a replacement for Unsloth. Unsloth with custom Triton kernels is faster on NVIDIA hardware. This is for the local dev loop — experiment on your Mac, get your pipeline working, then push to CUDA for the real training run. Honest limitations:
GitHub: https://github.com/ARahim3/mlx-tune Would love feedback, especially from folks fine-tuning on M1/M2/M3/M4/M5. [link] [comments] |
mlx-tune – fine-tune LLMs on your Mac (SFT, DPO, GRPO, Vision) with an Unsloth-compatible API
Reddit r/LocalLLaMA / 3/17/2026
💬 OpinionTools & Practical UsageModels & Research
Key Points
- mlx-tune is an open-source library that lets you fine-tune LLMs natively on Apple Silicon using MLX, while exposing an Unsloth-compatible API so training scripts run on Mac or CUDA with a simple import switch.
- It supports SFT with native MLX training (LoRA/QLoRA) and a range of advanced fine-tuning methods including DPO, ORPO, GRPO, KTO, and SimPO, plus vision-model fine-tuning (Qwen3.5 VLM) and chat templates for about 15 models.
- You can export trained models to HuggingFace format or GGUF for Ollama/llama.cpp, and it runs on 8GB+ RAM (16GB+ recommended) for 1B 4-bit models.
- This is meant for local development and prototyping rather than replacing Unsloth; the idea is to iterate on Mac and then push to CUDA for the real training run.
- It’s a solo project with honest limitations (GGUF export from quantized bases not supported, RL trainers process one sample at a time), with GitHub/docs/PyPI links and an invitation for feedback, especially from Mac users.
Related Articles

ベテランの若手育成負担を減らせ、PLC制御の「ラダー図」をAIで生成
日経XTECH

Hey dev.to community – sharing my journey with Prompt Builder, Insta Posts, and practical SEO
Dev.to

Why Regex is Not Enough: Building a Deterministic "Sudo" Layer for AI Agents
Dev.to

Perplexity Hub
Dev.to

How to Build Passive Income with AI in 2026: A Developer's Practical Guide
Dev.to