Comments (6)
Hi John,
this version was written for TensorFlow 1 (1.14, but it is working even in version 1.15). If you need to use TF 2.0, please use GPU version (distributed as a Singularity image).
tensorflow 1.15.0 gpu_py37h0f0df58_0
tensorflow-base 1.15.0 gpu_py37h9dcbed7_0
tensorflow-estimator 1.15.1 pyh2649769_0
Did it help?
from tf-approximate.
thanks, I'll try again.
from tf-approximate.
Hi, My enviroment is ubuntu16.04 with anaconda3(python3.7, tf1.15).
I've found the op_kernel.h in my enviroment. The path is /anaconda3/envs/tf1_15/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_kernel.h. Then I copy all the file in tf1/axqconv into the path, /anaconda3/envs/tf1_15/lib/python3.7/site-packages/tensorflow_core/include/, and run the Makefile.But there is another error as follow:
(tf1_15) zhouhang@ubuntu:/anaconda3/envs/tf1_15/lib/python3.7/site-packages/tensorflow_core/include$ make
g++ -o tables tables.cc axmult.o
In file included from /usr/include/c++/5/cstdint:35:0,
from approximate_selector.h:2,
from tables.cc:7:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support
^
Makefile:27: recipe for target 'tables' failed
make: *** [tables] Error 1
Perhaps, the g++'s version cause the error. In my machine, gcc version is 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu116.04.12) .
from tf-approximate.
4
I modified two lines of code in the Makefile by adding the -std=c++11 as follow:
tune: tune.o axmult.o
g++ -std=c++11 -o
tables: tables.cc axmult.o approximate_selector.h
g++ -std=c++11 -o
Then run the Makefile, and axqconv.so is generated successfully. Does it result in bad outcome?
from tf-approximate.
You can try to run
make clean
To delete file .tfconfig, where the configuration for TensorFlow extension building is cached. If you changed your TF version using different Anaconda environment, the build arguments may change.
from tf-approximate.
thank you.
from tf-approximate.
Related Issues (20)
- Could the signed 8*8 multiplier work? HOT 1
- GPU evaluate is not work? HOT 2
- [tf2]Does kernel size=(1, 1) work ? HOT 2
- Problem in using the singularity container HOT 4
- Any chance to change addition? HOT 2
- Training
- Changes in approximate convolution
- tf1 compiling error HOT 1
- while running container showing following fatal error HOT 2
- TFapprox build with tensorflow 2.3
- using one Approximate Multiplier HOT 3
- sif file can not be found
- Changes for floating point multiplier HOT 1
- Dead container link HOT 1
- Where is the libApproxGPUOpsTF.so by building from source? HOT 2
- [tf2]How to generate the binary lookup table of approximate multiplier? HOT 7
- Gradient Implementation HOT 2
- Possible bug in IM2COL kernel HOT 1
- Building from source HOT 6
- Gradient registration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf-approximate.