You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stalkerg
changed the title
Tinycrad can't find libhsa because hardcoded /lib in the code.
Tinygrad can't find libhsa because hardcoded /lib in the code.
Apr 14, 2024
By this line https://github.com/tinygrad/tinygrad/blob/master/tinygrad/runtime/autogen/hsa.py#L32C92-L32C98 they try to find lib by
/lib/libhsa-runtime64.so
inside ROCM_PATH, but on my system (Gentoo) this file in lib64 -/usr/lib64/libhsa-runtime64.so
.I don't think we should use absolute path in that case, it should be follow by ld.so
UPDATE: this as well https://github.com/tinygrad/tinygrad/blob/master/tinygrad/runtime/autogen/comgr.py#L32
The text was updated successfully, but these errors were encountered: