Skip to content

Comments

Remove duplicate executorch submodule, use symlink instead#215

Merged
kirklandsign merged 3 commits intomainfrom
dupe-submodule
Feb 20, 2026
Merged

Remove duplicate executorch submodule, use symlink instead#215
kirklandsign merged 3 commits intomainfrom
dupe-submodule

Conversation

@kirklandsign
Copy link
Contributor

Replace the program-data-separation/cpp/executorch submodule (tracking main) with a symlink to third-party/executorch (release/1.0), matching the pattern used by mv2/cpp, mv2/wasm, efficient_sam/wasm, and stories110M/wasm. All CMake build options needed by program-data-separation exist in release/1.0. Saves ~700MB of vendored code and eliminates drift risk between two copies.

Update lora and linear example READMEs to reference the shared submodule path and recommend nightly pip install for LoRA export features.

Replace the program-data-separation/cpp/executorch submodule (tracking main) with a symlink to third-party/executorch (release/1.0), matching the pattern used by mv2/cpp, mv2/wasm, efficient_sam/wasm, and stories110M/wasm. All CMake build options needed by program-data-separation exist in release/1.0. Saves ~700MB of vendored code and eliminates drift risk between two copies.

Update lora and linear example READMEs to reference the shared submodule path and recommend nightly pip install for LoRA export features.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 20, 2026
@kirklandsign kirklandsign marked this pull request as ready for review February 20, 2026 22:39
## Install ExecuTorch

[Install from source](https://docs.pytorch.org/executorch/stable/using-executorch-building-from-source.html#install-executorch-pip-package-from-source):
Install from a recent nightly build (recommended for LoRA export features):
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can recommend >1.1 now

Copy link
Contributor

@lucylq lucylq left a comment

Choose a reason for hiding this comment

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

Thank you for updating this!!

@kirklandsign kirklandsign merged commit 7d0a9d2 into main Feb 20, 2026
7 checks passed
@kirklandsign kirklandsign deleted the dupe-submodule branch February 20, 2026 22:50
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 Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants