Skip to content

Commit 74f9123

Browse files
committed
entrypoint
1 parent 3140226 commit 74f9123

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sagemaker/huggingface/estimator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ def __init__(
220220

221221
super(HuggingFace, self).__init__(entry_point, source_dir, hyperparameters, image_uri=image_uri, **kwargs)
222222

223+
if "entry_point" not in kwargs:
224+
kwargs["entry_point"] = entry_point
225+
223226
self.base_framework_name = "tensorflow" if tensorflow_version is not None else "pytorch"
224227
self.base_framework_version = tensorflow_version if tensorflow_version is not None else pytorch_version
225228

0 commit comments

Comments
 (0)