Skip to content

Commit 66093d7

Browse files
committed
fix: set gpu_profile driver to None for non-GPU node pools
1 parent 8ddd4ce commit 66093d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/python/clients/aks_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def create_node_pool(
314314
"os_disk_type": "Managed",
315315
"nodeLabels": {"gpu": "true"} if gpu_node_pool else {},
316316
"gpu_profile": {
317-
"driver": "None" if gpu_node_pool and vm_size == "Standard_ND96asr_v4" else "Install",
317+
"driver": "None" if not gpu_node_pool or vm_size == "Standard_ND96asr_v4" else "Install",
318318
},
319319
}
320320

0 commit comments

Comments
 (0)