Skip to content

Conversation

cccclai
Copy link
Contributor

@cccclai cccclai commented Oct 19, 2025

To build the app:

 sh scripts/build_android_library.sh

The default SeqLen is defined in https://github.com/meta-pytorch/executorch-examples/blob/9fc32b14dd91908ae5b0217e3712cda1546579f0/llm/android/LlamaDemo/app/src/main/java/com/example/executorchllamademo/MainActivity.java#L815

For QNN model, it can support up to 512 for the precompiled model.

@cccclai cccclai requested a review from kirklandsign as a code owner October 19, 2025 04:50
Copy link

pytorch-bot bot commented Oct 19, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 2 New Failures, 3 Unrelated Failures

As of commit 50a7cac with merge base 419727c (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@cccclai cccclai marked this pull request as draft October 19, 2025 04:50
@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 Oct 19, 2025
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

model_path->toStdString().c_str(),
data_files_vector,
executorch::extension::Module::LoadMode::MmapUseMlockIgnoreErrors);
std::string decoder_model = "llama3"; // use llama3 for now
Copy link
Contributor Author

@cccclai cccclai Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace the model name here accordingly, available path is

if (decoder_model_version == "llama2") {

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.

1 participant