Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 24, 2024
1 parent 71a7471 commit c537bd3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions heimdallr/utilities/nvidia/smi_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2827,9 +2827,9 @@ def DeviceQuery(self, filter=None):
or NVSMI_CLOCK_THROTTLE_REASONS_SW_THERMAL_SLOWDOWN in filter
or NVSMI_CLOCK_THROTTLE_REASONS_SYNC_BOOST in filter
):
gpuResults[
"clocks_throttle"
] = NvidiaSMI.__GetClocksThrottleReasons(handle)
gpuResults["clocks_throttle"] = (
NvidiaSMI.__GetClocksThrottleReasons(handle)
)

fbMemoryUsage = {}
includeMemoryUsage = False
Expand Down Expand Up @@ -3268,9 +3268,9 @@ def DeviceQuery(self, filter=None):
except NVMLError as err:
supportedGraphicsClocks = NvidiaSMI.__handleError(err)

supportMemClock[
"supported_graphics_clock"
] = supportedGraphicsClocks
supportMemClock["supported_graphics_clock"] = (
supportedGraphicsClocks
)

supportedClocks.append(supportMemClock)
# jj+=1
Expand Down

0 comments on commit c537bd3

Please sign in to comment.