Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Serve] Make controller regions/ choose from replica resources #4053
base: master
Are you sure you want to change the base?
[Serve] Make controller regions/ choose from replica resources #4053
Changes from all commits
f8dcd59
54abcda
6e0f6ed
ea4baa6
a4a8cc4
1b63ed6
3d66f76
fb7fe8f
762c102
b115f66
1ff3d40
3efc3b4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously, if the controller resources specified in the config yaml has a cloud, we directly returned it. however, after adding this, we might still want to respect the region & zones for replica resoruces? (e.g. config yaml only says cloud=aws, but replica resoruces further suggested some regions)
skypilot/sky/utils/controller_utils.py
Lines 508 to 509 in 9201def
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use
controller_resources_to_use
as a filter afterrequested_clouds_with_region_zone
without the previous early return:Might be tedious :-), let me know your thoughts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently only allows single resource for controller, which might simplify it a little bit. Pls check:
skypilot/sky/utils/controller_utils.py
Lines 487 to 497 in c6ae536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets add the expected output of this group as previous comments.