-
Notifications
You must be signed in to change notification settings - Fork 555
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
[Docs] Clarify managed spot jobs against sky launch #3561
Conversation
.. tip:: | ||
|
||
:code:`sky launch --use-spot` is a "serverful" command that launches a cluster for | ||
running jobs, where recoveries of the cluster after preemptions is user's responsibility. In contrast, managed spot jobs, :code:`sky jobs launch --use-spot`, is a "serverless" command, where SkyPilot is in charge of the whole |
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.
running jobs, where recoveries of the cluster after preemptions is user's responsibility. In contrast, managed spot jobs, :code:`sky jobs launch --use-spot`, is a "serverless" command, where SkyPilot is in charge of the whole | |
running jobs, where the cluster will not be recovered after preemptions. In contrast, managed spot jobs, :code:`sky jobs launch --use-spot`, is a "serverless" command, where SkyPilot is in charge of the whole |
not feeling strongly; just "reciver is user's responsibility" sounds a little bit weird for me
@@ -23,6 +23,12 @@ Managed Spot Jobs | |||
SkyPilot automatically finds available spot resources across regions and clouds to maximize availability. | |||
Any spot preemptions are automatically handled by SkyPilot without user intervention. | |||
|
|||
.. tip:: |
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.
Idea: this para is a bit too long to skim. How about a short sentence followed by a table?
Command Managed? SSH-able? Best for
`sky launch --use-spot` Unmanaged spot cluster Yes Interactive dev on spot instances
`sky jobs launch --use-spot` Managed spot job (auto-recovery) No Scaling out long-running jobs
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.
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.
LGTM, some suggestions. Thanks @Michaelvll.
Co-authored-by: Zongheng Yang <[email protected]>
Co-authored-by: Zongheng Yang <[email protected]>
Co-authored-by: Zongheng Yang <[email protected]>
Co-authored-by: Zongheng Yang <[email protected]>
We add a hint box for managed spot jobs comparing to
sky launch --use-spot
in docs.Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh