This function prints the available devices (cpu, cuda, mps) detected by PyTorch. If your mps/cuda device is not shown, check your PyTorch installation.
Examples
# \donttest{
try(
check_devices()
)# }
#> Error in py_module_import(module, convert = convert) :
#> ImportError: DLL load failed while importing _C: The specified module could not be found.
#> Run `reticulate::py_last_error()` for details.