-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
[NNlibAMDGPUExt] Load MIOpen module only if it is available #483
Conversation
1.6 CUDA failure is probably spurious, but the AMDGPU one does not seem to be. |
Segfault in CI, because it uses global ROCm installation which is of incompatible version. |
Can we install the MIOpen_jll on CI? |
.buildkite/pipeline.yml
Outdated
@@ -76,18 +76,23 @@ steps: | |||
push!(conf[\"targets\"][\"test\"], \"AMDGPU\"); | |||
open(io -> TOML.print(io, conf), \"Project.toml\", \"w\"); | |||
""" | |||
- julia --project=. -e """ | |||
using Pkg; | |||
Pkg.develop(\"AMDGPU\"); |
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.
Another reason to switch to test/Project.toml sooner than later?
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.
...or now, thanks!
AMDGPU CI is probably down... |
Should we merge it? Even though AMDGPU CI is down, should be safe to do so. |
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.
Sounds good. I thought the CUDA jobs were also failing but must've not checked recently enough.
Since MIOpen artifact is only available on Julia 1.9 it is not included in AMDGPU by default.
Therefore we need to load it only when it is available.
Otherwise, it causes crashes for users that do not have MIOpen installed.
For example in AMDGPU tests, where we compare CPU with AMDGPU implementations and don't rely on NNlib AMDGPU support.
Project.toml
for tests.PR Checklist