Apple's MLX team just merged a nice performance boost for running local AI models on newer Macs. 🍎
The update adds dynamic INT8 activation quantization to Apple's Neural Accelerators (NAX), enabled with quantize_input=True.
In simple terms, it converts model inputs to 8-bit values on the fly so the Mac's Neural Accelerators can process them more efficiently. This mainly helps with prompt processing and long-context inference.
Here are the speed improvements on real Apple Silicon hardware:
Apple M6 (12-core):
4-bit models: 1.37x faster at M=1024 and 1.60x faster at M=4096
8-bit models: 1.34x faster at M=1024 and 1.52x faster at M=4096
Apple M5 Pro:
1.20x to 1.28x faster
Apple M5 Max:
1.18x to 1.23x faster
The accuracy impact is almost negligible. For 4-bit quantization with group size 64, the RMS error only moves from 9.10% to 9.12%.
This is especially useful for processing large prompts and long contexts, where the model has to do a lot of computation before generating its response.
Nice to see MLX making better use of the hardware already inside these Macs.
https://t.co/Wlh5HbE15i
Thank you Nvidia employees, this would have not happened without all of you threatening to quit.
This would have been a world-wide disaster, not just Nvidia.
Open models must prevail !
Jensen is one of the best CEOs.
ming-tts 3.0 (@TheInclusionAI) is an amazing voice generation/clone and now x18 faster with https://t.co/ZG7dWvkojD based on mlx-serve and optimised for m4-m5
So Claude Code is refusing to harden the licensing code for cybersecurity reasons. When security safeguards are counterproductive and create loopholes, it stops the process midway and leaves the whole system exposed.
@steventey This is just delaying the inevitable. Security issues will surface anyway. It is better to harden it, which has always been one of open source's strengths.