Skip to content

Commit 0df6e31

Browse files
authored
Merge pull request #103675 from Anubha98/dev/anubha/sweep_doc_changes
Sweep Doc modifications for defaults and descriptions
2 parents c77056b + c63a2dd commit 0df6e31

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/machine-learning/how-to-tune-hyperparameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,12 @@ sweep_job.early_termination = None
330330
Control your resource budget by setting limits for your sweep job.
331331

332332
* `max_total_trials`: Maximum number of trial jobs. Must be an integer between 1 and 1000.
333-
* `max_concurrent_trials`: (optional) Maximum number of trial jobs that can run concurrently. If not specified, all jobs launch in parallel. If specified, must be an integer between 1 and 100.
333+
* `max_concurrent_trials`: (optional) Maximum number of trial jobs that can run concurrently. If not specified, max_total_trials number of jobs launch in parallel. If specified, must be an integer between 1 and 1000.
334334
* `timeout`: Maximum time in seconds the entire sweep job is allowed to run. Once this limit is reached the system will cancel the sweep job, including all its trials.
335335
* `trial_timeout`: Maximum time in seconds each trial job is allowed to run. Once this limit is reached the system will cancel the trial.
336336

337337
>[!NOTE]
338-
>If both max_total_trials and max_concurrent_trials are specified, the hyperparameter tuning experiment terminates when the first of these two thresholds is reached.
338+
>If both max_total_trials and timeout are specified, the hyperparameter tuning experiment terminates when the first of these two thresholds is reached.
339339
340340
>[!NOTE]
341341
>The number of concurrent trial jobs is gated on the resources available in the specified compute target. Ensure that the compute target has the available resources for the desired concurrency.

articles/machine-learning/reference-yaml-job-sweep.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ The source JSON schema can be found at https://azuremlschemas.azureedge.net/late
162162

163163
| Key | Type | Description | Default value |
164164
| --- | ---- | ----------- | ------------- |
165-
| `max_total_trials` | integer | The maximum time in seconds the job is allowed to run. Once this limit is reached, the system will cancel the job. | `1000` |
166-
| `max_concurrent_trials` | integer | | Defaults to `max_total_trials`. |
167-
| `timeout` | integer | The maximum time in seconds the entire sweep job is allowed to run. Once this limit is reached, the system will cancel the sweep job, including all its trials. | `604800` |
165+
| `max_total_trials` | integer | The maximum number of trial jobs. | `1000` |
166+
| `max_concurrent_trials` | integer | The maximum number of trial jobs that can run concurrently. | Defaults to `max_total_trials`. |
167+
| `timeout` | integer | The maximum time in seconds the entire sweep job is allowed to run. Once this limit is reached, the system will cancel the sweep job, including all its trials. | `5184000` |
168168
| `trial_timeout` | integer | The maximum time in seconds each trial job is allowed to run. Once this limit is reached, the system will cancel the trial. | |
169169

170170
### Attributes of the `trial` key

0 commit comments

Comments
 (0)