| 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
How We Built ScholarNet AI: An AI-Powered Study Platform for Students
Dev.to
Database Administration MCP Servers — PostgreSQL, MySQL, MongoDB, Redis, DynamoDB, and Beyond
Dev.to
Customer Support & Helpdesk MCP Servers — Zendesk, Intercom, Freshdesk, ServiceNow, Plain, and More
Dev.to
Cryptocurrency & DeFi MCP Servers — Ethereum, Solana, Bitcoin, Wallets, DEX Trading, and More
Dev.to
CRM MCP Servers — Salesforce, HubSpot, Pipedrive, Attio, and Beyond
Dev.to