You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: library/gpu_info.py
+5-19Lines changed: 5 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -13,29 +13,15 @@
13
13
14
14
DOCUMENTATION="""
15
15
---
16
-
module: sacct_cluster
17
-
short_description: Manages clusters in the accounting database
18
-
version_added: "2.9"
16
+
module: gpu_info
17
+
short_description: Gathers information about NVIDIA GPUs on a node
19
18
description:
20
-
- "Adds/removes a cluster from the accounting database"
21
-
options:
22
-
name:
23
-
description:
24
-
- Name of the cluster
25
-
required: true
26
-
type: str
27
-
state:
28
-
description:
29
-
- If C(present), cluster will be added if it does't already exist
30
-
- If C(absent), cluster will be removed if it exists
31
-
type: str
32
-
required: true
33
-
choices: [ absent, present]
34
-
19
+
- "This module queries for NVIDIA GPUs using `nvidia-smi` and returns information about them. It is designed to fail gracefully if `nvidia-smi` is not present or if the NVIDIA driver is not running."
0 commit comments