-
Notifications
You must be signed in to change notification settings - Fork 608
Switch Apple benchmark workflow to use the generic ET benchmark iOS app #5212
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5212
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 31cf557 with merge base f9da675 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@huydhn has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
CODE_SIGNING_ALLOWED=No | ||
fi | ||
ARTIFACTS_DIR_NAME="$1" | ||
APP_PATH="extension/apple/Benchmark/Benchmark" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shoumikhin what tokenizer is the app built with? w/ both bpe and tiktoken?
.github/workflows/apple-perf.yml
Outdated
${CONDA_RUN} --no-capture-output \ | ||
build/build_apple_llm_demo.sh ${{ matrix.tokenizer }} ${ARTIFACTS_DIR_NAME} | ||
build/build_apple_llm_demo.sh ${ARTIFACTS_DIR_NAME} | ||
|
||
upload-ios-apps: | ||
needs: build-llm-demo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we rename previous step to build-benchmark-app
? Also should we update ios-ipa-archive
and ios-xctestrun-zip
to point to the new benchmark app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left few comments, otherwise lgtm
@huydhn has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@huydhn has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
The benchmark is running on device now, but it crashes once before being retrying successfully (weird) https://github.com/pytorch/executorch/actions/runs/10804559720/job/29970780023: Here is the test output:
@shoumikhin has some leads on the cause of the crash:
So, I guess we need to figure this out and fix the issue before this can be landed. |
Is this PR ready to test other models w/ different delegates. If the crash is llama specific, we can verify the app with nongenai models in parallel. Scheduled one: https://github.com/pytorch/executorch/actions/runs/10817524101 |
@huydhn has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…pp (#5212) Summary: This requires shoumikhin change in #5208, so I will rebase and test it out again after #5208 lands ### Testing https://github.com/pytorch/executorch/actions/runs/10787058020 Reviewed By: shoumikhin, guangy10 Differential Revision: D62415898 Pulled By: huydhn
ecf2ede
to
ef50595
Compare
This pull request was exported from Phabricator. Differential Revision: D62415898 |
…pp (#5212) Summary: This requires shoumikhin change in #5208, so I will rebase and test it out again after #5208 lands ### Testing https://github.com/pytorch/executorch/actions/runs/10787058020 Reviewed By: shoumikhin, guangy10 Differential Revision: D62415898 Pulled By: huydhn
ef50595
to
31cf557
Compare
This pull request was exported from Phabricator. Differential Revision: D62415898 |
This requires @shoumikhin change in #5208, so I will rebase and test it out again after #5208 lands
Testing
https://github.com/pytorch/executorch/actions/runs/10787058020