Hacker News new | past | comments | ask | show | jobs | submit login

tl;dr: upgrade from ARMv8.5-A to the ARMv8.6-A ISA, which supports bfloat16 for better AI performance.



If I read this right, this has more to do with training new models than actually running existing models correct?


The processes of training and running use similar low-level operations, but training obviously requires a lot more of them. So it’s relevant to both, but one is much more computation-heavy to begin with.

The point is that at the moment only a few of us are interested in training our own models, but this will change gradually as Apple introduces more machine learning models trained on our own local data behind the scenes. At that point, Macs with less support for this will start to slow down (well, or they’ll just not support those features). And the M1 chip will be worse in this regard than the M2.


Inference usually runs on much more quantized models, which don’t use bfloat16.


At that point, probably both M1 and M2 will be outdated. And people will sell their outdated laptops and buy M5 or M6 laptops.

Worrying today about how your hardware will behave in 5 years from now wouldn't help you much.


Some of us only upgrade every ten years or so. ;-)


As long as you don't mind your machine using lots of power when plugged in overnight (and training then), the old machines should be able to keep up for quite a while?


I'd love to see training working on arm + mps macs. Hopefully someone knowledeable chimes in, that it's actually possible.

I tried running some mpx supported conda/pytorch inference (whisper to be precise) on a workplace issued M1 mac and it did fall back to cpu. I encountered:

- `NotImplementedError: The operator 'aten::_fft_r2c' is not currently implemented for the MPS device`

- `TypeError: Trying to convert ComplexFloat to the MPS backend but it does not have support for that dtype`.

EDIT: just read up it might have more to do with audio processing.

Fingers crossed for better mac support in ML in general! Competition is a great thing


Yes, and the article writer is suggesting that more AI training will be done on the client computer, and gave spelling and grammar checking as an example.


I don't know much about AI and stuff, but I know Apple's been doing machine learning / image recognition and the like for a long time now, so that the Photos app on your phone can recognize the same people in photos or categorise them - all done on device instead of uploading your photos.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: