-
Notifications
You must be signed in to change notification settings - Fork 749
Add arm64 size_test #9252
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
base: main
Are you sure you want to change the base?
Add arm64 size_test #9252
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9252
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit b843749 with merge base b158753 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Hmm.. compilation is failing for arm64. Probably a good thing we caught this. https://github.com/pytorch/executorch/actions/runs/13847352135/job/38748447351?pr=9252 FWIW, the other two are succeeding: https://github.com/pytorch/executorch/actions/runs/13847352135/job/38748444523?pr=9252 https://github.com/pytorch/executorch/actions/runs/13847352135/job/38748444854?pr=9252 |
looks like it might be a false positive. see e.g. microsoft/onnxruntime#19296 . I don't see a problem offhand looking at the code, do you? |
.github/workflows/pull.yml
Outdated
| # threshold=48120 on devserver with gcc11.4 | ||
| # todo(lfq): update once binary size is below 50kb. | ||
| threshold="51784" | ||
| threshold="51504" |
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.
it's awkward that we have the same threshold for two different CPU architectures, but this is still an incremental improvement
b965f38 to
23fc5c1
Compare
|
@mergennachin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@mergennachin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
test/build_size_test.sh
Outdated
|
|
||
| # TODO(#8357): Remove -Wno-int-in-bool-context | ||
| COMMON_CXXFLAGS="-fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context" | ||
| COMMON_CXXFLAGS="-fno-exceptions -fno-rtti -Wall -Werror -Wno-int-in-bool-context -Wno-stringop-overread" |
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.
Ah this, I thought I removed the memcpy which trigged this for Arm baremetal build.
.github/workflows/pull.yml
Outdated
| threshold: 51784 | ||
| - runner: linux.arm64.2xlarge | ||
| docker-image: executorch-ubuntu-22.04-gcc11-aarch64 | ||
| threshold: 51784 |
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.
We have a big section ~32KiB IIRC for operator registration static arrays, we should not count that towards this. I have a WIP bare metal build where I can see ET text is ~11KiB, that is a good threshold to track IMHO. But this is a step in the right direction. Thanks.
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
2ff767e to
209715e
Compare
This PR needs a
|
209715e to
f30bec8
Compare
f30bec8 to
b843749
Compare
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
No description provided.