Repository navigation
Introduce CMake workflow - #15821
Introduce CMake workflow#15821
Conversation
CMake workflow combines configure and build into 1 command. Instead of
doing:
```
cmake --preset llm \
-DEXECUTORCH_BUILD_CUDA=ON \
-DCMAKE_INSTALL_PREFIX=cmake-out \
-DCMAKE_BUILD_TYPE=Release \
-Bcmake-out -S.
cmake --build cmake-out -j$(nproc) --target install --config Release
```
We can simply do `cmake --workflow llm-release-cuda`. This largely
reduces the burden of running these cmake commands.
Next step I'm going to create workflow for the popular runners (llama,
whisper, voxtral etc) and further simplify the build command
ghstack-source-id: 21411ca
Pull Request resolved: #15804
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15821
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 19 Pending, 4 Unrelated FailuresAs of commit 2691d6d with merge base 6de1f4e ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
Picking to resolve CI failures on the release branch, since this seems to have resolved the moshi failures. |
|
@pytorchbot cherry-pick --onto release/1.0 -c critical |
Cherry picking #15821Command Details for Dev Infra teamRaised by workflow job |
### Summary The torchcodec nightly version we are pinning is out of retention. It was updated on main as part of #15180. This PR picks just that change to the requirements file to avoid picking up all of the other large changes in the PR. The follow-up change to the ffmpeg install in #15821 is also picked here, since it's needed for the previous change to work.
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: pytorch#15804 by @larryliu0820 ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/larryliu0820/81/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/81/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/81/orig @diff-train-skip-merge Co-authored-by: Mengwei Liu <[email protected]>
This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #15804 by @larryliu0820
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/larryliu0820/81/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/81/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/larryliu0820/81/orig
@diff-train-skip-merge