Developer Tools

PyTorch Just Made Your Mac's AI Math Up to 2.4x Faster

⚡If you run AI on a Mac, some calculations just got twice as quick.

Deep Dive

PyTorch is the free software engine behind most modern AI. Nearly every chatbot, image generator, or voice tool you have used was trained or run with it. This update takes two common math routines — the ones that multiply a number and then add or divide it — and moves them onto the graphics chip inside Apple Silicon Macs. That chip is the part of your computer built for heavy number crunching. Doing this math there instead of on the main processor is like moving a pile of boxes from a narrow hallway to a loading dock.

The result, measured on an M4 Pro Mac, is up to 2.4 times faster for smaller jobs. Those are the everyday sizes most people actually work with. For very large jobs the speed is roughly the same as before, and for a few odd-shaped jobs the old method is still quicker. So this is a real improvement, not a miracle.

The team also fixed a hidden bug. When the software was told to save results in higher precision than it calculated with, it quietly did the whole calculation at that higher precision — slower — instead of just rounding at the end. Now it works like a calculator that keeps normal precision and rounds only the final answer. That also makes Mac results match what you'd get on other computers.

Why does this matter if you don't write code? Two reasons. First, AI tools running locally on a Mac — photo editors, transcription apps, chat assistants — get quicker and use less battery. Second, it means you depend less on the cloud. If your laptop can do more of the work itself, you send less data to someone else's server. The remaining slowdowns are flagged as future work.

Key Points
  • Two everyday AI math routines now run on the Mac's graphics chip instead of its main processor.
  • Measured on an M4 Pro Mac, smaller and medium jobs ran up to 2.4 times faster.
  • A precision bug was fixed, so Mac AI results now match other computers and don't waste time over-calculating.

Why It Matters

AI apps on your Mac get faster and less power-hungry, so more work stays on your laptop instead of the cloud.

📬 Get the top 10 AI stories daily