diff --git a/src/toil/lib/accelerators.py b/src/toil/lib/accelerators.py index 2c7f50c9c2..0c0fbc00f1 100644 --- a/src/toil/lib/accelerators.py +++ b/src/toil/lib/accelerators.py @@ -100,13 +100,7 @@ def count_nvidia_gpus() -> int: .firstChild, ).data ) - except ( - FileNotFoundError, - subprocess.CalledProcessError, - IndexError, - ValueError, - PermissionError, - ): + except: return 0 # TODO: Parse each gpu > product_name > text content and convert to some