diff --git a/sky/backends/cloud_vm_ray_backend.py b/sky/backends/cloud_vm_ray_backend.py index 0a9b15ba307..816eefc502f 100644 --- a/sky/backends/cloud_vm_ray_backend.py +++ b/sky/backends/cloud_vm_ray_backend.py @@ -1933,7 +1933,7 @@ def provision_with_retries( while True: if (isinstance(to_provision.cloud, clouds.Azure) and to_provision.accelerators is not None and - 'A10' in to_provision.accelerators): + 'A10' in to_provision.accelerators and prev_handle is None): logger.warning(f'{style.BRIGHT}{fore.YELLOW}Trying to launch ' 'an A10 cluster on Azure. This may take ~20 ' 'minutes due to driver installation.'