Skip to content

Commit cacd63b

Browse files
committed
Fix serve unit tests
1 parent be2a47f commit cacd63b

File tree

2 files changed

+2
-3
lines changed
  • sagemaker-serve
    • src/sagemaker/serve/model_server/in_process_model_server

2 files changed

+2
-3
lines changed

sagemaker-serve/src/sagemaker/serve/model_server/in_process_model_server/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def __init__(
3939
):
4040
self._thread = None
4141
self._loop = None
42-
self._stop_event = asyncio.Event()
4342
self._shutdown_event = threading.Event()
4443
self._router = APIRouter()
4544
self._task = task

sagemaker-serve/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ allowlist_externals =
8787
commands =
8888
python -c "import os; os.system('install-custom-pkgs --install-boto-wheels')"
8989
pip install 'apache-airflow==2.10.4' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.10.4/constraints-3.9.txt"
90-
pip install 'torch==2.3.1+cpu' -f 'https://download.pytorch.org/whl/torch_stable.html'
91-
pip install 'torchvision==0.18.1+cpu' -f 'https://download.pytorch.org/whl/torch_stable.html'
90+
pip install 'torch==2.8.0' 'torchvision==0.21.0'
91+
pip install 'onnx>=1.17.0' 'onnxruntime>=1.20.0'
9292
pip install 'dill>=0.3.9'
9393
pip install 'tensorflow==2.16.2'
9494

0 commit comments

Comments
 (0)