powered by
MPS is available
backends_mps_is_available()
Returns whether LibTorch is built with MPS support.