Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-hwoo committed Nov 3, 2023
1 parent 38c760b commit a3beb53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model_analyzer/device/gpu_device_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3beb53

Please sign in to comment.