Skip to content

Conversation

@AdrianLundell
Copy link
Collaborator

@AdrianLundell AdrianLundell commented Apr 22, 2025

This lib is built by default when installing executorch, so use that instead of building our own version. The the version built by executorch however has an extra dependency on _portable_lib.cpython-310, which needs to be loaded as well.

Also removes all mentions of this script in related files.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

This lib is built by default when installing executorch,
so use that instead of building our own version. The
the version built by executorch however has an extra dependency on
_portable_lib.cpython-310, which needs to be loaded as well.

Also removes all mentions of this script in related files.

Signed-off-by: Adrian Lundell <[email protected]>
Change-Id: Ia3cf9eabb4e293ef96a9cc3441c4233241873684
@AdrianLundell AdrianLundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Apr 22, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Apr 22, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit de478c4 with merge base 9663990 (image):

NEW FAILURE - The following job has failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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 Apr 22, 2025
Change-Id: I4fcbbfe125a30e919e899e8add1ff4c8ed140ea5
Signed-off-by: Adrian Lundell <[email protected]>
Instead of defining a new function for loading the quantized_aot_lib,
and portable_lib, simply import the module to reuse the logic
which is implemented in the __init__ file.

By doing this when importing the arm quantizer, we are sure that
this lib is loaded when running quantized networks.

Signed-off-by: Adrian Lundell <[email protected]>
Change-Id: I5ef585981a09d332d15f7001fb97536b1a56def7
@AdrianLundell
Copy link
Collaborator Author

Unrelated lint failure in unmodified file.

@zingo zingo merged commit ce57d79 into pytorch:main Apr 28, 2025
173 of 175 checks passed
@AdrianLundell AdrianLundell deleted the change-1024712 branch September 4, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants