Skip to content

Make CI faster #2440

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 12 commits into from
Jul 30, 2025
Merged

Make CI faster #2440

merged 12 commits into from
Jul 30, 2025

Conversation

zcbenz
Copy link
Collaborator

@zcbenz zcbenz commented Jul 30, 2025

Reduce the time spent on installing dependencies by:

  • removing redundant apt-installs
  • using uv to install python packages

Reduced time:

  • cuda_build_and_test:
    • Install python package: 3m14s => 1m12s
  • linux_build_and_test:
    • Install dependencies: 3m9s => 25s
    • Install python package: 4m17s => 3m26s
  • mac_build_and_test:
    • Install dependencies: 1m19s => 22s

@zcbenz zcbenz changed the title [WIP] Make CI faster Make CI faster Jul 30, 2025
@zcbenz zcbenz marked this pull request as ready for review July 30, 2025 08:42
@zcbenz zcbenz requested a review from awni July 30, 2025 08:42
Copy link
Member

@angeloskath angeloskath left a comment

Choose a reason for hiding this comment

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

That's neat! I also like that you enabled the verbose build no idea why we didn't use that before ...

@angeloskath angeloskath merged commit 2204182 into ml-explore:main Jul 30, 2025
7 checks passed
@zcbenz zcbenz deleted the faster-ci branch July 30, 2025 09:45
LVivona pushed a commit to LVivona/mlx that referenced this pull request Jul 31, 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