-
Notifications
You must be signed in to change notification settings - Fork 75
[rocm7.1_internal_testing] Enable CentOS logic #2735
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
Changes from all commits
8a51a6b
7aab50b
3fb1500
f595465
fb6681a
9f6e599
790b863
bd20ce9
0089f53
78e9cc0
6179bb0
40fbda3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,15 +66,9 @@ EOF | |
| roctracer-dev \ | ||
| amd-smi-lib | ||
|
|
||
| # precompiled miopen kernels added in ROCm 3.5, renamed in ROCm 5.5 | ||
| # search for all unversioned packages | ||
| # if search fails it will abort this script; use true to avoid case where search fails | ||
| MIOPENHIPGFX=$(apt-cache search --names-only miopen-hip-gfx | awk '{print $1}' | grep -F -v . || true) | ||
| if [[ "x${MIOPENHIPGFX}" = x ]]; then | ||
| echo "miopen-hip-gfx package not available" && exit 1 | ||
| else | ||
| DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated ${MIOPENHIPGFX} | ||
| fi | ||
| # precompiled miopen kernels is too old and never updated from last 3+yrs so removing the logic to install | ||
| # Also, these kernels are not generating for MI300X, MI350 and also not reliable anymore | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @BrianHarrisonAMD Can you please comment here confirming the above is okay, or tag the correct POC? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @JonathanLichtnerAMD @DarylHawkinsAMD would likely be best for the current status. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're currently re-evaluating the effectiveness and applicability of the KDB files that ship with MIOpen. I think you are safe to exclude them for now as you are correct in that they have not been updated for quite some time. We have also switched to using more precompiled kernels and fewer runtime compiled ones so there is less benefit overall from this database. This should still leave the user cache mechanism in place so if there are customers who benefit from a runtime compiled kernel cache they should only pay the compilation cost the first time they run the kernel with a given set of runtime compile args. |
||
|
|
||
| # ROCm 6.0 had a regression where journal_mode was enabled on the kdb files resulting in permission errors at runtime | ||
| for kdb in /opt/rocm/share/miopen/db/*.kdb | ||
|
|
@@ -184,14 +178,8 @@ install_centos() { | |
| roctracer-dev \ | ||
| amd-smi-lib | ||
| fi | ||
| # precompiled miopen kernels; search for all unversioned packages | ||
| # if search fails it will abort this script; use true to avoid case where search fails | ||
| MIOPENHIPGFX=$(yum -q search miopen-hip-gfx | grep miopen-hip-gfx | awk '{print $1}'| grep -F kdb. || true) | ||
| if [[ "x${MIOPENHIPGFX}" = x ]]; then | ||
| echo "miopen-hip-gfx package not available" && exit 1 | ||
| else | ||
| yum install -y ${MIOPENHIPGFX} | ||
| fi | ||
| # precompiled miopen kernels is too old and never updated from last 3+yrs so removing the logic to install | ||
| # Also, these kernels are not generating for MI300X, MI350 and also not reliable anymore | ||
|
|
||
| # ROCm 6.0 had a regression where journal_mode was enabled on the kdb files resulting in permission errors at runtime | ||
| for kdb in /opt/rocm/share/miopen/db/*.kdb | ||
|
|
||
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.
This has been deprecated upstream e.g. pytorch#160832, so we definitely shouldn't reintroduce this upstream, but I'm also trying to understand if this is still needed for internal CI?