Skip to content

Fix QNN Android AAR build#18579

Merged
manuelcandales merged 1 commit intorelease/1.2from
cherry-pick-18577-by-pytorch_bot_bot_
Mar 30, 2026
Merged

Fix QNN Android AAR build#18579
manuelcandales merged 1 commit intorelease/1.2from
cherry-pick-18577-by-pytorch_bot_bot_

Conversation

@pytorchbot
Copy link
Copy Markdown
Collaborator

Add missing attention_sink_rope_runner.cpp to Android JNI build

This fixes a linker error when building libexecutorch_jni.so for the QNN flavor of the Android AAR. The QNN llama runner sources (lhd_token_generator.cpp, token_generator.cpp, prompt_processor.cpp, runner.cpp) reference AttentionSinkRopeRunner but its implementation wasn't being compiled into the JNI library.

Add missing attention_sink_rope_runner.cpp to Android JNI build

This fixes a linker error when building libexecutorch_jni.so for the QNN
flavor of the Android AAR. The QNN llama runner sources
(lhd_token_generator.cpp, token_generator.cpp, prompt_processor.cpp,
runner.cpp) reference AttentionSinkRopeRunner but its implementation
wasn't being compiled into the JNI library.

(cherry picked from commit 6b2537d)
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Mar 30, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18579

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 30, 2026
@manuelcandales manuelcandales merged commit c3245a8 into release/1.2 Mar 30, 2026
168 of 184 checks passed
@manuelcandales manuelcandales deleted the cherry-pick-18577-by-pytorch_bot_bot_ branch March 30, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants