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

[Refactor] Remove local cloud implementation entirely #3037

Merged
merged 23 commits into from
Feb 18, 2024

Conversation

Michaelvll
Copy link
Collaborator

@Michaelvll Michaelvll commented Jan 27, 2024

This removes the local cloud as it is deprecated and replaced by our k8s support..

TODO:

  • backward compatibility

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: bash -i tests/backward_comaptibility_tests.sh 1 (1 means that relaunch is required for backward compat)

@Michaelvll Michaelvll added this to the v0.5 milestone Feb 15, 2024
@Michaelvll Michaelvll marked this pull request as ready for review February 16, 2024 08:44
Copy link
Collaborator

@romilbhardwaj romilbhardwaj left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup @Michaelvll! 🧹

sky/backends/cloud_vm_ray_backend.py Show resolved Hide resolved
sky/global_user_state.py Show resolved Hide resolved
in stderr):
error_msg = (
f'The SkyPilot runtime on remote cluster {cluster_name!r} is '
'outdated. Please update the runtime with: '
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for adding this check!

When I run sky queue on a previously launched cluster, I get an AssertionError asking me to update the cluster. Is it possible to make it a little nicer, like we have for sky cancel?

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch! Just fixed the output for sky queue : )
image

@concretevitamin concretevitamin removed their request for review February 16, 2024 18:11
Copy link
Collaborator

@romilbhardwaj romilbhardwaj left a comment

Choose a reason for hiding this comment

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

Thanks @Michaelvll! LGTM.

@Michaelvll Michaelvll merged commit 3baa9c9 into master Feb 18, 2024
19 checks passed
@Michaelvll Michaelvll deleted the remove-local-cloud branch February 18, 2024 08:37
@cblmemo cblmemo mentioned this pull request Feb 19, 2024
5 tasks
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.

None yet

2 participants