Skip to content

Moving from pynvml to nvidia-ml-py #151

@jakirkham

Description

@jakirkham

Currently this is making use of pynvml in a few places:

Alternatively, MIG instance names can be obtained programatically using [NVML](https://developer.nvidia.com/nvidia-management-library-nvml) or [PyNVML](https://github.com/gpuopenanalytics/pynvml). Please refer to the [NVML API](https://docs.nvidia.com/deploy/nvml-api/) to write appropriate utilities for that purpose.

import pynvml
pynvml.nvmlInit()
return pynvml.nvmlDeviceGetName(pynvml.nvmlDeviceGetHandleByIndex(0))

However we would like to move to nvidia-ml-py in the future. Raising this issue to track this work

Metadata

Metadata

Assignees

Labels

build/testBuilding and testing the documentationimprovementImproves an existing functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions