Skip to content

CI: cache SwiftShader prebuilt to skip per-run from-source build#20203

Open
JulianCloudNTH wants to merge 1 commit into
pytorch:mainfrom
JulianCloudNTH:export-D108185797
Open

CI: cache SwiftShader prebuilt to skip per-run from-source build#20203
JulianCloudNTH wants to merge 1 commit into
pytorch:mainfrom
JulianCloudNTH:export-D108185797

Conversation

@JulianCloudNTH

Copy link
Copy Markdown
Contributor

Summary: Try a pinned-rev SwiftShader prebuilt from gha-artifacts before building from source (mirrors the torch-wheel download-or-build in .ci/scripts/utils.sh); on a cache miss, fall back to the existing from-source build. The key embeds SWIFTSHADER_REV, so a rev bump auto-invalidates (re-seed S3 once per bump). Follow-up to the Dawn CI diff, addressing review feedback to cache the build.

Differential Revision: D108185797

Summary: Try a pinned-rev SwiftShader prebuilt from gha-artifacts before building from source (mirrors the torch-wheel download-or-build in .ci/scripts/utils.sh); on a cache miss, fall back to the existing from-source build. The key embeds SWIFTSHADER_REV, so a rev bump auto-invalidates (re-seed S3 once per bump). Follow-up to the Dawn CI diff, addressing review feedback to cache the build.

Differential Revision: D108185797
@pytorch-bot

pytorch-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ You can merge normally! (1 Unrelated Failure), 2 Unclassified Failures

As of commit d6e9a01 with merge base f0dff03 (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

BROKEN TRUNK - The following job failed but were 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.

@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 Jun 10, 2026
@meta-codesync

meta-codesync Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

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

@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.

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.

1 participant