Closed jcarranz97 closed 8 months ago
@jcarranz97 Thank you for your query.
Assuming you're asking about python_smi_tools/rocm_smi.py, which is part of rocm_smi_lib
, pyrsmi
is based on the former but is more to be used in a Python project and imported as a package, while rom_smi_lib
and rocm_smi.py
is a CLI application and can be used as a standalone application. So, for applications in Python projects, CLI application will incur overhead of spawning a separate process, while pyrsmi
function calls within Python will have much smaller overhead.
Hope this clarifies.
Wondering what is the difference between pyrsmi and rocm_smi.py .