Change AKS cluster to CPU and remove region (#889)

This commit is contained in:
Juan Martinez 2021-11-03 18:05:32 -07:00 коммит произвёл GitHub
Родитель 6808b7156b
Коммит 8358801353
4 изменённых файлов: 12 добавлений и 20 удалений

Просмотреть файл

@ -544,17 +544,15 @@
"from azureml.exceptions import ComputeTargetException\n",
"\n",
"# Choose a name for your cluster\n",
"aks_name = \"cluster-aks-gpu\"\n",
"aks_name = \"cluster-aks-cpu\"\n",
"# Check to see if the cluster already exists\n",
"try:\n",
" aks_target = ComputeTarget(workspace=ws, name=aks_name)\n",
" print(\"Found existing compute target\")\n",
"except ComputeTargetException:\n",
" print(\"Creating a new compute target...\")\n",
" # Provision AKS cluster with GPU machine\n",
" prov_config = AksCompute.provisioning_configuration(\n",
" vm_size=\"STANDARD_NC6\", location=\"eastus2\"\n",
" )\n",
" # Provision AKS cluster with a CPU machine\n",
" prov_config = AksCompute.provisioning_configuration(vm_size=\"STANDARD_D3_V2\")\n",
" # Create the cluster\n",
" aks_target = ComputeTarget.create(\n",
" workspace=ws, name=aks_name, provisioning_configuration=prov_config\n",

Просмотреть файл

@ -539,17 +539,15 @@
"from azureml.exceptions import ComputeTargetException\n",
"\n",
"# Choose a name for your cluster\n",
"aks_name = \"cluster-aks-gpu\"\n",
"aks_name = \"cluster-aks-cpu\"\n",
"# Check to see if the cluster already exists\n",
"try:\n",
" aks_target = ComputeTarget(workspace=ws, name=aks_name)\n",
" print(\"Found existing compute target\")\n",
"except ComputeTargetException:\n",
" print(\"Creating a new compute target...\")\n",
" # Provision AKS cluster with GPU machine\n",
" prov_config = AksCompute.provisioning_configuration(\n",
" vm_size=\"STANDARD_NC6\", location=\"eastus2\"\n",
" )\n",
" # Provision AKS cluster with a CPU machine\n",
" prov_config = AksCompute.provisioning_configuration(vm_size=\"STANDARD_D3_V2\")\n",
" # Create the cluster\n",
" aks_target = ComputeTarget.create(\n",
" workspace=ws, name=aks_name, provisioning_configuration=prov_config\n",

Просмотреть файл

@ -523,17 +523,15 @@
"from azureml.exceptions import ComputeTargetException\n",
"\n",
"# Choose a name for your cluster\n",
"aks_name = \"cluster-aks-gpu\"\n",
"aks_name = \"cluster-aks-cpu\"\n",
"# Check to see if the cluster already exists\n",
"try:\n",
" aks_target = ComputeTarget(workspace=ws, name=aks_name)\n",
" print(\"Found existing compute target\")\n",
"except ComputeTargetException:\n",
" print(\"Creating a new compute target...\")\n",
" # Provision AKS cluster with GPU machine\n",
" prov_config = AksCompute.provisioning_configuration(\n",
" vm_size=\"STANDARD_NC6\", location=\"eastus2\"\n",
" )\n",
" # Provision AKS cluster with a CPU machine\n",
" prov_config = AksCompute.provisioning_configuration(vm_size=\"STANDARD_D3_V2\")\n",
" # Create the cluster\n",
" aks_target = ComputeTarget.create(\n",
" workspace=ws, name=aks_name, provisioning_configuration=prov_config\n",

Просмотреть файл

@ -607,17 +607,15 @@
"from azureml.exceptions import ComputeTargetException\n",
"\n",
"# Choose a name for your cluster\n",
"aks_name = \"cluster-aks-gpu\"\n",
"aks_name = \"cluster-aks-cpu\"\n",
"# Check to see if the cluster already exists\n",
"try:\n",
" aks_target = ComputeTarget(workspace=ws, name=aks_name)\n",
" print(\"Found existing compute target\")\n",
"except ComputeTargetException:\n",
" print(\"Creating a new compute target...\")\n",
" # Provision AKS cluster with GPU machine\n",
" prov_config = AksCompute.provisioning_configuration(\n",
" vm_size=\"STANDARD_NC6\", location=\"eastus2\"\n",
" )\n",
" # Provision AKS cluster with a CPU machine\n",
" prov_config = AksCompute.provisioning_configuration(vm_size=\"STANDARD_D3_V2\")\n",
" # Create the cluster\n",
" aks_target = ComputeTarget.create(\n",
" workspace=ws, name=aks_name, provisioning_configuration=prov_config\n",