Skip to content

Commit 1279620

Browse files
makungaj1Jonathan Makunga
and
Jonathan Makunga
authored
fix: model builder race condition on sagemaker session (#4673)
Co-authored-by: Jonathan Makunga <[email protected]>
1 parent a5c6229 commit 1279620

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sagemaker/serve/builder/model_builder.py

-2
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,6 @@ def build( # pylint: disable=R0911
724724
self.role_arn = role_arn
725725
self.sagemaker_session = sagemaker_session or Session()
726726

727-
self.sagemaker_session.settings._local_download_dir = self.model_path
728-
729727
# https://github.com/boto/botocore/blob/develop/botocore/useragent.py#L258
730728
# decorate to_string() due to
731729
# https://github.com/boto/botocore/blob/develop/botocore/client.py#L1014-L1015

0 commit comments

Comments
 (0)