emfacilities.protocols.pynvml module

exception emfacilities.protocols.pynvml.NVMLError[source]

Bases: Exception

exception emfacilities.protocols.pynvml.NVMLError_AlreadyInitialized

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_CorruptedInforom

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_DriverNotLoaded

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_FunctionNotFound

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_GpuIsLost

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_InsufficientPower

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_InsufficientSize

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_InvalidArgument

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_IrqIssue

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_LibRmVersionMismatch

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_LibraryNotFound

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_NoPermission

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_NotFound

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_NotSupported

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_OperatingSystem

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_ResetRequired

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_Timeout

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_Uninitialized

Bases: emfacilities.protocols.pynvml.NVMLError

exception emfacilities.protocols.pynvml.NVMLError_Unknown

Bases: emfacilities.protocols.pynvml.NVMLError

class emfacilities.protocols.pynvml.c_nvmlAccountingStats_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

gpuUtilization

Structure/Union member

isRunning

Structure/Union member

maxMemoryUsage

Structure/Union member

memoryUtilization

Structure/Union member

reserved

Structure/Union member

startTime

Structure/Union member

time

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlBAR1Memory_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

bar1Free

Structure/Union member

bar1Total

Structure/Union member

bar1Used

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlBridgeChipHierarchy_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

bridgeChipInfo

Structure/Union member

bridgeCount

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlBridgeChipInfo_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

fwVersion

Structure/Union member

type

Structure/Union member

emfacilities.protocols.pynvml.c_nvmlDevice_t

alias of emfacilities.protocols.pynvml.LP_struct_c_nvmlDevice_t

class emfacilities.protocols.pynvml.c_nvmlEccErrorCounts_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

deviceMemory

Structure/Union member

l1Cache

Structure/Union member

l2Cache

Structure/Union member

registerFile

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlEventData_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

device

Structure/Union member

eventData

Structure/Union member

eventType

Structure/Union member

emfacilities.protocols.pynvml.c_nvmlEventSet_t

alias of emfacilities.protocols.pynvml.LP_struct_c_nvmlEventSet_t

class emfacilities.protocols.pynvml.c_nvmlHwbcEntry_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

firmwareVersion

Structure/Union member

hwbcId

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlLedState_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

cause

Structure/Union member

color

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlMemory_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

free

Structure/Union member

total

Structure/Union member

used

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlPSUInfo_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

current

Structure/Union member

power

Structure/Union member

state

Structure/Union member

voltage

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlProcessInfo_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

pid

Structure/Union member

usedGpuMemory

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlSample_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

sampleValue

Structure/Union member

timeStamp

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlUnitFanInfo_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

speed

Structure/Union member

state

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlUnitFanSpeeds_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

count

Structure/Union member

fans

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlUnitInfo_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

firmwareVersion

Structure/Union member

id

Structure/Union member

name

Structure/Union member

serial

Structure/Union member

emfacilities.protocols.pynvml.c_nvmlUnit_t

alias of emfacilities.protocols.pynvml.LP_struct_c_nvmlUnit_t

class emfacilities.protocols.pynvml.c_nvmlUtilization_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

gpu

Structure/Union member

memory

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlValue_t[source]

Bases: _ctypes.Union

dVal

Structure/Union member

uiVal

Structure/Union member

ulVal

Structure/Union member

ullVal

Structure/Union member

class emfacilities.protocols.pynvml.c_nvmlViolationTime_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

referenceTime

Structure/Union member

violationTime

Structure/Union member

