Torch.backends.mps.is_available = false in M1 sillicon

Is there a way to run PyTorch 2.5.1 with MPS enabled without upgrading the MacOS?

More precisely, I have a MacBook (macOS-12.7.6-arm64-arm-64bit) but I’m still facing the following error:

RuntimeError: The MPS backend is supported on MacOS 12.3+.
Current OS version can be queried using `sw_vers`.

Basically, I have a OS version satisfying PyTorch requirements, still, it does not find a MPS device.