-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
ci
: ccache for all github worfklows
#11516
Conversation
I would be wary about using too many caches, since there is a limited amount of cache space and it can be easily exceeded, which will cause other caches to be dropped. Also the current caches keep growing until they hit the size limit, which makes this problem worse. I noticed that they added an option to the action recently that may help with this: hendrikmuhs/ccache-action#270 |
I'm not sure how concurrent "Post ccache" updates work, used distinct keys for fear of race conditions, otherwise we could just use a single cache (maybe let's do this if / when we hit the limits?) |
ci
: ccache to speed up github worfklowsci
: ccache for all github worfklows
This change might have broken the SYCL CI: https://github.com/ggerganov/llama.cpp/actions/runs/13062035808/job/36447068610. Not sure. |
@ggerganov Indeed (example), thanks! I'll see if using sccache as recommended on https://github.com/hendrikmuhs/ccache-action for windows helps. Also, |
These failures started happening recently: |
@ggerganov SSL certificate revocation on windows seems to be stricter (at least w/ the schannel layer), cf. curl/curl#12239 (comment)), with these failures possibly a transient flare on Github's Windows workers (experienced by others. Possible options i'm evaluating
|
Use https://github.com/hendrikmuhs/ccache-action in all our ci jobs (was already used for cuda / hip jobs)
Example:
Notes:
Looks like each job gets its own cache by default.)May need to share caches between compatible jobs (assuming we can serialize them by group, as concurrent ccache updates are likely counter-productive) if hitting cache limits(update: don’t think there are compatible builds between jobs)