Skip to content

Commit 4ca7d41

Browse files
authored
fix: Unable to attach estimator to training job when KeepAlivePeriodInSeconds specified (#3674)
1 parent 0eade55 commit 4ca7d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ def _prepare_init_params_from_job_description(cls, job_details, model_channel_na
17021702

17031703
if "KeepAlivePeriodInSeconds" in job_details["ResourceConfig"]:
17041704
init_params["keep_alive_period_in_seconds"] = job_details["ResourceConfig"][
1705-
"keepAlivePeriodInSeconds"
1705+
"KeepAlivePeriodInSeconds"
17061706
]
17071707

17081708
has_hps = "HyperParameters" in job_details

0 commit comments

Comments
 (0)