MPS support on torch 2.3.0

When I run PyTorch 2.3.0 it tells me that pytorch has no link to MPS
With pytorch 2.2.2 it works.

Is there any way to get 2.3.0 to use MPS?

Regards
Sven