Skip to content

Commit 6bfffdb

Browse files
Apply suggestions from code review
Co-authored-by: Mope Akande <[email protected]>
1 parent aeaf5c6 commit 6bfffdb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/machine-learning/how-to-use-low-priority-batch.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Use low priority VMs in batch deployments"
33
titleSuffix: Azure Machine Learning
4-
description: Learn how to use low priority VMs in Azure Machine Learning to save costs when you run batch inference jobs.
4+
description: Learn how to use low priority virtual machines in Azure Machine Learning to save costs when you run batch inference jobs.
55
services: machine-learning
66
ms.service: azure-machine-learning
77
ms.subservice: inferencing
@@ -18,7 +18,7 @@ ms.custom: devplatv2
1818

1919
[!INCLUDE [cli v2](includes/machine-learning-dev-v2.md)]
2020

21-
Azure Batch Deployments supports low priority virtual machines (VMs) to reduce the cost of batch inference workloads. Low priority virtual machines enable a large amount of compute power to be used for a low cost. Low priority virtual machines take advantage of surplus capacity in Azure. When you specify low priority VMs in your pools, Azure can use this surplus, when available.
21+
Azure batch deployments support low priority virtual machines (VMs) to reduce the cost of batch inference workloads. Low priority VMs enable a large amount of compute power to be used for a low cost. Low priority virtual machines take advantage of surplus capacity in Azure. When you specify low priority VMs in your pools, Azure can use this surplus, when available.
2222

2323
> [!TIP]
2424
> The tradeoff for using low priority VMs is that those virtual machines might not be available or they might be preempted at any time, depending on available capacity. For this reason, this approach is most suitable for batch and asynchronous processing workloads, where job completion time is flexible and the work is distributed across many virtual machines.
@@ -82,6 +82,8 @@ az ml compute create -f low-pri-cluster.yml
8282
To create a new compute cluster with low priority VMs where to create the deployment, use the following script:
8383

8484
```python
85+
from azure.ai.ml.entities import AmlCompute
86+
8587
compute_name = "low-pri-cluster"
8688
compute_cluster = AmlCompute(
8789
name=compute_name,

0 commit comments

Comments
 (0)