Skip to content
Discussion options

You must be logged in to vote

Hi @goka-wu, the 50K refers to the core executorch components (without operators). Size test builds libexecutorch.a and then links it to a minimal executor runner. The executor runner can't really run any models because no operators are linked, but gives an approximation of the core runtime size.

See the size test sources:
https://github.com/pytorch/executorch/blob/main/test/CMakeLists.txt#L46-L55

Seconding @GregoryComer's comment on build flags to trim size.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@goka-wu
Comment options

@lucylq
Comment options

lucylq Aug 27, 2025
Collaborator

Answer selected by GregoryComer
@goka-wu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants