Skip to content

[Question]: 编译fast_transformer的transformer_e2e出现错误 #6287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
daimaohui opened this issue Jul 1, 2023 · 1 comment
Closed

[Question]: 编译fast_transformer的transformer_e2e出现错误 #6287

daimaohui opened this issue Jul 1, 2023 · 1 comment
Assignees
Labels
question Further information is requested triage

Comments

@daimaohui
Copy link

请提出你的问题

在执行make -j 出现错误

[ 97%] Linking CXX executable ../../bin/transformer_e2e
/usr/bin/ld: warning: libonnxruntime.so.1.10.0, needed by /home/aistudio/gcc/paddle_inference/paddle/lib/libpaddle_inference.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpaddle2onnx.so, needed by /home/aistudio/gcc/paddle_inference/paddle/lib/libpaddle_inference.so, not found (try using -rpath or -rpath-link)
/home/aistudio/gcc/paddle_inference/paddle/lib/libpaddle_inference.so:对‘OrtGetApiBase@VERS_1.10.0’未定义的引用
/home/aistudio/gcc/paddle_inference/paddle/lib/libpaddle_inference.so:对‘paddle2onnx::Export(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool, int, bool, bool, bool, bool, bool)’未定义的引用
/home/aistudio/gcc/paddle_inference/paddle/lib/libpaddle_inference.so:对‘paddle2onnx::IsExportable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, int, bool, bool, bool, bool, bool)’未定义的引用
collect2: error: ld returned 1 exit status
fast_transformer/src/CMakeFiles/transformer_e2e.dir/build.make:104: recipe for target 'bin/transformer_e2e' failed
make[2]: *** [bin/transformer_e2e] Error 1
CMakeFiles/Makefile2:226: recipe for target 'fast_transformer/src/CMakeFiles/transformer_e2e.dir/all' failed
make[1]: *** [fast_transformer/src/CMakeFiles/transformer_e2e.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
@daimaohui daimaohui added the question Further information is requested label Jul 1, 2023
@github-actions github-actions bot added the triage label Jul 1, 2023
@w5688414
Copy link
Contributor

w5688414 commented May 8, 2024

您好,fast_transformer已经停止更新了,请参考readme的环境+paddle的docker看能不能解决您的问题,另外,欢迎开发者进行贡献。

@paddle-bot paddle-bot bot closed this as completed May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage
Projects
None yet
Development

No branches or pull requests

3 participants