Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inport Error librocm_smi64.so.5 with ROCm 5.0.2 #1600

Open
RavenOchlich opened this issue Mar 9, 2022 · 1 comment
Open

Inport Error librocm_smi64.so.5 with ROCm 5.0.2 #1600

RavenOchlich opened this issue Mar 9, 2022 · 1 comment

Comments

@RavenOchlich
Copy link

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Freshly Updated Arch Linux
  • TensorFlow installed from (source or binary): Binary from PyPi
  • TensorFlow version (use command below): 2.8.0
  • Python version: 3.10.2
  • GPU model and memory: Vega 56 8GB

Describe the current behavior
I can't import Tensorflow because i get the following ImportError. I use the AUR ROCM Packages with Version 5.0.2. I can use tensorflow without Problems in the rocm/tensorflow container.

Exception has occurred: ImportError
Traceback (most recent call last):
  File "/home/rwo/.local/lib/python3.10/site-packages/tensorflow/python/pywrap_tensorflow.py", line 60, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: librocm_smi64.so.5: cannot open shared object file: No such file or directory
```

**Describe the expected behavior**
Import works as usual.

**Standalone code to reproduce the issue**
```
import tensorflow as tf
```


@lucbruni-amd
Copy link

Hi @RavenOchlich,

Sorry to hear you encountered this issue, and for a lack of response until now.

AMD does not officially package for AUR. That may be a contributing factor as to why you are encountering problems outside of Docker. If you are still running into this problem on Arch Linux with more recent versions of ROCm/TF (whether acquired through AUR or not), kindly let me know and this will be investigated further. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants