skypilot-users

What is the difference between having `use_spot: True` in the yaml and running `sky spot launch` ?

Ke

Kenady Inampudi

Asked on Dec 04, 2023

The difference is that having use_spot: True in the yaml file launches an unmanaged spot task, which does not automatically recover from preemptions. On the other hand, running sky spot launch or sky.spot_launch() launches a managed spot task, which enables auto-recovery.

Dec 18, 2023Edited by