Added logs DO NOT MERGE

parent 0bf383d5
Subproject commit 0d22bf560256ce654804a1288ece835914b2b0c5
Subproject commit 3dc2ad8439be5d2be049c8ca81b489e34e184034
......@@ -86,8 +86,11 @@ class NvidiaRepository:
self._gpu_count = xlib_display.nvcontrol_get_gpu_count()
gpu_status_list: List[GpuStatus] = []
for gpu_index in range(self._gpu_count):
LOG.info(">>>> gpu index = %d", gpu_index)
gpu = Gpu(gpu_index)
uuid = xlib_display.nvcontrol_get_gpu_uuid(gpu)
LOG.info(">>>> uuid = %s", uuid)
LOG.info(">>>> nvmlDeviceGetCount = %d", py3nvml.nvmlDeviceGetCount())
handle = py3nvml.nvmlDeviceGetHandleByUUID(uuid.encode('utf-8'))
memory_total = None
memory_used = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment