-
Notifications
You must be signed in to change notification settings - Fork 537
Change training pybind extension_module linkage to static #9809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary: Fixes #9576. Use `extension_module_static` in building `_training_lib`. Test Plan: Rely on unit test, also did a manual install in editable mode: ```bash ./install_executorch.sh --pybind training python -c "from executorch.extension.training.pybindings._training_lib import get_sgd_optimizer" ``` Reviewers: Subscribers: Tasks: Tags:
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9809
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 PendingAs of commit 817b14e with merge base b66c319 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@pytorchbot cherry-pick —onto release/0.6 -c bugfix |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot cherry-pick --onto release/0.6 --fixes #9576 -c fixnewfeature |
Summary: Fixes #9576. Use `extension_module_static` in building `_training_lib`. Test Plan: Rely on unit test, also did a manual install in editable mode: ```bash ./install_executorch.sh --pybind training -e python -c "from executorch.extension.training.pybindings._training_lib import get_sgd_optimizer" ``` Reviewers: Subscribers: Tasks: Tags: (cherry picked from commit d0bf832)
Cherry picking #9809The cherry pick PR is at #9961 and it is linked with issue #9576. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Summary: Fixes #9576. Use `extension_module_static` in building `_training_lib`. Test Plan: Rely on unit test, also did a manual install in editable mode: ```bash ./install_executorch.sh --pybind training -e python -c "from executorch.extension.training.pybindings._training_lib import get_sgd_optimizer" ``` Reviewers: Subscribers: Tasks: Tags:
Summary: Fixes #9576. Use
extension_module_static
in building_training_lib
.Test Plan: Rely on unit test, also did a manual install in editable mode:
./install_executorch.sh --pybind training -e python -c "from executorch.extension.training.pybindings._training_lib import get_sgd_optimizer"
Reviewers:
Subscribers:
Tasks:
Tags: