Skip to content

Commit

Permalink
disable warning message for gpu info
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen3d committed Nov 14, 2024
1 parent ce26bf7 commit 75ebf9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ bin/
vendor/
/data/
.DS_Store
/chain-data/*
2 changes: 1 addition & 1 deletion pkg/system/gpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func GetGPUInfo() []string {
gpu, err := ghw.GPU()
gpu, err := ghw.GPU(ghw.WithDisableWarnings())
if err != nil {
log.Warn().Msgf("failed to get GPU info: %s", err)
}
Expand Down

0 comments on commit 75ebf9c

Please sign in to comment.