Skip to content

Commit 8a35894

Browse files
committed
fix: entry point variable name
1 parent aa13bcf commit 8a35894

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/integ/sagemaker/jumpstart/script_mode_class/test_inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import os
1515

1616
from sagemaker import image_uris, model_uris, script_uris
17-
from sagemaker.jumpstart.constants import INFERENCE_ENTRYPOINT_SCRIPT_NAME
17+
from sagemaker.jumpstart.constants import INFERENCE_ENTRY_POINT_SCRIPT_NAME
1818
from sagemaker.model import Model
1919
from tests.integ.sagemaker.jumpstart.constants import (
2020
ENV_VAR_JUMPSTART_SDK_TEST_SUITE_ID,
@@ -57,7 +57,7 @@ def test_jumpstart_inference_model_class(setup):
5757
image_uri=image_uri,
5858
model_data=model_uri,
5959
source_dir=script_uri,
60-
entry_point=INFERENCE_ENTRYPOINT_SCRIPT_NAME,
60+
entry_point=INFERENCE_ENTRY_POINT_SCRIPT_NAME,
6161
role=get_sm_session().get_caller_identity_arn(),
6262
sagemaker_session=get_sm_session(),
6363
enable_network_isolation=True,

tests/integ/sagemaker/jumpstart/script_mode_class/test_transfer_learning.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
from sagemaker import hyperparameters, image_uris, model_uris, script_uris
1717
from sagemaker.estimator import Estimator
1818
from sagemaker.jumpstart.constants import (
19-
INFERENCE_ENTRYPOINT_SCRIPT_NAME,
19+
INFERENCE_ENTRY_POINT_SCRIPT_NAME,
2020
JUMPSTART_DEFAULT_REGION_NAME,
21-
TRAINING_ENTRYPOINT_SCRIPT_NAME,
21+
TRAINING_ENTRY_POINT_SCRIPT_NAME,
2222
)
2323
from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
2424
from sagemaker.utils import name_from_base
@@ -70,7 +70,7 @@ def test_jumpstart_transfer_learning_estimator_class(setup):
7070
image_uri=image_uri,
7171
source_dir=script_uri,
7272
model_uri=model_uri,
73-
entry_point=TRAINING_ENTRYPOINT_SCRIPT_NAME,
73+
entry_point=TRAINING_ENTRY_POINT_SCRIPT_NAME,
7474
role=get_sm_session().get_caller_identity_arn(),
7575
sagemaker_session=get_sm_session(),
7676
enable_network_isolation=True,
@@ -111,7 +111,7 @@ def test_jumpstart_transfer_learning_estimator_class(setup):
111111
estimator.deploy(
112112
initial_instance_count=instance_count,
113113
instance_type=inference_instance_type,
114-
entry_point=INFERENCE_ENTRYPOINT_SCRIPT_NAME,
114+
entry_point=INFERENCE_ENTRY_POINT_SCRIPT_NAME,
115115
image_uri=image_uri,
116116
source_dir=script_uri,
117117
endpoint_name=endpoint_name,

0 commit comments

Comments
 (0)