What hardware is recommended to do ML on MacBook Pro?

Hi, in the Linux/Unix world, we prefer to use Nvidia GPU to do machine learning research as the GPU cores can speed up the processing significantly. How does it work in the Mac world? Since the M1 Macbook Pro do not support Nvidia GPU, what sort of hardware is recommended to do machine learning research on the Mac using 3rd party API or Apple's API? For this case, is M1 Max better than M1 Pro? Is it better to get a system with 32 GPU Cores rather than 24 GPU Cores? Does Apple ML API take advantage of these GPU Cores?

What hardware is recommended to do ML on MacBook Pro?
 
 
Q