SIGN IN SIGN UP

Change training pybind extension_module linkage to static (#9809)

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:
M
Mengwei Liu committed
d0bf8327f829c7980f079441a9f94332202ee260
Parent: 19950b3
Committed by GitHub <noreply@github.com> on 4/1/2025, 10:09:16 PM