Skip to content

Commit e9dc032

Browse files
authored
minor review
1 parent 24a0e5a commit e9dc032

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/machine-learning/how-to-log-view-metrics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Logs can help you diagnose errors and warnings, or track performance metrics lik
4343
```
4444

4545
> [!NOTE]
46-
> For asynchronous logging, you need to have `MLflow` version 2.8.0+ and `azureml-mlflow` version 1.55+.
46+
> For asynchronous logging of metrics, you need to have `MLflow` version 2.8.0+ and `azureml-mlflow` version 1.55+.
4747

4848
* If you're doing remote tracking (tracking experiments that run outside Azure Machine Learning), configure MLflow to track experiments. For more information, see [Configure MLflow for Azure Machine Learning](how-to-use-mlflow-configure-tracking.md).
4949
@@ -176,7 +176,7 @@ client.log_batch(mlflow.active_run().info.run_id,
176176
177177
## Log metrics asynchronously
178178
179-
MLflow also allows logging of metrics in an asynchronous way. Asynchronous metric logging is particularly useful in cases with high throughput where large training jobs with hundreds of compute nodes might be running and try to log metrics concurrently.
179+
MLflow also allows logging of metrics in an asynchronous way. Asynchronous metric logging is particularly useful in cases with high throughput where large training jobs with hundreds of compute nodes might be running and trying to log metrics concurrently.
180180
181181
Asynchronous metric logging allows you to log metrics and wait for them to be ingested before trying to read them back. This approach scales to large training routines that log hundreds of thousands of metric values.
182182
@@ -209,7 +209,7 @@ with mlflow.start_run():
209209
# (...)
210210
```
211211
212-
You can asynchronously log one metric at a time or log a batch of metrics:
212+
You can asynchronously log one metric at a time or log a batch of metrics, as shown in the following example:
213213
214214
```python
215215
import mlflow
@@ -236,7 +236,7 @@ The `wait()` operation is also available when logging a batch of metrics:
236236
run_operation.wait()
237237
```
238238
239-
You don't have to call `wait()` on your routines if you don't need immediate access to the metric values. Azure Machine Learning will wait automatically when the job is about to finish if there is any pending metric to be persisted. By the time a job is completed in Azure Machine Learning, all metrics are guaranteed to be persisted.
239+
You don't have to call `wait()` on your routines if you don't need immediate access to the metric values. Azure Machine Learning automatically waits when the job is about to finish, to see if there is any pending metric to be persisted. By the time a job is completed in Azure Machine Learning, all metrics are guaranteed to be persisted.
240240
241241
### Changing the default logging behavior
242242

0 commit comments

Comments
 (0)