From 3efb4410f10c0b21f6e07456b35a9a3b07a1399d Mon Sep 17 00:00:00 2001 From: Eugene Mironov Date: Wed, 16 Jul 2025 02:23:00 +0700 Subject: [PATCH] Fix logging for mps in auto_select_torch_device (#1513) --- src/lerobot/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lerobot/utils/utils.py b/src/lerobot/utils/utils.py index 2e94a9c9..7a9717dc 100644 --- a/src/lerobot/utils/utils.py +++ b/src/lerobot/utils/utils.py @@ -48,7 +48,7 @@ def auto_select_torch_device() -> torch.device: logging.info("Cuda backend detected, using cuda.") return torch.device("cuda") elif torch.backends.mps.is_available(): - logging.info("Metal backend detected, using cuda.") + logging.info("Metal backend detected, using mps.") return torch.device("mps") else: logging.warning("No accelerated backend detected. Using default cpu, this will be slow.")