Describe the bug
Error during build of Horizon BPU (cross-compilation) runtime.
To Reproduce
The build procedure follows https://github.com/wenet-e2e/wenet/blob/main/runtime/horizonbpu/README.md.
Steps to reproduce the behavior:
- In Step 1 to install
Horizon packages, the following command was executed. (No error occurred in the procedure up to this step)
pip install wheels/* -i https://mirrors.aliyun.com/pypi/simple
- The following error message was displayed.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
onnx 1.17.0 requires protobuf>=3.20.2, but you have protobuf 3.19.4 which is incompatible.
tensorboard 2.14.0 requires protobuf>=3.19.6, but you have protobuf 3.19.4 which is incompatible.
tensorboardx 2.6.2.2 requires protobuf>=3.20, but you have protobuf 3.19.4 which is incompatible.
tiktoken 0.7.0 requires requests>=2.26.0, but you have requests 2.22.0 which is incompatible.
- To resolve the version conflict, I ran the following command
pip install protobuf==3.20.2
- The following new error occurs.
horizon-tc-ui 1.11.2 requires protobuf<=3.19.4,>=3.8.0, but you have protobuf 3.20.2 which is incompatible.
- It is an error in Step 1, but I built decoder_main in Step 2. The following command was executed.
cmake -B build -DBPU=ON -DONNX=OFF -DTORCH=OFF -DWEBSOCKET=OFF -DGRPC=OFF -DCMAKE_TOOLCHAIN_FILE=toolchains/aarch64-linux-gnu.toolchain.cmake
cmake --build build
- The following error message was displayed and the process was stopped.
[ 63%] Building CXX object post_processor/CMakeFiles/post_processor.dir/post_processor.cc.o
In file included from /home/ocha/wenet/runtime/horizonbpu/post_processor/post_processor.cc:16:
/home/ocha/wenet/runtime/horizonbpu/post_processor/post_processor.h:22:10: fatal error: processor/wetext_processor.h: No such file or directory
22 | #include "processor/wetext_processor.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [post_processor/CMakeFiles/post_processor.dir/build.make:76: post_processor/CMakeFiles/post_processor.dir/post_processor.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1906: post_processor/CMakeFiles/post_processor.dir/all] Error 2
gmake: *** [Makefile:156: all] Error 2
I would like your advice on how to deal with this problem.
Expected behavior
The build should complete without problems.
Screenshots
none.
Desktop (please complete the following information):
- OS: Ubuntu 22.04 LTS
- Conda: 24.7.1 (latest miniconda)
Additional context
none.
Describe the bug
Error during build of Horizon BPU (cross-compilation) runtime.
To Reproduce
The build procedure follows https://github.com/wenet-e2e/wenet/blob/main/runtime/horizonbpu/README.md.
Steps to reproduce the behavior:
Horizon packages, the following command was executed. (No error occurred in the procedure up to this step)I would like your advice on how to deal with this problem.
Expected behavior
The build should complete without problems.
Screenshots
none.
Desktop (please complete the following information):
Additional context
none.