Update MPS_ERROR_RUNTIME_TOO_LOW message (#139427)

https://github.com/pytorch/pytorch/pull/133141 updated min os requirement to 13.0, but missed the message

Fixes https://github.com/pytorch/pytorch/issues/139425

Pull Request resolved: https://github.com/pytorch/pytorch/pull/139427
Approved by: https://github.com/seemethere, https://github.com/kit1980
This commit is contained in:
Nikita Shulga 2024-10-31 22:04:08 +00:00 committed by PyTorch MergeBot
parent c1e7d85ce6
commit 01136fb9e0

View file

@ -12,7 +12,7 @@
#define MPS_ERROR_NOT_COMPILED "PyTorch code is not compiled with MPS enabled"
#define MPS_ERROR_RUNTIME_TOO_LOW \
"The MPS backend is supported on MacOS 12.3+.", \
"The MPS backend is supported on MacOS 13.0+.", \
"Current OS version can be queried using `sw_vers`"
#define MPS_ERROR_DOUBLE_NOT_SUPPORTED "Cannot convert a MPS Tensor to float64 dtype " \
"as the MPS framework doesn't support float64. Please use float32 instead."