3 ms·
rocm is kind of a joke. Recently I wanted to write some golang code which talks to rocm devices using amd smi. You have to build and install the go amd smi from
by __turbobrew__ 2y ago
rocm is kind of a joke. Recently I wanted to write some golang code which talks to rocm devices using amd smi. You have to build and install the go amd smi from source, the go amd smi repo has dead links and there is basically no documentation anywhere on how to get this working.
Compare this to nvidia where I just imported the go nvml library and it built the cgo code and automatically links to nvidia-ml.so at runtime.
- magic_at_nodai 2y agoIs this the repo you are referring to https://github.com/amd/go_amd_smi https://github.com/amd/go_amd_smi ? Would having a prebuilt version there help you ?
- __turbobrew__ 2y ago“ * NOTE: * The GO SMI binding depends on the following libraries: - E-SMI inband library ("https://github.com/amd/esmi_ib_library https://github.com/amd/esmi_ib_library") - ROCm SMI library("https://github.com/ROCm/rocm_smi_lib https://github.com/ROCm/rocm_smi_lib") - AMDSMI library("https://github.com/ROCm/amdsmi https://github.com/ROCm/amdsmi") - goamdsmi_shim library ("https://github.com/amd/goamdsmi/goamdsmi_shim")” https://github.com/amd/goamdsmi/goamdsmi_shim")” First of all this link is dead: https://github.com/amd/goamdsmi/goamdsmi_shim https://github.com/amd/goamdsmi/goamdsmi_shim Second: these dependencies should all be packaged into deb/rpm Third: there should be a goamdsmi package which has a proper dependency tree. I should be able to do ‘apt-get install goamdsmi’ and it should install everything I need. This is how it works with go-nvml.