Study FAQ
How do I control trial count, runtime, and early stopping in an Azure ML sweep?
Also asked as 2
- How can I bound the resources used by an Azure Machine Learning sweep?
- What is the difference between sweep limits and early termination policies in Azure ML?
Answer
Set the total trial count, maximum concurrent trials, overall timeout and per-trial timeout separately. Actual concurrency also depends on available compute. Estimate trial cost using a small run plus startup and failed work. These controls bound work in different ways and do not set a fixed currency limit.
Early termination uses intermediate primary-metric reports. Bandit compares a trial with the current best within a slack margin. Median stopping uses running-average comparisons, and truncation stops a low-performing fraction. With no pruning policy, the ordinary job limits still apply. Evaluation intervals count metric reports, so their relationship to epochs depends on the training script. Verify policy compatibility and use a delay if reasonable candidates need time before the objective is informative.
Microsoft Learn
Full explanation
AI-300: Choosing and Comparing Training Experiments
Study guide · AI-300
Read the full explanation