Running transformer models on mps instead of cpu on mac

I have an Macbook pro with M3 Max chip, 40 GPU cores, and 64GB of RAM. I am looking for a tutorial, resource, which can help me run my models on mps (macs GPU) instead of on CPU (I used transformers so far only for inference, but I may want to fine-tune them in the future).

I should say, I am new to the transformers and I hope this is not a too-basic question.