Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 2 vulnerabilities #56

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 2 additions & 1 deletion requirements/requirements_server.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ schedule
PyGithub
msal
pillow>=10.0.1 # not directly required, pinned by Snyk to avoid a vulnerability
requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability
requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
Loading