Skip to content

Reduce size of Method::parse_types #7613

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

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Reduce size of Method::parse_types #7613

merged 2 commits into from
Jan 13, 2025

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #7603
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/swolchok/129/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/swolchok/129/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/swolchok/128/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/swolchok/129/orig
@diff-train-skip-merge

Github Executorch added 2 commits January 10, 2025 13:31
At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

ghstack-source-id: 260945746
Pull Request resolved: #7602
It looks like this function was big enough that inlining gave up, since I was seeing non-inlined calls to val_as_Foo() that should have been easily optimized away. Do said optimization manually.

Differential Revision: [D68037113](https://our.internmc.facebook.com/intern/diff/D68037113/)

ghstack-source-id: 260959235
Pull Request resolved: #7603
Copy link

pytorch-bot bot commented Jan 11, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 21aa1a7 with merge base e1c0bcf (image):
💚 Looks good so far! There are no failures yet. 💚

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 Jan 11, 2025
Base automatically changed from gh/swolchok/128/orig to main January 11, 2025 02:19
@lucylq lucylq merged commit a1c5678 into main Jan 13, 2025
43 checks passed
@lucylq lucylq deleted the gh/swolchok/129/orig branch January 13, 2025 20:06
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
* add maybe_unused where needed in size_test.cpp

At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

ghstack-source-id: 260945746
Pull Request resolved: #7602

* Reduce size of Method::parse_types

It looks like this function was big enough that inlining gave up, since I was seeing non-inlined calls to val_as_Foo() that should have been easily optimized away. Do said optimization manually.

Differential Revision: [D68037113](https://our.internmc.facebook.com/intern/diff/D68037113/)

ghstack-source-id: 260959235
Pull Request resolved: #7603

---------

Co-authored-by: Github Executorch <[email protected]>
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.

3 participants