Restore ROCm job for Ubuntu - #27399
Merged
Merged
Conversation
Contributor
Author
CISC
approved these changes
Aug 19, 2026
superm1
force-pushed
the
master
branch
2 times, most recently
from
August 20, 2026 00:46
f02605c to
15c0c0e
Compare
Member
|
2GB of the cache seems like a lot for this job - this is 20% of our total budget (10GB). Btw, how long does the build take now? Anyway, I think we have to start migrating our linux CI to HF-hosted infrastructure. We are starting to hit some hard limits here. |
Contributor
Member
|
The main issue was probably mtime, upping the size to 1G should be more than enough and will likely never be fully used. |
Member
|
Ok, let's change to 1 GB and we can look to merge. Though we should likely wait for the Release CI to flush a bit - we can probably give it a try over the weekend. |
This reverts commit 9558fa4.
The ROCm toolchain is pip-installed fresh on every run, so the clang binary's mtime changes each time. With ccache's default compiler_check=mtime that invalidates the whole cache and warm builds only reached ~70% hits. Hash the compiler contents instead so the cache survives toolchain reinstalls.
We're waivering with so many architectures built, we need a bigger ccache limit.
IMbackK
approved these changes
Aug 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Overview
Restore the Ubuntu 22 ROCm job with a working
ccache.Additional information
ccachestopped working for two reasons:Requirements
Used to do experiments and identify the root cause.