From 77532c6827ce4cb21a43094453fac9291491f9a8 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 7 Nov 2025 22:51:35 -0300 Subject: [PATCH] fix(nvidia): remove warning log when no GPU detected The warning log was removed from the error case in has_nvidia_gpu() function as it was producing false positives. The function now silently returns false when nvidia-smi is not available or no NVIDIA GPU is detected, which is the expected behavior for the fallback case. --- src/nvidia/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nvidia/mod.rs b/src/nvidia/mod.rs index 8624c3ee5..00833e71f 100644 --- a/src/nvidia/mod.rs +++ b/src/nvidia/mod.rs @@ -41,7 +41,6 @@ pub fn has_nvidia_gpu() -> bool { { Ok(output) => output.status.success(), Err(_) => { - warn!("No NVIDIA GPU detected or nvidia-smi not available"); false } }