Skip to content
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

Illegal instruction (core dumped) when importing #6

Open
Yujikaiya opened this issue Feb 4, 2021 · 2 comments
Open

Illegal instruction (core dumped) when importing #6

Yujikaiya opened this issue Feb 4, 2021 · 2 comments

Comments

@Yujikaiya
Copy link

Operating System: CentOS 7
Python version: 3.7.9 (from anaconda)
gcc-c++-4.8.5 (Since there was another issue about C++ environment, so just for sure)

Description
I installed Gryffin successfully by using pip, but when import Gryffin in the python code, it's shut down with the error message "Illegal instruction (core dumped)".

I succeccfully use Gryffin in the environment below.
Operating System: Ubuntu 18.04
Python version: 3.7.9 (from anaconda)
gcc version 7.5.0

I would like to have some information about using Gryffin with CentOS.

@Yujikaiya
Copy link
Author

I found out that this error occurs because of the old CPU which does not support AVX, so illegal instruction occurs when Tensorflow is imported (I confirmed by imoporting Tensorflow only).

So, command below fix the issue.
pip uninstall tensorflow
conda install tensorflow

To meet the compatibility of the Tensorflow (2.3.0)
I also need to import right version of tensorflow-probability
pip install tensorflow-probability==0.11.1
(v. 0.10.0 and 0.11.0 does not work)

@zhangyt0504
Copy link

Would you like to give me a hint of the error that occurred when running run_example? Is it my related configuration proble
微信图片_20220523161214
m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants