Can You Train an AI Image Model on a Mac?
The Question Hides 3 Different Things
So "train a model" gets used for 3 jobs that are wildly different in size, and the answer changes for each one. The word is the problem here, when most people say they want to train a model, what they actually want is for an existing model to know their face, their product or their art style, and that job has a specific name and a very different cost than building a model.
Training from scratch means starting with random numbers and teaching a model what images are. The models you download were trained this way, on hundreds of millions or billions of images, across rooms full of NVIDIA cards, for weeks, at a cost in the millions of dollars. No Mac does this, and no single PC does either.
Full fine tuning means taking a finished model and continuing to train all of its weights on new data. This changes the model deeply, needs thousands of images to be worth it, and needs memory for the whole model plus the working data for every one of its billions of numbers. It is a server job, and beyond a Mac for current models.
LoRA training means freezing the finished model and training a small set of extra weights that sit on top of it, usually well under 1% of the model's size. It needs 15 to 40 images, runs for an hour or a few, and produces a file small enough to email. This is the one a Mac does, and it covers what nearly everyone actually wants.
| Kind of training | Images needed | On a Mac? |
|---|---|---|
| From scratch | Hundreds of millions | No |
| Full fine tune | Thousands and up | Not for current models |
| LoRA | 15 to 40 | Yes |
| Tiny toy model from scratch | A few thousand small images | Yes, as a learning project |
What Makes It Possible on a Mac
For years the answer was "not really", because the training tools were written for NVIDIA cards and CUDA, the software layer those cards use, and a Mac has neither. Two things changed that. Apple released MLX, a machine learning framework written for Apple Silicon, and projects started building on it directly instead of patching NVIDIA code to limp along on a Mac.
The second thing is memory. A Mac shares 1 pool of memory between the processor and the graphics chip, so a 64 GB Mac can give most of 64 GB to a training job. On a PC you are limited to the card's own memory, and 24 GB is the top of the normal consumer range. Training needs a lot of memory, so the Mac's weakness (a slower graphics chip) is partly paid back by its strength (lots of room).
The Tools That Do It
mflux is the command line route. It trains LoRAs for Z-Image, FLUX.2 klein, Krea 2, Qwen Image 2.1, ERNIE-Image, Iris-3B, Anima and FIBO 2, from a folder of images and a JSON config, with 1 command. The full walkthrough is in how to train a LoRA on a Mac.
Draw Things is the app route, a free Mac app with LoRA training built in, so you pick a folder and press a button. See Draw Things for Mac.
The PyTorch trainers, kohya's sd-scripts and SimpleTuner mainly, are the tools most LoRAs in the world are made with. They can run on a Mac through PyTorch's Apple backend, called MPS, mostly for older and smaller models like SDXL. They are slower there than on NVIDIA and you will hit features that are not supported, so they are the route for someone who already knows them, not a first choice.
How Much Memory It Really Takes
Training uses much more memory than generating with the same model, because the Mac has to hold on to the results from every layer so it can work backward through them and figure out what to adjust. A model that generates in 8 GB can want 30 GB or more to train without help.
The help comes from 3 settings. Training against an 8 bit copy of the model roughly halves the weight memory. Gradient checkpointing throws away the stored layer results and recalculates them when needed, which costs about 30% in speed and cuts peak memory to roughly the weights plus a couple of layers. Lowering the training resolution from 1024 to 768 shrinks everything that scales with image size.
| Mac memory | What to expect for LoRA training |
|---|---|
| 16 GB | Smallest models only, every memory setting on, slow. Often better to rent. |
| 24 GB | Small and mid sized models with memory settings on. |
| 32 to 36 GB | Works for the main models with gradient checkpointing and 8 bit. The mflux docs name this size as where FLUX.2 klein training fits. |
| 64 GB | Comfortable, memory settings mostly off, faster steps, other apps stay open. |
| 128 GB and up | Largest supported models, higher resolution, bigger LoRAs. |
How Long It Takes Compared to a GPU
A Mac is slower than a good NVIDIA card at this, and there is no point pretending otherwise. A rented high end card will finish a typical LoRA in something like 15 to 40 minutes. A Mac runs the same job in roughly 1 to 8 hours depending on the chip, the model and the settings, with recent Max and Ultra chips at the short end and older or base chips at the long end.
Now whether that matters depends on what you are doing. If you train 1 LoRA of your dog, the difference is "it finished while I had dinner" against "it finished while I slept", and the Mac was free either way. If you are testing 10 different settings to find the best one, 10 overnight runs is 10 days, and a rented card at around $1 to $3 an hour gets all 10 done in an afternoon for the price of lunch.
Does it need an M3 or M4, or does an M1 work?
Any Apple Silicon chip works, the M1 included. The chip sets the speed and the memory sets what fits, and memory is the one that says yes or no. An M1 Max with 64 GB trains things an M4 with 16 GB cannot load.
Can an Intel Mac do it?
No. MLX only runs on Apple Silicon, and the Intel Macs have neither the unified memory nor a graphics chip these tools support.
Will it damage the Mac?
Running the chip hard for hours is what it is built for, it will get warm and a laptop's fans will run. The thing to watch is memory. If the job needs more than you have, macOS pages to the SSD constantly, which is slow and adds wear to the drive. Use the memory saving settings so the run fits, plug in the charger, and keep the vents clear.
Can I use the Mac while it trains?
On 64 GB, yes, for normal work. On 32 GB, light use only, since a browser with many tabs can take the memory the run needs. You can also stop a run and resume it later from the last checkpoint.
What a Mac Still Cannot Do Well
Video model training. The open video models are 14B to 19B parameters and training them means holding many frames at once. The training guides for these models recommend 48 GB to 80 GB NVIDIA cards, and the Mac native tools that claim video fine tuning do not document it. Train an image LoRA of the character instead and animate the stills, as explained in consistent characters in images and video.
Large batch experiments. Anything where you need dozens of runs, the hours add up past the point of patience.
The newest techniques on day 1. New training methods land on NVIDIA first, and the Mac tools catch up weeks or months later, sometimes never.
When to Train on the Mac and When to Rent
Train on the Mac when the images are private and should not leave your machine, when you have 32 GB or more, when you want to learn by doing with no meter running, or when you only need a LoRA now and then. Rent a card, or use a free tier, when you have 16 GB, when you need many runs fast, or when you need video. The free and cheap options are laid out in where to train a LoRA for free.
There is also a small project worth knowing about if the goal is to understand how these models work, which is training a tiny diffusion model from scratch on small images, 32 or 64 pixels, a few thousand of them. A Mac does that in an evening. The results are blurry little pictures and nobody would use them for anything, but you watch a model go from noise to shapes, and that teaches more than reading about it.