Releases: wookayin/gpustat
Releases · wookayin/gpustat
v1.1.1
v1.1
v1.1 (2023/4/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()
andgpustat.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 (@XuehaiPan) (#100)
- Make gpustat not crash even when there are 0 number of GPUs
v1.0
Add windows support, retire Python 2.x, use official NVML bindings, etc.
Github Milestone: https://github.com/wookayin/gpustat/issues?q=milestone%3A1.0
Breaking Changes
- Retire Python 2 (#66). Add CI tests for python 3.8 and higher.
- Use official nvidia python bindings (#107).
- Due to API incompatibility issues, the nvidia driver version should be R450 or higher
in order for process information to be correctly displayed. - NOTE:
nvidia-ml-py<=11.495.46
is required (nvidia-ml-py3
shall not be used).
- Due to API incompatibility issues, the nvidia driver version should be R450 or higher
- Use of '--gpuname-width' will truncate longer GPU names (#47).
New Feature and Enhancements
- Add windows support again, by switching to
blessed
(#78, @skjerns) - Add '--show-codec (-e)' option: display encoder/decoder utilization (#79, @ChaoticMind)
- Add full process information (-f) (#65, @bethune-bryant)
- Add '--show-all (-a)' flag (#64, @Michaelvll)
- '--debug' will show more detailed stacktrace/exception information
- Use unicode symbols (#58, @arinbjornk)
- Include nvidia driver version into JSON output (#10)
Bug Fixes
- Fix color/highlight issues on power usage
- Make color/highlight work correctly when TERM is not set
- Do not list the same GPU process more than once (#84)
- Fix a bug where querying zombie process can throw errors (#95)
- Fix a bug where psutil may fail to get process info on Windows (#121, #123, @mattip)
Etc.
- Internal improvements on code style and tests
- CI: Use Github Actions
v1.0.0 (Release Candidate)
- [Breaking changes] Retire Python 2 (#66). Add CI tests for python 3.8.
- [Breaking changes] Backward-incompatible changes on JSON fields (#10)
- [Breaking changes] Use official nvidia python bindings (#107).
- Due to API incompatibility issues, the nvidia driver version should be R450 or higher
in order for process information to be correctly displayed.
- Due to API incompatibility issues, the nvidia driver version should be R450 or higher
- [New Feature] Add '--show-codec (-e)' option: display encoder/decoder utilization (#79)
- [Enhancement] Re-add windows support, by switching to
blessed
(#78, @skjerns) - [Enhancement] Use unicode symbols (#58, @arinbjornk)
- [Enhancement] Add full process information (-f) (#65, @bethune-bryant)
- [Enhancement] Add '--show-all (-a)' flag (#64)
- [Enhancement] '--debug' will show more stacktrace/exception information
- [Bugfix] Fix color/highlight issues on power usage
- [Bugfix] Make color/highlight work correctly when TERM is not set
- [Bugfix] Do not list the same GPU process more than once (#84)
- [Bugfix] Fix a bug where querying zombie process can throw errors (#95)
- [Bugfix] Fix a bug where psutil may fail to get process info on Windows (#121, #123, @mattip)
- [Etc] Internal improvements on code style and tests
- [Etc] CI: Use Github Actions
v0.6.0
v0.6.0 (2019/07/22)
- [Feature] Add a flag for fan speed (
-F
,--show-fan
) (#62, #63), contributed by @bethune-bryant - [Enhancement] Align query datetime in the header with respect to
--gpuname-width
parameter. - [Enhancement] Alias
gpustat --watch
to-i
/--interval
option. - [Enhancement] Display NVIDIA driver version in the header (#53)
- [Bugfix] Minor fixes on debug mode
- [Etc] Travis: python 3.7
Note: This will be the last version that supports python 2.7 and <3.4.
v0.5.0
Changelog
- [Feature] Built-in watch mode (
gpustat -i
) (#7, #41).- Contributed by @drons and @Stonesjtu, Thanks!
- [Bug] Fix the problem extra character was showing (#32)
- [Bug] Fix a bug in json mode where process information is unavailable (#45)
- [Etc.] Refactoring of internal code structure:
gpustat
is now a package (#33) - [Etc.] More unit tests and better use of code styles (flake8)
See also: Milestone 0.5
v0.4.1
v0.4.0
Changelog
gpustat
is no more a zero-dependency script and now depends on some packages. Please install using pip.
- Use
nvidia-ml-py
bindings andpsutil
to replace command-line call ofnvidia-smi
andps
(#20, Thanks to @Stonesjtu). - A behavior on pipe is changed; it will not be in color by default, use
--color
explicitly. (e.g.watch --color -n1.0 gpustat --color
) - Fix a bug in handling stale-state or zombie process (#16)
- Include non-CUDA graphics applications in the process list (#18, Thanks to @kapsh)
- Support power usage (#13, #28, Thanks to @cjw85)
- Support
--debug
option