Skip to content

Commit 1f3e33e

Browse files
author
Larry Franks
committed
feedback
1 parent 74eb83c commit 1f3e33e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/machine-learning/service/how-to-deploy-and-where.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,9 @@ If you already have an AKS cluster attached, you can deploy to it. If you haven'
290290

291291
```python
292292
aks_target = AksCompute(ws,"myaks")
293-
# If deploying to a cluster configured for dev/test, we recommend setting cpu_cores = 2.
293+
# If deploying to a cluster configured for dev/test, ensure that it was created with enough
294+
# cores and memory to handle this deployment configuration. Note that memory is also used by
295+
# things such as dependencies and AML components.
294296
deployment_config = AksWebservice.deploy_configuration(cpu_cores = 1, memory_gb = 1)
295297
service = Model.deploy(ws, "aksservice", [model], inference_config, deployment_config, aks_target)
296298
service.wait_for_deployment(show_output = True)
@@ -318,7 +320,9 @@ Creating or attaching an AKS cluster is a one time process for your workspace. Y
318320
If you want to create an AKS cluster for development, validation, and testing, you set `cluster_purpose = AksCompute.ClusterPurpose.DEV_TEST` when using [`provisioning_configuration()`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.compute.akscompute?view=azure-ml-py). A cluster created with this setting will only have one node.
319321

320322
> [!IMPORTANT]
321-
> Setting `cluster_purpose = AksCompute.ClusterPurpose.DEV_TEST` creates an AKS cluster that is not suitable for handling production traffic, and may increase inference times for the deployed model. When deploying a model to a devtest cluster, Microsoft recommends configuring 2 cores.
323+
> Setting `cluster_purpose = AksCompute.ClusterPurpose.DEV_TEST` creates an AKS cluster that is not suitable for handling production traffic. Inference times may be longer than on a cluster created for production. Fault tolerance is also not guaranteed for dev/test clusters.
324+
>
325+
> We recommend that clusters created for dev/test use at least two virtual CPUs.
322326

323327
The following example demonstrates how to create a new Azure Kubernetes Service cluster:
324328

0 commit comments

Comments
 (0)