Skip to content

Conversation

@swolchok
Copy link
Contributor

@swolchok swolchok commented Jun 3, 2025

Noticed that this function has a significant template-independent part, so I factored it out.

ran test/build_optimized_size_test.sh before/after. here's the output of size cmake-out/size_test_all_optimized_ops before/after (other binaries didn't change).

before:

__TEXT	__DATA	__OBJC	others	dec	hex
4456448	98304	0	4296359936	4300914688	1005ac000	cmake-out/test/size_test_all_optimized_ops

after:

__TEXT	__DATA	__OBJC	others	dec	hex
4440064	98304	0	4296359936	4300898304	1005a8000	cmake-out/test/size_test_all_optimized_ops

difference of 16384 bytes.

[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

swolchok commented Jun 3, 2025

Stack from ghstack (oldest at bottom):

@swolchok swolchok requested a review from manuelcandales as a code owner June 3, 2025 23:38
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 3, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 57a1e72 with merge base 450d1f9 (image):
💚 Looks good so far! There are no failures yet. 💚

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

swolchok added a commit that referenced this pull request Jun 3, 2025
Noticed that this function has a significant template-independent part, so I factored it out.

ran test/build_optimized_size_test.sh before/after. here's the output of `size cmake-out/size_test_all_optimized_ops` before/after (other binaries didn't change).

before:

```
__TEXT	__DATA	__OBJC	others	dec	hex
4456448	98304	0	4296359936	4300914688	1005ac000	cmake-out/test/size_test_all_optimized_ops
```

after:
```
__TEXT	__DATA	__OBJC	others	dec	hex
4440064	98304	0	4296359936	4300898304	1005a8000	cmake-out/test/size_test_all_optimized_ops
```

difference of 16384 bytes.
ghstack-source-id: bc550ec
ghstack-comment-id: 2937733037
Pull-Request-resolved: #11346
@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 3, 2025
@swolchok swolchok added the release notes: none Do not include this in the release notes label Jun 3, 2025
@swolchok swolchok requested a review from kimishpatel June 3, 2025 23:42
@mergennachin
Copy link
Contributor

Sweet!

@swolchok swolchok merged commit ca39d86 into main Jun 4, 2025
97 of 98 checks passed
@swolchok swolchok deleted the gh/swolchok/447/head branch June 4, 2025 17:10
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. release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants