Skip to content

Commit e327d0d

Browse files
Merge pull request #211984 from PhaniShekhar/phmantri/bayesian-doc
Update conditional hyperparameter support note
2 parents 7252a0e + 31cd22d commit e327d0d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

articles/machine-learning/how-to-auto-train-image-models.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ image_object_detection_job = automl.image_object_detection(
242242

243243
Provide a [compute target](concept-azure-machine-learning-architecture.md#compute-targets) for automated ML to conduct model training. Automated ML models for computer vision tasks require GPU SKUs and support NC and ND families. We recommend the NCsv3-series (with v100 GPUs) for faster training. A compute target with a multi-GPU VM SKU leverages multiple GPUs to also speed up training. Additionally, when you set up a compute target with multiple nodes you can conduct faster model training through parallelism when tuning hyperparameters for your model.
244244

245+
> [!NOTE]
246+
> If you are using a [compute instance](concept-compute-instance.md) as your compute target, please make sure that multiple AutoML jobs are not run at the same time. Also, please make sure that `max_concurrent_trials` is set to 1 in your [job limits](#job-limits).
247+
245248
The compute target is passed in using the `compute` parameter. For example:
246249

247250
# [Azure CLI](#tab/cli)
@@ -423,7 +426,7 @@ When sweeping hyperparameters, you need to specify the sampling method to use fo
423426
|[Bayesian Sampling](how-to-tune-hyperparameters.md#bayesian-sampling)| `bayesian` |
424427

425428
> [!NOTE]
426-
> Currently only random sampling supports conditional hyperparameter spaces.
429+
> Currently only random and grid sampling support conditional hyperparameter spaces.
427430

428431
### Early termination policies
429432

articles/machine-learning/v1/how-to-auto-train-image-models-v1.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ automl_image_config = AutoMLImageConfig(training_data=training_dataset)
187187

188188
Provide a [compute target](../v1/concept-azure-machine-learning-architecture.md#compute-targets) for automated ML to conduct model training. Automated ML models for computer vision tasks require GPU SKUs and support NC and ND families. We recommend the NCsv3-series (with v100 GPUs) for faster training. A compute target with a multi-GPU VM SKU leverages multiple GPUs to also speed up training. Additionally, when you set up a compute target with multiple nodes you can conduct faster model training through parallelism when tuning hyperparameters for your model.
189189

190+
> [!NOTE]
191+
> If you are using a [compute instance](../concept-compute-instance.md) as your compute target, please make sure that multiple AutoML jobs are not run at the same time. Also, please make sure that `max_concurrent_iterations` is set to 1 in your [experiment resources](#resources-for-the-sweep).
192+
190193
The compute target is a required parameter and is passed in using the `compute_target` parameter of the `AutoMLImageConfig`. For example:
191194

192195
```python
@@ -280,7 +283,7 @@ When sweeping hyperparameters, you need to specify the sampling method to use fo
280283
* [Bayesian sampling](../how-to-tune-hyperparameters.md#bayesian-sampling)
281284

282285
> [!NOTE]
283-
> Currently only random sampling supports conditional hyperparameter spaces.
286+
> Currently only random and grid sampling support conditional hyperparameter spaces.
284287
285288
### Early termination policies
286289

0 commit comments

Comments
 (0)