From e5528f4ca384a029317002dc88f5c8273e3bbc03 Mon Sep 17 00:00:00 2001 From: Xuehai Pan Date: Wed, 11 Jan 2023 15:25:54 +0800 Subject: [PATCH] deps: bump latest supported `nvidia-ml-py` version Signed-off-by: Xuehai Pan --- nvitop/version.py | 5 +++-- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/nvitop/version.py b/nvitop/version.py index dd48f00..ce9b144 100644 --- a/nvitop/version.py +++ b/nvitop/version.py @@ -56,7 +56,7 @@ if not __release__: # The package `nvidia-ml-py` is not backward compatible over releases. This may # cause problems with Old versions of NVIDIA drivers. # The ideal solution is to let the user install the best-fit version of `nvidia-ml-py`. -PYNVML_VERSION_CANDIDATES = [ +PYNVML_VERSION_CANDIDATES = ( # Sync with pyproject.toml and requirements.txt '11.450.51', # the last version supports the R430 driver (CUDA 10.x) '11.450.129', # requires at last the R450 driver @@ -66,7 +66,8 @@ PYNVML_VERSION_CANDIDATES = [ '11.510.69', # the first version supports the `nvmlMemory_v2` API '11.515.48', '11.515.75', -] + '11.525.84', +) """The list of supported ``nvidia-ml-py`` versions. See also: `nvidia-ml-py's Release History `_. diff --git a/pyproject.toml b/pyproject.toml index ad72c0d..af2e688 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ classifiers = [ ] dependencies = [ # Sync with nvitop/version.py and requirements.txt - "nvidia-ml-py >= 11.450.51, < 11.516.0a0", + "nvidia-ml-py >= 11.450.51, < 11.526.0a0", "psutil >= 5.6.6", "cachetools >= 1.0.1", "termcolor >= 1.0.0", diff --git a/requirements.txt b/requirements.txt index 087c56c..6685448 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Sync with pyproject.toml and nvitop/version.py -nvidia-ml-py >= 11.450.51, < 11.516.0a0 +nvidia-ml-py >= 11.450.51, < 11.526.0a0 psutil >= 5.6.6 cachetools >= 1.0.1 termcolor >= 1.0.0