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:
parent
0539af9f6b
commit
332dbe7420
1 changed files with 0 additions and 1 deletions
|
|
@ -41,7 +41,6 @@ pub fn has_nvidia_gpu() -> bool {
|
||||||
{
|
{
|
||||||
Ok(output) => output.status.success(),
|
Ok(output) => output.status.success(),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
warn!("No NVIDIA GPU detected or nvidia-smi not available");
|
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue