Skip to content

Commit c977d35

Browse files
hippogrRui Gao
andauthored
Fix the module "logger" missing when running DCGM (#137)
* add missing module when updating DCGM higher version * install dcgm with specified version --------- Co-authored-by: Rui Gao <ruigao@microsoft.com>
1 parent a9cc4de commit c977d35

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/job-exporter/build/update-dcgm.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#!/usr/bin/env python3
77

8+
DCGM_TARGET_VERSION = "1:4.4.1-1"
89

910
def get_dcgm_version():
1011
try:
@@ -72,8 +73,10 @@ def install_latest_dcgm():
7273
)
7374
subprocess.run(
7475
[
75-
"apt-get", "install", "--yes", "--install-recommends",
76-
"datacenter-gpu-manager-4-cuda12"
76+
"apt-get", "install", "--yes",
77+
f"datacenter-gpu-manager-4-cuda12={DCGM_TARGET_VERSION}",
78+
f"datacenter-gpu-manager-4-core={DCGM_TARGET_VERSION}",
79+
f"datacenter-gpu-manager-4-proprietary-cuda12={DCGM_TARGET_VERSION}"
7780
],
7881
check=True
7982
)

0 commit comments

Comments
 (0)