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
Install from pip, run test and results in "illegal instruction" for tensorflow-gpu #29788
Comments
Which version of TF are you trying to use? See #17411 , #19809 and https://stackoverflow.com/questions/49094597/illegal-instruction-core-dumped-after-running-import-tensorflow Also maybe try running it in a |
@8bitmp3 thank you for your reply. emm, i us tf1.11. In fact, i just want do some try on bert and i must upgrade tf. I use pip but the result is too bad. errors alway go on. |
Can you include error message that you are getting. Thanks! |
@gadagashwini here is the detail: |
@AlexYoung757 Just to verify, did you add the lib and bin to path? Thanks! |
@gadagashwini yep! i am sure that i add the lib and bin to path. i can use the command: nvcc -v |
TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets. This means on any CPU that do not have these instruction sets either CPU or GPU version of TF will fail to load. I suspect that your CPU model does not support AVX instruction set. Can you please confirm?. Thanks! |
@ymodak thank you for your reply. en i find that my cpu model does not support AVX instruction set. it only supports sse 、sse2 . |
(1) The easiest way to use TF will be to switch to google colab. You get pre-installed stable TF version on it (currently running TF 1.14). Also you can use |
@ymodak . thanks , i have solved this problem. After modify the AVX instruction sets ,all the question has done. |
System information
Describe the problem
when i import tensorflow,the error as follow:
illegal instruction
i don't know why,please help me.
The text was updated successfully, but these errors were encountered: