-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Support] AMD jaxlib-binary errors, can't find ld.lld #229
Comments
Why is this closed ? Still have that issue when installing jax using
How can I resolve this issue ? |
Apparently you have to set the environment variable I installed rocm through my distros package manager, unfortunately it seems this did not set the variable. |
Thank you that was indeed the issue. NOTE: I also needed to "import torch" on top of my file, no clue why. The issue if I do not "import torch":
|
Problem Description
Trying to use jax with rocm produces this error when actually instantiating any device arrays:
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: unable to find ld.lld in PATH: No such file or directory
Jax does work in the docker container provided by AMD but not using the jaxlib binary. The error looks like it might be related to this issue.
I have tried adding /opt/rocm/llvm/bin and /opt/rocm/lib/llvm/bin to my path, but it did not work. LLD is otherwise also installed and in my path.
Steps to reproduce
rocminfo output
The text was updated successfully, but these errors were encountered: