Repository navigation
Commit 2eec03e
Document nightly wheels and linking macOS backends from C++ (pytorch#22240)
## Summary
Two small documentation gaps for the pip wheel.
**Nightly install.** New features land on the `main` branch and reach
users through a nightly build before the next stable release. The
getting-started guide only showed the stable install, so add the nightly
command:
```
pip install executorch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cpu
```
**Linking macOS backends from C++.** The C++ guide showed how to link a
backend using XNNPACK as the example, but never showed the macOS Core ML
and MLX delegates. Add a short example that links both, and state that
registration is automatic: each backend registers itself through a
static initializer, and its CMake target already carries the link
options that keep that initializer from being dropped, so a consumer
does not need any force-load flag.
## Test plan
Documentation only. Reviewed the rendered Markdown and confirmed the
install command and the CMake snippet match the wheel's CMake package.
Co-authored-by: PyTorch Bot <pytorchbot@users.noreply.github.com>1 parent 41db862 commit 2eec03e
2 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
202 | 217 | | |
203 | 218 | | |
204 | 219 | | |
| |||
0 commit comments