Comment 0 for bug 2058606

Revision history for this message
Cory Bloor (slavik81) wrote : Sync rocm-hipamd 5.7.1-2 (universe) from Debian unstable (main)

Please sync rocm-hipamd 5.7.1-2 (universe) from Debian unstable (main)

This sync requires a FeatureFreeze exception

# Why a new upstream version is necessary

The Ubuntu Noble FeatureFreeze occurred while the ROCm stack on Debian was transitioning from ROCm 5.2 with clang-15 to ROCm 5.7 with clang-17. This has left the ROCm stack on Ubuntu Noble with a few problems:

1. Some packages in noble are based on clang-15 while others are based on clang-17. This mix of versions is not supported upstream and packages that depend on run-time compilation (such as rocfft) appear to be entirely broken. Noble will need to move rocm-hipamd to clang-17 to get all packages on one build toolchain, and the rocm-hipamd version is closely coupled to the compiler version.

2. The current version of rocm-hipamd (5.2.3) in noble is several years old and lacks support for modern hardware, such as the Radeon 7000 series of GPUs. As this is a library used for High-Performance Computing and AI, support for modern hardware is very important.

3. The current rocm-hipamd package depends on the rocm-device-libs binary package, which is not provided by any source package in noble. Ubuntu noble needs to complete the transition from rocm-device-libs to rocm-device-libs-17 and this requires updating rocm-hipamd to a newer upstream version.

4. The upstream ROCm 5.7.1 version was the last release of the ROCm 5 series. While both ROCm 5.2 and ROCm 5.7 are no longer supported upstream, there will be a much larger community using ROCm 5.7. Knowledge sharing withing this larger community will be beneficial for the long-term maintenance of the noble release.

5. The versions of ROCm components included on Ubuntu Noble are very inconsistent. This FeatureFreeze exception is one of several that I will be filing in an attempt to get as much of the ROCm stack as possible onto the upstream 5.7.1 release. The narrower the range of versions, the better. Ubuntu does not have significant automated testing for the AMD GPU libraries, so it is safer to use versions that closely correspond to what upstream and Debian are using (as both do significant testing on these libraries).

I will be filing FeatureFreeze exceptions requests for rocrand, rocprim, rocthrust, rocfft, hipfft, rocsparse and hipsparse to get them all onto 5.7.1.