-
Notifications
You must be signed in to change notification settings - Fork 170
Is there any prebuild for libtensorflow available? #44
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
Comments
The branch I tried to build is r1.15.5+nv21.10, I don't think there is any environment issue on my side as I just use NGC container with aligned release version (21.10). It would be highly appreciated if I can get some suggestions on how to build this successfully. The build configuration is as as below:
I build nvtf with command:
Error message:
|
Source build instructions are now included in the README. Can you try building with those? |
./tensorflow/core/kernels/cwise_ops_common.h:268:45: required from 'void tensorflow::UnaryOp<Device, Functor>::Compute(tensorflow::OpKernelContext*) [with Device = Eigen::ThreadPoolDevice; Functor = tensorflow::functor::get_angle<std::complex >]' |
Using the build instructions in the README and r1.15.5+nv21.11 branch, I can build |
The build command is :
and the build environment is centos 7.5 and gcc version is 7.3.1 @nluehr And the detail log, It seems to be caused by eigen data type convertion:
|
Hi! Your compile issue is caused with an issue of compiling this repository's FixedPoint library on a newer gcc. This issue for the library was fixed in Google's Tensorflow 2.x, and I've created a pull request (#48) that fixes it in this repository. In the meantime, you can simply copy the FixedPoint library from the 2.x code into your local copy of the nvidia-tensorflow repository, and it should fix the compile error and build successfully. I got your same error and fixed it by doing this. Also, the error in issue #47 is identical to yours, and that issue was fixed by copying over this library. If you haven't found a prebuild yet, give compiling from source another try! |
Is there any build of libtensorflow available that I can download? I tried to build from source inside a NGC container nvcr.io/nvidia/tensorflow:21.10-tf1-py3, but failed.
Thanks in advance.
The text was updated successfully, but these errors were encountered: