-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to rocm recipes for rocm-5.5.0 and rocm-5.5.1 releases #37910
Conversation
@estewart08 can you review this PR? This PR modifies the following package(s), for which you are listed as a maintainer:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The libraries look good. I had a couple comments on other packages, but nothing too important.
var/spack/repos/builtin/packages/hip/0014-remove-compiler-rt-linkage-for-host.5.5.0.patch
Show resolved
Hide resolved
@spackbot rerun pipeline |
for ver in ["5.5.0", "5.5.1"]: | ||
depends_on("rocm-core@" + ver, when="@" + ver) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it really depend on rocm-core? That would be very unfortunate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i think so.. you can refer here . https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/blob/amd-stg-open/lib/comgr/CMakeLists.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the deb/rpm packages, the declared dependencies on rocm-core exist only so that you can apt remove rocm-core
or dnf remove rocm-core
and the package manager will remove all other rocm components.
The new thing in ROCm 5.5 is that a rocmcore library was added to the rocm-core package. The library that can be used to query the version number of the rocm release. However, nothing should actually be using that library. The version APIs it provides only really make sense in the context of the AMD deb/rpm releases.
This is a bit of a rant, but the creation of the rocmcore library is very unfortunate. There is no way to correctly use the version number that it provides outside the official AMD RPM/DEB packages. For example, on Debian Bookworm, the version of HIP is 5.2.3 but most of the math libraries are 5.3.3. If users care about the version of HIP, they should query the version of HIP and if users care about the version of, for example, rocSPARSE, they should query the version of rocSPARSE. Querying rocmcore and assuming that all components match the rocmcore version will lead to nothing but headaches when that assumption is violated. |
can i get some reviews and if things are okay, approval..pls. |
@tldahlgren , can you please let me know if this can be merged? |
@spackbot rerun pipeline |
I've started that pipeline for you! |
@spackbot rerun pipeline |
I've started that pipeline for you! |
changes in spack#37910 to enable gitlab-ci pass
@tldahlgren , can you please review this and let me know if this can be merged, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-confirmed all of the version sha256.
@srekolam sorry commenting way past this is merged, but I've been trying to get rocprof working through spack. What was the real reason for reverting the Edit: It seems like someone has been able to patch out the dependency also in the source code without any apparent problems: ROCm/ROCm#1781 (comment). |
basically libhsa-amd-aqlprofile64.so has been a closed source binary and due to which we could not get that in the spack build for rocprofiler. |
…#37910) * initial commit for rocm-5.5.0 release * fix the hipsparse build error for 5.5.0 * fix build error for amrex .add hiprand as a dependency * modify the patch for rocprofiler-dev * add hiprand for +rocm build * initial commit for rocm-5.5.1 release * bump up the version for rocm-5.5.1 release. * bump up the version for rocmlir.miopen to use this backend only till 5.5 * add new recipe py-barectf and add it as dependency for rocprofiler-dev * revert the changes for rocprofiler-dev for 5.5.0/1 for now as it depends on hsa-amdaqlprofile.so which is a closed source and no spack recipe is available for now. * add rocm-core as dependency for rocm packages from 5.5.0 onwards * avoid download of the gtest for building unit tests
* enable tensorflow-2.11 support for ROCm * add latest sha for mesa and limit the patches to older version.similar changes in #37910 to enable gitlab-ci pass * address review commemts
* enable tensorflow-2.11 support for ROCm * add latest sha for mesa and limit the patches to older version.similar changes in spack#37910 to enable gitlab-ci pass * address review commemts
* enable tensorflow-2.11 support for ROCm * add latest sha for mesa and limit the patches to older version.similar changes in spack#37910 to enable gitlab-ci pass * address review commemts
Initial commit for rocm-5.5.0 release. Planning to update this PR with rocm-5.5.1 as it is released today.