skypilot-users
When is it safe to close my computer after launching regular or managed spot jobs?
Does it matter if I am launching on an existing cluster or a new one? Do I need to wait to see logs from my setup command, or is there an earlier point in time where a cloud instance has my yaml and I can log off?
Al
Alex Kouzemtchenko
Asked on Nov 02, 2023
Assuming no --detach-run
or --detach-setup
is used, it is safe to ctrl-c after the job’s submitted. One indicator of this is INFO: Tip: use Ctrl-C to exit log streaming (task will not be killed).
If --detach-setup
or --detach-run
flags are used, you can safely ctrl-c to detach from logging without interrupting the setup process. To see the logs again after detaching, use sky logs
. To cancel setup, cancel the job via sky cancel
. Useful for long-running setup commands.
Nov 03, 2023Edited by