Skip to content

Use ccache in CI #2414

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

Merged
merged 4 commits into from
Jul 28, 2025
Merged

Use ccache in CI #2414

merged 4 commits into from
Jul 28, 2025

Conversation

zcbenz
Copy link
Collaborator

@zcbenz zcbenz commented Jul 24, 2025

Use ccache in cuda_build_and_test job, which saves 20 minutes build time.

I also tried to use ccache in linux and mac build but somehow the cache miss rate is very high, and it would not really save much time, so this PR only adds cache to cuda_build_and_test.

@zcbenz zcbenz force-pushed the use-ccache branch 5 times, most recently from 0254b3f to bfb563a Compare July 24, 2025 12:45
@zcbenz zcbenz changed the title [WIP] Use ccache in CI Use ccache in CI Jul 25, 2025
@zcbenz zcbenz marked this pull request as ready for review July 25, 2025 00:57
@zcbenz zcbenz requested a review from awni July 25, 2025 00:57
@@ -555,6 +575,9 @@ workflows:
requires: [ hold ]
- cuda_build_and_test:
requires: [ hold ]
matrix:
parameters:
image_date: ["2023.11.1", "2025.05.1"]
Copy link
Member

Choose a reason for hiding this comment

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

Good catch.

Copy link
Member

@awni awni left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks for adding that!

@zcbenz zcbenz merged commit 970dbe8 into ml-explore:main Jul 28, 2025
7 checks passed
@zcbenz zcbenz deleted the use-ccache branch August 2, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants