Skip to content

Commit

Permalink
re-enable nvml
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpetrovic committed Jan 19, 2024
1 parent a21bdd1 commit ddd7abf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/worker/metrics_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import (
)

func (wm *WorkerMetrics) InitNvml() {
// TODO: investigate segmentation violation
// wm.nvmlActive = nvml.Init() == nvml.SUCCESS
wm.nvmlActive = false
wm.nvmlActive = nvml.Init() == nvml.SUCCESS
}

func (wm *WorkerMetrics) Shutdown() {
Expand Down

0 comments on commit ddd7abf

Please sign in to comment.