I'm trying to run quantization model in Tensorflow using Bazel with my Ubuntu 16.04 system.
I ran the following command:
bazel build tensorflow/tools/quantization:quantize_graph
and here is the error:
ERROR: /tensorflow-master/tensorflow/contrib/verbs/BUILD:136:1: C++ compilation of rule '//tensorflow/contrib/verbs:rdma' failed (Exit 1).
In file included from tensorflow/contrib/verbs/rdma.cc:18:0: ./tensorflow/contrib/verbs/rdma.h:21:30: fatal error: infiniband/verbs.h: No such file or directory
compilation terminated.
Target //tensorflow/tools/quantization:quantize_graph failed to build
How can I solve this problem? Thanks in advance!
Try installing libibverbs-dev
using
sudo apt-get update
sudo apt-get install libibverbs-dev
installing libibverbs-dev
and librdmacm-dev
using
sudo apt-get install libibverbs-dev
sudo apt-get install librdmacm-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With