From a3beb5325fb80e3924367f04be07beff8cf50ad8 Mon Sep 17 00:00:00 2001 From: Hyunjae Woo Date: Fri, 3 Nov 2023 13:57:07 -0700 Subject: [PATCH] Fix pre-commit --- model_analyzer/device/gpu_device_factory.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model_analyzer/device/gpu_device_factory.py b/model_analyzer/device/gpu_device_factory.py index 359fbd293..03f76115f 100755 --- a/model_analyzer/device/gpu_device_factory.py +++ b/model_analyzer/device/gpu_device_factory.py @@ -64,13 +64,13 @@ def init_all_devices(self, dcgmPath=None): for device_id in dcgm_device_ids: device_atrributes = dcgm_agent.dcgmGetDeviceAttributes( - dcgm_handle, device_id).identifiers + dcgm_handle, device_id + ).identifiers pci_bus_id = device_atrributes.pciBusId device_uuid = device_atrributes.uuid device_name = device_atrributes.deviceName - gpu_device = GPUDevice(device_name, device_id, pci_bus_id, - device_uuid) + gpu_device = GPUDevice(device_name, device_id, pci_bus_id, device_uuid) self._devices.append(gpu_device) self._devices_by_bus_id[pci_bus_id] = gpu_device