Skip to content

Commit 22bc7d8

Browse files
committed
CUDA: if no nvidia-smi program, don't complain so loudly.
1 parent 8ce26ce commit 22bc7d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/cuda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def cuda_version_and_device_count() -> tuple[str, int]:
1313
try:
1414
out: Union[str, bytes] = subprocess.check_output(["nvidia-smi", "-q", "-x"]) # nosec
1515
except Exception as e:
16-
_logger.warning("Error checking CUDA version with nvidia-smi: %s", e, exc_info=e)
16+
_logger.debug("Error checking CUDA version with nvidia-smi: %s", e, exc_info=e)
1717
return ("", 0)
1818
dm = xml.dom.minidom.parseString(out) # nosec
1919

0 commit comments

Comments
 (0)