A safe and ergonomic Rust wrapper for the NVIDIA Management Library (NVML), providing access to GPU monitoring and management functions.
# Cargo.toml
[dependencies]
nvml-wrapper = "0.12.1"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes NVML and prints the number of detected NVIDIA GPUs.
Install NVIDIA drivers and NVML (usually included with the driver). On Linux, ensure `libnvidia-ml.so` is in the library path.
No dependency data recorded yet.