From ae0f3dbf46b1da8e7cdd652bf01ca436e8f2da4d Mon Sep 17 00:00:00 2001 From: "CHEN, CHUN" Date: Mon, 2 Jun 2025 19:39:03 +0800 Subject: [PATCH] fix(validate_requirements): correct typo - Fixes a typo in the variable name and log message from "reccomended" to the correct "recommended" when logging Apple MPS memory information. Signed-off-by: CHEN, CHUN --- setup/validate_requirements.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/validate_requirements.py b/setup/validate_requirements.py index cb13840..1f6e481 100644 --- a/setup/validate_requirements.py +++ b/setup/validate_requirements.py @@ -135,9 +135,9 @@ def log_cuda_info(torch): def log_mps_info(torch): """Log information about Apple Silicone (MPS)""" - max_reccomended_mem = round(torch.mps.recommended_max_memory() / 1024**2) + max_recommended_mem = round(torch.mps.recommended_max_memory() / 1024**2) log.info( - f"Torch detected Apple MPS: {max_reccomended_mem}MB Unified Memory Available" + f"Torch detected Apple MPS: {max_recommended_mem}MB Unified Memory Available" ) log.warning('MPS support is still experimental, proceed with caution.')