Skip to content
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

mediatek backend.so build failed #7549

Open
AndreaChiChengdu opened this issue Jan 8, 2025 · 3 comments
Open

mediatek backend.so build failed #7549

AndreaChiChengdu opened this issue Jan 8, 2025 · 3 comments
Labels
partner: mediatek Issues related to the Mediatek delegate

Comments

@AndreaChiChengdu
Copy link

🐛 Describe the bug

I have followed the steps in the backend mediatek and demo app example mediatek, installed the relevant dependency libraries and environment variables, and used ndk 26.3.11579264. However, when running ./mtk_build.sh or ./mtk_build_examples.sh to build the mtk backend, I encountered the problem shown in the figure.
build error
mtk_ndk_build_failed

Versions

0.5.0 and 0.4.0

@lucylq lucylq added the partner: mediatek Issues related to the Mediatek delegate label Jan 8, 2025
@lucylq
Copy link
Contributor

lucylq commented Jan 8, 2025

@cccclai for mediatek, could you take a look?

@AndreaChiChengdu
Copy link
Author

My host and toolchain versions meet the requirements specified in the guide, and I have downloaded and installed the MediaTek wheel. However, I encountered this issue on both Ubuntu 22.04 and 24.04. From the logs, it is unclear whether there is a conflict between the buffer allocation in the NDK and the MediaTek runtime.
please help to check it
thanks

@cccclai
Copy link
Contributor

cccclai commented Jan 10, 2025

@neuropilot-captain are there any recent changes? Is https://pytorch.org/executorch/main/build-run-mediatek-backend.html up to date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
partner: mediatek Issues related to the Mediatek delegate
Projects
None yet
Development

No branches or pull requests

3 participants