cuda.core.system._device.ProcessInfo#

class cuda.core.system._device.ProcessInfo(device: Device, process_info: nvml.ProcessInfo)#

Information about running compute processes on the GPU.

Methods

__init__(
self,
Device device: 'Device',
process_info: nvml.ProcessInfo,
)#

Attributes

compute_instance_id#

The Compute instance ID for MIG devices.

Only valid for processes running on MIG devices.

gpu_instance_id#

The GPU instance ID for MIG devices.

Only valid for processes running on MIG devices.

pid#

The PID of the process.

used_gpu_memory#

The amount of GPU memory (in bytes) used by the process.