Skip to content

Commit 27cf25e

Browse files
committed
deps(nvidia-ml-py): add nvidia-ml-py 12.535.133 to support list
1 parent 5cba62f commit 27cf25e

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
- id: debug-statements
2626
- id: double-quote-string-fixer
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.1.2
28+
rev: v0.1.4
2929
hooks:
3030
- id: ruff
3131
args: [--fix, --exit-non-zero-on-fix]

nvitop/api/device.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,16 +2814,16 @@ def parse_cuda_visible_devices(
28142814
>>> import os
28152815
>>> os.environ['CUDA_DEVICE_ORDER'] = 'PCI_BUS_ID'
28162816
>>> os.environ['CUDA_VISIBLE_DEVICES'] = '6,5'
2817-
>>> parse_cuda_visible_devices() # parse the `CUDA_VISIBLE_DEVICES` environment variable to NVML indices
2817+
>>> parse_cuda_visible_devices() # parse the `CUDA_VISIBLE_DEVICES` environment variable to NVML indices
28182818
[6, 5]
28192819
2820-
>>> parse_cuda_visible_devices('0,4') # pass the `CUDA_VISIBLE_DEVICES` value explicitly
2820+
>>> parse_cuda_visible_devices('0,4') # pass the `CUDA_VISIBLE_DEVICES` value explicitly
28212821
[0, 4]
28222822
28232823
>>> parse_cuda_visible_devices('GPU-18ef14e9,GPU-849d5a8d') # accept abbreviated UUIDs
28242824
[5, 6]
28252825
2826-
>>> parse_cuda_visible_devices(None) # get all devices when the `CUDA_VISIBLE_DEVICES` environment variable unset
2826+
>>> parse_cuda_visible_devices(None) # get all devices when the `CUDA_VISIBLE_DEVICES` environment variable unset
28272827
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
28282828
28292829
>>> parse_cuda_visible_devices('MIG-d184f67c-c95f-5ef2-a935-195bd0094fbd') # MIG device support (MIG UUID)
@@ -2833,11 +2833,11 @@ def parse_cuda_visible_devices(
28332833
>>> parse_cuda_visible_devices('MIG-GPU-3eb79704/13/0') # MIG device support (abbreviated GPU UUID)
28342834
[(0, 1)]
28352835
2836-
>>> parse_cuda_visible_devices('') # empty string
2836+
>>> parse_cuda_visible_devices('') # empty string
28372837
[]
2838-
>>> parse_cuda_visible_devices('0,0') # invalid `CUDA_VISIBLE_DEVICES` (duplicate device ordinal)
2838+
>>> parse_cuda_visible_devices('0,0') # invalid `CUDA_VISIBLE_DEVICES` (duplicate device ordinal)
28392839
[]
2840-
>>> parse_cuda_visible_devices('16') # invalid `CUDA_VISIBLE_DEVICES` (device ordinal out of range)
2840+
>>> parse_cuda_visible_devices('16') # invalid `CUDA_VISIBLE_DEVICES` (device ordinal out of range)
28412841
[]
28422842
""" # pylint: disable=line-too-long
28432843
if cuda_visible_devices is _VALUE_OMITTED:

nvitop/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
'11.525.131',
7272
'12.535.77',
7373
'12.535.108',
74+
'12.535.133',
7475
)
7576
"""The list of supported ``nvidia-ml-py`` versions.
7677
See also: `nvidia-ml-py's Release History <https://pypi.org/project/nvidia-ml-py/#history>`_.

0 commit comments

Comments
 (0)