Unverified Commit e1ed7009 authored by Harrison Saturley-Hall's avatar Harrison Saturley-Hall Committed by GitHub
Browse files

fix: remove CVE introduced by aiconfigurator to runtime containers (#3367)


Signed-off-by: default avatarHarrison Saturley-Hall <hsaturleyhal@nvidia.com>
parent 8969240a
...@@ -40,6 +40,7 @@ classifiers = [ ...@@ -40,6 +40,7 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"aiconfigurator==0.2.0",
"networkx", "networkx",
"pandas", "pandas",
"pydantic>=2", "pydantic>=2",
...@@ -59,6 +60,11 @@ Repository = "https://github.com/ai-dynamo/dynamo.git" ...@@ -59,6 +60,11 @@ Repository = "https://github.com/ai-dynamo/dynamo.git"
requires = ["setuptools>=42", "wheel"] requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[tool.uv]
override-dependencies = [
"gradio==5.47.1"
]
[tool.setuptools] [tool.setuptools]
packages = ["prefix_data_generator"] packages = ["prefix_data_generator"]
......
...@@ -382,8 +382,10 @@ RUN uv pip install \ ...@@ -382,8 +382,10 @@ RUN uv pip install \
/opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \ /opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \
/opt/dynamo/wheelhouse/ai_dynamo*any.whl \ /opt/dynamo/wheelhouse/ai_dynamo*any.whl \
/opt/dynamo/wheelhouse/nixl/nixl*.whl \ /opt/dynamo/wheelhouse/nixl/nixl*.whl \
/opt/dynamo/benchmarks && \ && cd /opt/dynamo/benchmarks \
rm -rf /opt/dynamo/benchmarks && uv pip install . \
&& cd - \
&& rm -rf /opt/dynamo/benchmarks
# Setup launch banner # Setup launch banner
RUN --mount=type=bind,source=./container/launch_message.txt,target=/opt/dynamo/launch_message.txt \ RUN --mount=type=bind,source=./container/launch_message.txt,target=/opt/dynamo/launch_message.txt \
......
...@@ -203,8 +203,10 @@ RUN uv pip install \ ...@@ -203,8 +203,10 @@ RUN uv pip install \
/opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \ /opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \
/opt/dynamo/wheelhouse/ai_dynamo*any.whl \ /opt/dynamo/wheelhouse/ai_dynamo*any.whl \
/opt/dynamo/wheelhouse/nixl/nixl*.whl \ /opt/dynamo/wheelhouse/nixl/nixl*.whl \
/opt/dynamo/benchmarks && \ && cd /opt/dynamo/benchmarks \
rm -rf /opt/dynamo/benchmarks && uv pip install . \
&& cd - \
&& rm -rf /opt/dynamo/benchmarks
# Install common and test dependencies # Install common and test dependencies
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \ RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
......
...@@ -238,8 +238,10 @@ RUN uv pip install \ ...@@ -238,8 +238,10 @@ RUN uv pip install \
/opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \ /opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \
/opt/dynamo/wheelhouse/ai_dynamo*any.whl \ /opt/dynamo/wheelhouse/ai_dynamo*any.whl \
/opt/dynamo/wheelhouse/nixl/nixl*.whl \ /opt/dynamo/wheelhouse/nixl/nixl*.whl \
/opt/dynamo/benchmarks && \ && cd /opt/dynamo/benchmarks \
rm -rf /opt/dynamo/benchmarks && uv pip install . \
&& cd - \
&& rm -rf /opt/dynamo/benchmarks
# Install common and test dependencies # Install common and test dependencies
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \ RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
......
...@@ -251,8 +251,10 @@ RUN uv pip install \ ...@@ -251,8 +251,10 @@ RUN uv pip install \
/opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \ /opt/dynamo/wheelhouse/ai_dynamo_runtime*cp312*.whl \
/opt/dynamo/wheelhouse/ai_dynamo*any.whl \ /opt/dynamo/wheelhouse/ai_dynamo*any.whl \
/opt/dynamo/wheelhouse/nixl/nixl*.whl \ /opt/dynamo/wheelhouse/nixl/nixl*.whl \
/opt/dynamo/benchmarks && \ && cd /opt/dynamo/benchmarks \
rm -rf /opt/dynamo/benchmarks && uv pip install . \
&& cd - \
&& rm -rf /opt/dynamo/benchmarks
# Install common and test dependencies # Install common and test dependencies
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \ RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
accelerate==1.6.0 accelerate==1.6.0
aiconfigurator==0.2.0
aiofiles aiofiles
av==15.0.0 av==15.0.0
fastapi==0.115.12 fastapi==0.115.12
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment