Skip to content

Commit 8631db7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b72220a commit 8631db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/utils/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def compute_capabilities_after(major: int, minor: int = 0, current_ver_string: s
655655
pynvml, has_pynvml = optional_import("pynvml")
656656
if not has_pynvml: # assuming that the user has Ampere and later GPU
657657
return True
658-
658+
659659
try:
660660
pynvml.nvmlInit()
661661
handle = pynvml.nvmlDeviceGetHandleByIndex(0) # get the first GPU

0 commit comments

Comments
 (0)