Skip to content

Build ggml GPU targets in compatible CI modes - #24223

Merged
meta-codesync[bot] merged 1 commit into
pytorch:mainfrom
digantdesai:export-D127883010
Oct 28, 2026
Merged

meta-codesync[bot] merged 1 commit into
pytorch:mainfrom
digantdesai:export-D127883010

Conversation

@digantdesai

Copy link
Copy Markdown
Contributor

Summary:
CI's default Linux configurations satisfy none of the CUDA, HIP or Metal ggml backend constraints, so CI only ever skipped the engine variants and runners that link them, and the CUDA and HIP op tests never ran in CI.

These targets now take CI labels from ggml_ci_labels, loaded next to the ggml dependencies, which builds them where they are compatible. The open-source shim returns no labels, and the CPU variants keep the default configuration. The GPU engine variants and the Metal runner build for the host platform only, since their backends have no mobile flavors.

Authored with Claude assistance.

Differential Revision: D127883010

Summary:
CI's default Linux configurations satisfy none of the CUDA, HIP or Metal ggml backend constraints, so CI only ever skipped the engine variants and runners that link them, and the CUDA and HIP op tests never ran in CI.

These targets now take CI labels from `ggml_ci_labels`, loaded next to the ggml dependencies, which builds them where they are compatible. The open-source shim returns no labels, and the CPU variants keep the default configuration. The GPU engine variants and the Metal runner build for the host platform only, since their backends have no mobile flavors.

Authored with Claude assistance.

Differential Revision: D127883010
Copilot AI balanced review requested due to automatic review settings October 28, 2026 03:42
@pytorch-bot

pytorch-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit b141808 with merge base 8ecf0fb (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla 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 Oct 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@meta-codesync

meta-codesync Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

@digantdesai has exported this pull request. If you are a Meta employee, you can view the originating Diff in D127883010.

@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@rascani rascani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync
meta-codesync Bot merged commit 670d0bd into pytorch:main Oct 28, 2026
220 of 225 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants