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.