版本发布 2
- Show error messages when incorrect pynvml is installed (#153) - Make gpustat.nvml compatible with a third-party fork of pynvml (#153)
## [v1.1][milestone-1.1] (2023/4/5) [milestone-1.1]: https://github.com/wookayin/gpustat/milestone/5 Bugfixes for better stability and introduces a few minor features. Importantly, nvidia-ml-py version requirement is relaxed to be compatible with modern NVIDIA GPUs. Note: Python minimum version is raised to 3.6+ (compatible with Ubuntu 20.04 LTS). ### New Feature - Add a new flag `--no-processes` to hide process information (@doncamilom) (#133) - Add a new flag `--id` to query specific GPUs only (#125) - Add shell completion via shtab (@Freed-Wu) (#131) - Add error-safe APIs `gpustat.gpu_count()` and `gpustat.is_available()` (#145) ### Enhancements - Relax `nvidia-ml-py` version requirement, allowing versions greater than 11.495 (#143) - Handle Lost GPU and Unknown Error situations (#81, #125) - Print a summary of the error message when an error happens (#142) - Use setuptools-scm to auto-generate `__version__` string. - Add Python 3.11 to CI. ### Bugfix - Fix incorrect memory usage information on nvidia drivers 510.39 or higher (#141) - Fix occasional crash when psutil throws error on reading cpu_percent (#144) - Fix afterimage texts when the number of processes changes in the watch mode (#100) - Make gpustat not crash even when there are 0 number of GPUs