@@ -92,12 +92,9 @@ def ensure_docker_compose_installed():
9292def test_scikit_learn_local_processing ():
9393 """
9494 Test local mode processing with a scikit-learn processor.
95- This uses the same logic as scikit_learn_local_processing.py but in a pytest test function.
96-
97- Requirements/Assumptions:
98- - Docker must be installed and running on the local machine.
99- - 'processing_script.py' must be in the current working directory (or specify the correct path).
100- - There should be some local input data if 'processing_script.py' needs it (see ProcessingInput below).
95+ This uses the same logic as scikit_learn_local_processing.py but in
96+ a pytest test function. This test deploys the model locally via Docker,
97+ and asserts that the output is received.
10198 """
10299 ensure_docker_compose_installed ()
103100
@@ -154,9 +151,9 @@ def test_scikit_learn_local_processing():
154151@pytest .mark .local
155152def test_pytorch_local_model_inference ():
156153 """
157- Test local mode inference for a TensorFlow NLP model using PyTorch.
154+ Test local mode inference with NLP model using PyTorch.
158155 This test deploys the model locally via Docker, performs an inference
159- on a sample image URL , and asserts that the output is received.
156+ on a sample dataset , and asserts that the output is received.
160157 """
161158 ensure_docker_compose_installed ()
162159
@@ -247,6 +244,11 @@ def do_inference_on_local_endpoint(predictor):
247244"""
248245@pytest .mark .local
249246def test_sklearn_local_model_train_inference ():
247+ """
248+ Test local mode training and inference with sagemaker SKLearn.
249+ This test runs the model locally via Docker, performs an inference with
250+ sample dataset, and asserts that the output is received.
251+ """
250252
251253 download_training_and_eval_data ()
252254
0 commit comments