-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Python3 bindings for DCGM 4.2.3 contains DcgmDiag Module. This module is unimportable because of a "logger" module.
root@ccw-1-3-gpu-210:/usr/share/datacenter-gpu-manager-4/bindings/python3# pwd
/usr/share/datacenter-gpu-manager-4/bindings/python3
root@ccw-1-3-gpu-210:/usr/share/datacenter-gpu-manager-4/bindings/python3# python3 -c "import DcgmDiag"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/share/datacenter-gpu-manager-4/bindings/python3/DcgmDiag.py", line 18, in <module>
import logger
ModuleNotFoundError: No module named 'logger'
(.venv) root@ccw-1-3-gpu-210:/usr/share/datacenter-gpu-manager-4/bindings/python3# python3 -c "from DcgmDiag import DcgmDiag"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/share/datacenter-gpu-manager-4/bindings/python3/DcgmDiag.py", line 18, in <module>
import logger
ModuleNotFoundError: No module named 'logger'
These bindings come from DCGM version 4.2.3.
dcgmi --version
dcgmi version: 4.2.3
"logger.py" is not a file contained in the package:
dpkg -L datacenter-gpu-manager-4-core | grep -E '/logger\.py$'
All other imports work successfully:
(.venv) root@ccw-1-3-gpu-210:/usr/share/datacenter-gpu-manager-4/bindings/python3# python3 -c "import dcgm_fields,dcgm_structs,pydcgm"
(.venv) root@ccw-1-3-gpu-210:/usr/share/datacenter-gpu-manager-4/bindings/python3# ls
DcgmDiag.py DcgmGroup.py DcgmJsonReader.py DcgmReader.py DcgmSystem.py common dcgm_collectd_plugin.py dcgm_field_helpers.py dcgm_fields_collectd.py dcgm_fluentd.py dcgm_telegraf.py denylist_recommendations.py
DcgmFieldGroup.py DcgmHandle.py DcgmLogging.py DcgmStatus.py __pycache__ dcgm_agent.py dcgm_errors.py dcgm_fields.py dcgm_fields_internal.py dcgm_structs.py dcgmvalue.py pydcgm.py
Metadata
Metadata
Assignees
Labels
No labels