Skip to content

make building stop at Built target portable_kernels #16217

@imjking

Description

@imjking

Hey, i want to export llama pte model and deploy it on SA8255 device, i refered to https://github.com/pytorch/executorch/blob/main/examples/models/llama/README.md and https://docs.pytorch.ac.cn/executorch/stable/llm/build-run-llama3-qualcomm-ai-engine-direct-backend.html, but when i Built llama runner binary for Android i got the error:
[ 98%] Linking CXX static library libportable_kernels.a
[ 98%] Built target portable_kernels
[ 98%] Linking CXX static library liboptimized_portable_kernels.a
[ 98%] Built target optimized_portable_kernels
gmake: *** [Makefile:156: all] Error 2

How can I solve this? i paste the error.log and the build.sh file.
Appreciate reply!

build.sh
error.log

cc @cccclai @winskuo-quic @shewu-quic @haowhsu-quic @DannyYuyang-quic @cbilgin

Metadata

Metadata

Assignees

Labels

module: qnnIssues related to Qualcomm's QNN delegate and code under backends/qualcomm/partner: qualcommFor backend delegation, kernels, demo, etc. from the 3rd-party partner, Qualcomm

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions