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

Android improve prebuilt workflow and provide tutorial #3840

Closed
wants to merge 5 commits into from

Conversation

kirklandsign
Copy link
Contributor

  • Don't depend on demo app. Instead, build JAR/JNI/AAR directly
  • Update tutorial, example scripts for LLAMA demo app

kirklandsign and others added 2 commits June 4, 2024 16:17
Don't depend on demo app. Instead, build JAR/JNI/AAR directly
Copy link

pytorch-bot bot commented Jun 4, 2024

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit ea38c68 with merge base f184329 (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot facebook-github-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 Jun 4, 2024
@kirklandsign
Copy link
Contributor Author

SHA is temporary!

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@mergennachin mergennachin left a comment

Choose a reason for hiding this comment

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

Do we actually want to hard-code "0.2.1" in the main branch?

@@ -0,0 +1,37 @@
# Using Android prebuilt libraries (AAR)
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So far I added a link in LLAMA demo app page, because I set up LLAMA in a way that we can use either prebuilt library or locally built library.

For ExecuTorch demo app, I can't easily modify the code to let user choose between two options. Especially when the ExecuTorch demo app has Qualcomm related stuff. I feel it's risky. Then linking the prebuilt library instruction to ExecuTorch demo app page might confuse people, because they need to modify the gradle rule a bit.

Let me know what you think.

@facebook-github-bot
Copy link
Contributor

@kirklandsign merged this pull request in e85b52a.

@kirklandsign
Copy link
Contributor Author

Do we actually want to hard-code "0.2.1" in the main branch?

I will update it for main. I use 0.2.1 so it's easier to CP to release branch

@kirklandsign kirklandsign deleted the android-provide-prebuilt-option branch June 5, 2024 17:11
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants