Skip to content

Commit d71880f

Browse files
authored
doc: Correct runtime param (#3984)
1 parent baf96cd commit d71880f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/sagemaker/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@ def tune( # noqa: C901
26392639
warm_start_config (dict): Configuration defining the type of warm start and
26402640
other required configurations.
26412641
max_runtime_in_seconds (int or PipelineVariable): The maximum time in seconds
2642-
that a training job launched by a hyperparameter tuning job can run.
2642+
that a hyperparameter tuning job can run.
26432643
completion_criteria_config (sagemaker.tuner.TuningJobCompletionCriteriaConfig): A
26442644
configuration for the completion criteria.
26452645
early_stopping_type (str): Specifies whether early stopping is enabled for the job.
@@ -2894,7 +2894,7 @@ def _map_tuning_config(
28942894
tuning job.
28952895
max_parallel_jobs (int): Maximum number of parallel training jobs to start.
28962896
max_runtime_in_seconds (int or PipelineVariable): The maximum time in seconds
2897-
that a training job launched by a hyperparameter tuning job can run.
2897+
that a hyperparameter tuning job can run.
28982898
early_stopping_type (str): Specifies whether early stopping is enabled for the job.
28992899
Can be either 'Auto' or 'Off'. If set to 'Off', early stopping will not be
29002900
attempted. If set to 'Auto', early stopping of some training jobs may happen,

src/sagemaker/tuner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def __init__(
650650
max_parallel_jobs (int or PipelineVariable): Maximum number of parallel training jobs to
651651
start (default: 1).
652652
max_runtime_in_seconds (int or PipelineVariable): The maximum time in seconds
653-
that a training job launched by a hyperparameter tuning job can run.
653+
that a hyperparameter tuning job can run.
654654
tags (list[dict[str, str] or list[dict[str, PipelineVariable]]): List of tags for
655655
labeling the tuning job (default: None). For more, see
656656
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
@@ -1922,7 +1922,7 @@ def create(
19221922
max_parallel_jobs (int): Maximum number of parallel training jobs to start
19231923
(default: 1).
19241924
max_runtime_in_seconds (int): The maximum time in seconds
1925-
that a training job launched by a hyperparameter tuning job can run.
1925+
that a hyperparameter tuning job can run.
19261926
tags (list[dict]): List of tags for labeling the tuning job (default: None). For more,
19271927
see https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
19281928
warm_start_config (sagemaker.tuner.WarmStartConfig): A ``WarmStartConfig`` object that

0 commit comments

Comments
 (0)