From 358263788b1d95a91326e959552e4daef78e7b94 Mon Sep 17 00:00:00 2001 From: Tian Xia Date: Thu, 29 Aug 2024 10:48:12 -0700 Subject: [PATCH] Remove A10 warning when re-launching on existing cluster (#3886) fix --- sky/backends/cloud_vm_ray_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'