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

Remove --system-site-packages when setup sky cluster #4168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yika-luo
Copy link
Collaborator

@yika-luo yika-luo commented Oct 24, 2024

Solve #4097
Remove the flag so that sky's venv won't link to the global (system) site-packages directory which can be modified by users.

Performance regression: ~5s

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_minimal

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

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

For this, we may want to check the performance regression. IIRC, this can cause significant time increase for the dependency installation. For longer time on user's own cloud image should be ok, but we may want to check the performance degradation with some commonly used docker images, as well as the our default k8s image.

@yika-luo yika-luo closed this Oct 25, 2024
@yika-luo yika-luo reopened this Oct 25, 2024
@yika-luo
Copy link
Collaborator Author

For this, we may want to check the performance regression. IIRC, this can cause significant time increase for the dependency installation. For longer time on user's own cloud image should be ok, but we may want to check the performance degradation with some commonly used docker images, as well as the our default k8s image.

~5s increase in perf

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