Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-roboflow committed Dec 3, 2024
1 parent b7a4818 commit 2c47382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference/core/devices/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_gpu_id():
Optional[int]: GPU ID if available, None otherwise.
"""
try:
from pynvml import nvmlInit, nvmlDeviceGetCount
from pynvml import nvmlDeviceGetCount, nvmlInit

nvmlInit()
gpus_count = nvmlDeviceGetCount()
Expand Down

0 comments on commit 2c47382

Please sign in to comment.