Skip to content

Conversation

pytorchbot
Copy link
Collaborator

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:

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)
Copy link

pytorch-bot bot commented Apr 8, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 1d6778e with merge base 771588a (image):

NEW FAILURES - The following jobs have failed:

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 8, 2025
@metascroy
Copy link
Contributor

@larryliu0820 there are some failing tests, including segfault in lava runner. Can you have a look?

@metascroy
Copy link
Contributor

@larryliu0820 there are some failing tests, including segfault in lava runner. Can you have a look?

Actually, it looks like it predates this PR

@metascroy metascroy merged commit d53eff4 into release/0.6 Apr 9, 2025
167 of 169 checks passed
@metascroy metascroy deleted the cherry-pick-9809-by-pytorch_bot_bot_ branch April 9, 2025 00:21
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants