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.
This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-11-07 22:51:35 -03:00
parent 1febffdc58
commit 77532c6827

View file

@ -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
}
}