Skip to content

Conversation

swolchok
Copy link
Contributor

Doing so removes some overhead and is what I think we should recommend to customers.

[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

swolchok commented Oct 20, 2025

Copy link

pytorch-bot bot commented Oct 20, 2025

🔗 Helpful Links

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

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:

❌ 2 New Failures, 3 Unrelated Failures

As of commit 8b2afb1 with merge base 2e8e579 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

swolchok added a commit that referenced this pull request Oct 20, 2025
Doing so removes some overhead and is what I think we should recommend to customers.


ghstack-source-id: 5b7a736
ghstack-comment-id: 3420125399
Pull-Request: #15264
@meta-cla meta-cla 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 20, 2025
@swolchok swolchok added the release notes: none Do not include this in the release notes label Oct 20, 2025
std::optional<::executorch::extension::threadpool::NoThreadPoolGuard>
opt_guard;
if (cpu_threads == 1) {
opt_guard.emplace();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this, does the perf look same as ET_USE_THREADPOOL not defined? Curious if there is anything else...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't look the same, because we still wrap the function in a runtime::FunctionRef so there's an extra layer of function call.

@swolchok
Copy link
Contributor Author

swolchok commented Oct 21, 2025

unittest-arm-backend-with-no-fvp and unittest-nxp-neutron both flaky/broken since at least Friday, merging

@swolchok swolchok merged commit 86c1a9a into main Oct 21, 2025
140 of 153 checks passed
@swolchok swolchok deleted the gh/swolchok/589/head branch October 21, 2025 19:52
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.

2 participants