Skip to content

Commit 2581ae7

Browse files
author
Deng
committed
update pytorch unit test
1 parent a32893b commit 2581ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_pytorch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def test_model_image_accelerator(sagemaker_session):
348348
model = PyTorchModel(
349349
MODEL_DATA, role=ROLE, entry_point=SCRIPT_PATH, sagemaker_session=sagemaker_session
350350
)
351-
predictor = model.deploy(1, CPU)
351+
predictor = model.deploy(1, CPU, accelerator_type=ACCELERATOR_TYPE)
352352
assert isinstance(predictor, PyTorchPredictor)
353353

354354

0 commit comments

Comments
 (0)