test error
Jeffrey98-AI opened this issue · comments
hello, thanks for your great work, when i run testCustomOp.py , wrong message is as below.
tensorflow.python.framework.errors_impl.NotFoundError: ../cpp/proj/TFWordBeamSearch.so: undefined symbol: _ZN10tensorflow22CheckNotInComputeAsyncEPNS_15OpKernelContextEPKc
Environment : TF 1.4 and Cuda 8.0
While, when I test it on TF 1.12 and cuda 9.0 it's ok.
If I recall, this sort of error often happens when you're using a different version of tensorflow/cuda than the op was compiled with. Does the error occur when you build a clean version in the TF/CUDA environment you're also running in?
you can try different compiler settings like adding/removing -D_GLIBCXX_USE_CXX11_ABI=0
from the build script. This worked for some other users (search through the list of issues).
closing because of inactivity.