Skip to content

Conversation

@kirklandsign
Copy link
Contributor

@kirklandsign kirklandsign commented Oct 9, 2024

Repo steps:

  1. Download/init AOSP repo. See https://source.android.com/docs/setup/download

  2. Go to the AOSP tree.

  3. Clone repo

mkdir external/pytorch
cd external/pytorch
git clone https://github.com/pytorch/executorch.git -b aosp-test
cd ../..
  1. Build
source build/envsetup.sh
lunch aosp_arm64-trunk_staging-userdebug
m executor_runner
  1. Run on device
adb push out/target/product/generic_arm64/system/bin/executor_runner /data/local/tmp
adb shell chmod +x /data/local/tmp/executor_runner
adb shell /data/local/tmp/executor_runner --model_path <MODEL.PTE>
  1. Run on host
out/host/linux-x86/bin/executor_runner --model_path <MODEL.PTE>

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 9, 2024

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit f2c6429 with merge base 4b6a033 (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 Oct 9, 2024
@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.

@kirklandsign
Copy link
Contributor Author

We probably don't need to merge it. Google just needs to add the Android.bp files from this branch.

@kirklandsign kirklandsign marked this pull request as draft October 9, 2024 22:59
So that we don't need to pull in pytorch/pytorch
@github-actions
Copy link

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the stale PRs inactive for over 60 days label Aug 28, 2025
@github-actions
Copy link

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

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. stale PRs inactive for over 60 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants