gpt4 book ai didi

tensorflow - Tensorflow 中 8 位量化的 fatal error

转载 作者:行者123 更新时间:2023-12-03 23:46:54 24 4
gpt4 key购买 nike

我正在尝试在我的 Ubuntu 16.04 系统上使用 Bazel 在 Tensorflow 中运行量化模型。

我运行了以下命令:

bazel build tensorflow/tools/quantization:quantize_graph

这是错误:

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



我怎么解决这个问题?提前致谢!

最佳答案

尝试安装 libibverbs-dev使用

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

关于tensorflow - Tensorflow 中 8 位量化的 fatal error ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45674000/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com