Registry / utility / nvidia-go-nvml

nvidia-go-nvml

JSON →
library0.13.2-0gogounverified

Go bindings for the NVIDIA Management Library (NVML) for GPU monitoring and management.

go get github.com/NVIDIA/go-nvml
INSTALL
IMPORT
SIG · NVIDIA-GO-NVML
N
nvidia-go-nvml
utilitygov0.13.2-0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

nvml
github.com/NVIDIA/go-nvml

Initialize NVML and get device count

package main import ( "fmt" "github.com/NVIDIA/go-nvml/pkg/nvml" ) func main() { err := nvml.Init() if err != nil { panic(err) } defer nvml.Shutdown() count, _ := nvml.DeviceGetCount() fmt.Printf("Found %d NVIDIA devices\n", count) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.2-0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nvidia-go-nvml — go get nvidia-go-nvml · libregistry