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

[SkyServe] Warn min_replicas = 0 #2895

Merged
merged 1 commit into from
Dec 23, 2023
Merged

[SkyServe] Warn min_replicas = 0 #2895

merged 1 commit into from
Dec 23, 2023

Conversation

MaoZiming
Copy link
Collaborator

@MaoZiming MaoZiming commented Dec 22, 2023

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 tests/backward_comaptibility_tests.sh

@MaoZiming MaoZiming linked an issue Dec 22, 2023 that may be closed by this pull request
Copy link
Collaborator

@concretevitamin concretevitamin left a comment

Choose a reason for hiding this comment

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

Lgtm

with ux_utils.print_exception_no_traceback():
raise ValueError(
'min_replicas must be greater than or equal to 0')
raise ValueError('min_replicas must be greater than 0')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add?: Scale-to-zero will be supported in the future.

@MaoZiming MaoZiming merged commit 7609e22 into master Dec 23, 2023
19 checks passed
@MaoZiming MaoZiming deleted the warn-min-replicas branch December 23, 2023 01:12
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.

SkyServe: warn/raise on min_replicas: 0
2 participants