It doesn't. You need to generate models for use on the neural engine, which apple did for Stable Diffusion, but this is just taking advantage of lots of fast RAM and lots and lots of threads, if I understand it correctly.
This needs some backing. When M1 just got out people were claiming it is comparable to 3080, until they saw the performance difference.