| Crates.io | nvidia |
| lib.rs | nvidia |
| version | 0.1.13 |
| created_at | 2024-09-07 18:08:02.294682+00 |
| updated_at | 2024-09-25 20:38:43.319369+00 |
| description | A Rust utility to retrieve information about NVIDIA GPUs installed in your system. |
| homepage | https://github.com/pcgeek86/nvidia-rs |
| repository | |
| max_upload_size | |
| id | 1367462 |
| size | 181,578 |
This is a command line tool to interface with NVIDIA GPUs.
This tool has been developed in native Rust code. 🦀
We rely on the nvml-wrapper crate, developed by @cldfire.
For the terminal user interface, we use the popular ratatui crate.

sudo apt-get install nvidia-driver-550-server --yesnvidia-smi command to validate that the NVIDIA GPU driver works correctlyEnsure that the Rust toolchain is installed on your system.
cargo install nvidia
Run this command:
nvidia
The program refreshes statistics every 200 milliseconds.
At the moment, this threshold is not configurable.
To exit the program, press the q key on your keyboard.
You can remove the NVIDIA CLI tool with the following command:
cargo uninstall nvidia
MIT