Skip to content

Set ccache size before building#2570

Merged
zcbenz merged 1 commit intoml-explore:mainfrom
zcbenz:ci-ccache-size
Sep 7, 2025
Merged

Set ccache size before building#2570
zcbenz merged 1 commit intoml-explore:mainfrom
zcbenz:ci-ccache-size

Conversation

@zcbenz
Copy link
Copy Markdown
Collaborator

@zcbenz zcbenz commented Sep 6, 2025

The cache miss is very high in CUDA build recently:

Cacheable calls:    415 / 415 (100.0%)
  Hits:             180 / 415 (43.37%)
    Direct:         176 / 180 (97.78%)
    Preprocessed:     4 / 180 ( 2.22%)
  Misses:           235 / 415 (56.63%)
Local storage:
  Cache size (GiB): 0.6 / 5.0 (11.22%)
  Cleanups:         124
  Hits:             180 / 415 (43.37%)
  Misses:           235 / 415 (56.63%)
Statistics zeroed
Set cache size limit to 400.0 MB
Cleaning... 100.0%

It seems that ccache removed recent caches when doing cleaning, setting cache size being building should be able to make things work better, also increase the cache size a bit.

@awni
Copy link
Copy Markdown
Member

awni commented Sep 6, 2025

Thanks!

@zcbenz zcbenz merged commit c1e3340 into ml-explore:main Sep 7, 2025
7 checks passed
@zcbenz zcbenz deleted the ci-ccache-size branch September 7, 2025 00:00
faisalmemon pushed a commit to faisalmemon/mlx that referenced this pull request Oct 30, 2025
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