Skip to content

Commit

Permalink
Integ test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
samruds committed May 17, 2024
1 parent 4bb5522 commit 17645f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integ/sagemaker/serve/test_serve_tei.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def test_tei_sagemaker_endpoint(sagemaker_session, model_builder, model_input):
with timeout(minutes=SERVE_SAGEMAKER_ENDPOINT_TIMEOUT):
try:
logger.info("Deploying and predicting in SAGEMAKER_ENDPOINT mode...")
predictor = model.deploy(instance_type="ml.g5.12xlarge", initial_instance_count=2)
logger.info("Endpoint successfully deployed.")
predictor = model.deploy(instance_type="ml.g5.2xlarge", initial_instance_count=1)
predictor.predict(model_input)
assert predictor is not None
except Exception as e:
Expand Down

0 comments on commit 17645f7

Please sign in to comment.