emfacilities.protocols.pynvml.nvmlDeviceClearAccountingPids(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceClearCpuAffinity(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceClearEccErrorCounts(handle, counterType)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetAPIRestriction(device, apiType)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetAccountingBufferSize(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetAccountingMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetAccountingPids(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetAccountingStats(handle, pid)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetApplicationsClock(handle, type)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetAutoBoostedClocksEnabled(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetBAR1MemoryInfo(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetBoardId(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetBrand(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetBridgeChipInfo(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetClockInfo(handle, type)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetComputeMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetComputeRunningProcesses(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCount()[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCpuAffinity(handle, cpuSetSize)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCurrPcieLinkGeneration(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCurrPcieLinkWidth(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCurrentClocksThrottleReasons(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCurrentDriverModel(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCurrentEccMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetCurrentGpuOperationMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetDecoderUtilization(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetDefaultApplicationsClock(handle, type)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetDetailedEccErrors(handle, errorType, counterType)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetDisplayActive(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetDisplayMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetDriverModel(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetEccMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetEncoderUtilization(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetEnforcedPowerLimit(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetFanSpeed(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetGpuOperationMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetGraphicsRunningProcesses(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetHandleByIndex(index)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetHandleByPciBusId(pciBusId)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetHandleBySerial(serial)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetHandleByUUID(uuid)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetIndex(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetInforomConfigurationChecksum(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetInforomImageVersion(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetInforomVersion(handle, infoRomObject)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMaxClockInfo(handle, type)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMaxPcieLinkGeneration(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMaxPcieLinkWidth(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMemoryErrorCounter(handle, errorType, counterType, locationType)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMemoryInfo(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMinorNumber(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetMultiGpuBoard(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetName(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPciInfo(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPcieReplayCounter(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPcieThroughput(device, counter)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPendingDriverModel(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPendingEccMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPendingGpuOperationMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPerformanceState(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPersistenceMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPowerManagementDefaultLimit(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPowerManagementLimit(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPowerManagementLimitConstraints(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPowerManagementMode(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPowerState(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetPowerUsage(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetRetiredPages(device, sourceFilter)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetRetiredPagesPendingStatus(device)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetSamples(device, sampling_type, timeStamp)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetSerial(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetSupportedClocksThrottleReasons(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetSupportedEventTypes(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetSupportedGraphicsClocks(handle, memoryClockMHz)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetSupportedMemoryClocks(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetTemperature(handle, sensor)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetTemperatureThreshold(handle, threshold)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetTopologyCommonAncestor(device1, device2)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetTopologyNearestGpus(device, level)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetTotalEccErrors(handle, errorType, counterType)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetUUID(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetUtilizationRates(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetVbiosVersion(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceGetViolationStatus(device, perfPolicyType)[source]
emfacilities.protocols.pynvml.nvmlDeviceOnSameBoard(handle1, handle2)[source]
emfacilities.protocols.pynvml.nvmlDeviceRegisterEvents(handle, eventTypes, eventSet)[source]
emfacilities.protocols.pynvml.nvmlDeviceResetApplicationsClocks(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetAPIRestriction(handle, apiType, isRestricted)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetAccountingMode(handle, mode)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetApplicationsClocks(handle, maxMemClockMHz, maxGraphicsClockMHz)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetAutoBoostedClocksEnabled(handle, enabled)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetComputeMode(handle, mode)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetCpuAffinity(handle)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetDefaultAutoBoostedClocksEnabled(handle, enabled, flags)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetDriverModel(handle, model)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetEccMode(handle, mode)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetGpuOperationMode(handle, mode)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetPersistenceMode(handle, mode)[source]
emfacilities.protocols.pynvml.nvmlDeviceSetPowerManagementLimit(handle, limit)[source]
emfacilities.protocols.pynvml.nvmlDeviceValidateInforom(handle)[source]
emfacilities.protocols.pynvml.nvmlErrorString(result)[source]
emfacilities.protocols.pynvml.nvmlEventSetCreate()[source]
emfacilities.protocols.pynvml.nvmlEventSetFree(eventSet)[source]
emfacilities.protocols.pynvml.nvmlEventSetWait(eventSet, timeoutms)[source]
class emfacilities.protocols.pynvml.nvmlFriendlyObject(dictionary)[source]

Bases: object

emfacilities.protocols.pynvml.nvmlFriendlyObjectToStruct(obj, model)[source]
emfacilities.protocols.pynvml.nvmlInit()[source]
class emfacilities.protocols.pynvml.nvmlPciInfo_t[source]

Bases: emfacilities.protocols.pynvml._PrintableStructure

bus

Structure/Union member

busId

Structure/Union member

device

Structure/Union member

domain

Structure/Union member

pciDeviceId

Structure/Union member

pciSubSystemId

Structure/Union member

reserved0

Structure/Union member

reserved1

Structure/Union member

reserved2

Structure/Union member

reserved3

Structure/Union member

emfacilities.protocols.pynvml.nvmlShutdown()[source]
emfacilities.protocols.pynvml.nvmlStructToFriendlyObject(struct)[source]
emfacilities.protocols.pynvml.nvmlSystemGetDriverVersion()[source]
emfacilities.protocols.pynvml.nvmlSystemGetHicVersion()[source]
emfacilities.protocols.pynvml.nvmlSystemGetNVMLVersion()[source]
emfacilities.protocols.pynvml.nvmlSystemGetProcessName(pid)[source]
emfacilities.protocols.pynvml.nvmlSystemGetTopologyGpuSet(cpuNumber)[source]
emfacilities.protocols.pynvml.nvmlUnitGetCount()[source]
emfacilities.protocols.pynvml.nvmlUnitGetDeviceCount(unit)[source]
emfacilities.protocols.pynvml.nvmlUnitGetDevices(unit)[source]
emfacilities.protocols.pynvml.nvmlUnitGetFanSpeedInfo(unit)[source]
emfacilities.protocols.pynvml.nvmlUnitGetHandleByIndex(index)[source]
emfacilities.protocols.pynvml.nvmlUnitGetLedState(unit)[source]
emfacilities.protocols.pynvml.nvmlUnitGetPsuInfo(unit)[source]
emfacilities.protocols.pynvml.nvmlUnitGetTemperature(unit, type)[source]
emfacilities.protocols.pynvml.nvmlUnitGetUnitInfo(unit)[source]
emfacilities.protocols.pynvml.nvmlUnitSetLedState(unit, color)[source]
class emfacilities.protocols.pynvml.struct_c_nvmlDevice_t[source]

Bases: _ctypes.Structure

class emfacilities.protocols.pynvml.struct_c_nvmlEventSet_t[source]

Bases: _ctypes.Structure

class emfacilities.protocols.pynvml.struct_c_nvmlUnit_t[source]

Bases: _ctypes.Structure