Skip to content
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

Use uv for pip install commands #653

Merged
merged 7 commits into from
Oct 12, 2024
Merged

Use uv for pip install commands #653

merged 7 commits into from
Oct 12, 2024

Conversation

wizeng23
Copy link
Contributor

@wizeng23 wizeng23 commented Oct 12, 2024

This changes all references to pip install to uv pip install throughout our codebase, mainly in Sky configs and the Polaris launcher. pip install '.[gpu]' takes 156s in the setup section of a sky config, while pip install uv&&pip install '.[gpu]' takes 46s.

I also remove the deprecated [train] pip target throughout.

Tested Polaris launcher and tested on GCP.

@@ -23,7 +23,7 @@ envs:

setup: |
set -e
pip install -e '.[dev,train]'
pip install -e '.[dev]'
Copy link
Collaborator

Choose a reason for hiding this comment

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

no uv here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

@wizeng23 wizeng23 merged commit 1a50592 into main Oct 12, 2024
1 check passed
@wizeng23 wizeng23 deleted the wizeng/uv branch October 12, 2024 03:27
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.

3 participants