-
Notifications
You must be signed in to change notification settings - Fork 537
update sccache to latest version #6837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6837
Note: Links to docs will display an error until the docs builds have been completed. ❗ 2 Active SEVsThere are 2 currently active SEVs. If your PR is affected, please view them below:
✅ No FailuresAs of commit bbee49c with merge base 5b4d9bb ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
d2b5e99
to
bcc5828
Compare
.ci/docker/common/install_cache.sh
Outdated
# Instead use lib and headers from OpenSSL1.1 installed in `install_openssl.sh`` | ||
apt-get install -y cargo | ||
echo "Checking out sccache repo" | ||
if [ -n "$CUDA_VERSION" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can just use upstream https://github.com/mozilla/sccache to keep it simple here as there is no CUDA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We can just use https://github.com/mozilla/sccache here as there is not going to be any CUDA, so we won't need pytorch-fork sccache
6f7a717
to
bbee49c
Compare
This reverts commit 7278519. Nightly macos wheel builds are failing to link; seeing if this fixes it after inspecting commits between last good build (https://github.com/pytorch/executorch/actions/runs/11891594679) and first bad build (https://github.com/pytorch/executorch/actions/runs/11912200383)
Summary
Update SCCache to the latest version
This is part of the effort to get rid of AWS IMDSv1 usage. Latest SCCache uses IMDSv2, which is what we migrate to here (similar to pytorch/pytorch#121323).
Test plan
Check if SCCache is used and auth works to the S3 bucket for builds