Fatal error with 8-bit quantization in Tensorflow

I am trying to run a quantization model in Tensorflow using Bazel with my Ubuntu 16.04 system.

I executed 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 the '// tensorflow / contrib / verbs: rdma' failed rule (output 1).

In the 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 completed.

Target // tensorflow / tools / quantization: quantize_graph failed to create

How can I solve this problem? Thanks in advance!

+4
source share
2

libibverbs-dev

sudo apt-get update
sudo apt-get install libibverbs-dev
+1

libibverbs-dev librdmacm-dev

sudo apt-get install libibverbs-dev
sudo apt-get install librdmacm-dev
+1

Source: https://habr.com/ru/post/1683675/


All Articles