Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions projects/amdsmi/amdsmi_cli/amdsmi_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

current_path = os.path.dirname(os.path.abspath(__file__))
python_lib_path = f"{current_path}/../../share/amd_smi"
sys.path.append(python_lib_path)
# If the python library is installed, it will overwrite the path above
sys.path.insert(0, python_lib_path)
# Prioritize the library from this installation over any pip-installed version

try:
from amdsmi import amdsmi_interface, amdsmi_exception
Expand Down
Loading