Commit 7811c69
authored
Build PyTorch wheel via PEP 517 instead of setup.py (#21562)
Recent PyTorch nightlies removed `python setup.py bdist_wheel`; PyTorch now builds through scikit-build-core via the standard PEP 517 interface. Build the wheel with `python -m build --wheel --no-isolation` so the CI docker image can pick up newer nightlies. No isolation keeps the build against the image's own numpy and toolchain and lets it reuse sccache, so the build requirements are installed explicitly. The wheel still lands in dist/, so the install step is unchanged.1 parent 35c7297 commit 7811c69
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
56 | 66 | | |
| |||
0 commit comments