Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nits(nvidia/query): make detect logs debug level #135

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/accelerator/nvidia/query/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ func GPUsInstalled(ctx context.Context) (bool, error) {
if len(pciDevices) == 0 {
return false, nil
}
log.Logger.Infow("nvidia PCI devices found", "devices", len(pciDevices))
log.Logger.Debugw("nvidia PCI devices found", "devices", len(pciDevices))

// now that we have the NVIDIA PCI devices,
// call NVML C-based API for NVML API
gpuDeviceName, err := LoadGPUDeviceName(ctx)
if err != nil {
return false, err
}
log.Logger.Infow("detected nvidia gpu", "gpuDeviceName", gpuDeviceName)
log.Logger.Debugw("detected nvidia gpu", "gpuDeviceName", gpuDeviceName)

return true, nil
}
Expand Down
Loading