Hi Christian, On 2025-03-01 03:01, Christian BAYLE wrote:
I started to investigate where i can find this FindHIP cmake file I found it in libamdhip64-dev that seems to be installed I also dig in ROCm AMD source code and found it in https://github.com/ROCm/HIPAs far as I could see, there is no HIP package, is this that should be packaged ?
I haven't looked recently, but at the time that rocm-hipamd was packaged, HIP could not be built stand-alone. You needed both the ROCm/clr and ROCm/HIP sources together to build. This is why rocm-hipamd is a Multi-Upstream Tarball package that includes both the ROCm/clr and ROCm/HIP tarballs.
Incidentally, in trying to build PyTorch last night, I discovered a bug in /usr/lib/x86_64-linux-gnu/cmake/hip/FindHIP/run_hipcc.cmake. I had to remove everything related to HIP_CLANG_PATH in that file, as it is broken. Today I'll file a proper bug for that issue and maybe do one final upload of rocm-hipamd 5.7 to unstable.
The packaging of PyTorch is a separate discussion from the ROCm 6 update, so let's move that to another thread. I've found at least one place where recent versions of PyTorch use features from ROCm 6, but I don't think the issues you're seeing are a matter of ROCm 5 vs ROCm 6.
Sincerely, Cory Bloor