Skip to content

Commit 49eae3a

Browse files
nv-tusharmajain-ria
authored andcommitted
fix: Add common and test dependencies to sglang runtime build (#2279)
1 parent f143316 commit 49eae3a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

container/Dockerfile.sglang

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,16 @@ COPY --from=wheel_builder /workspace/dist/*.whl wheelhouse/
449449
COPY --from=base /workspace/wheels/nixl/*.whl wheelhouse/
450450
RUN uv pip install "ai-dynamo[sglang]" --pre --find-links wheelhouse
451451

452+
# Common dependencies
453+
# TODO: Remove extra install and use pyproject.toml to define all dependencies
454+
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
455+
uv pip install --requirement /tmp/requirements.txt
456+
457+
# Install test dependencies
458+
# TODO: Remove this once we have a functional CI image built on top of the runtime image
459+
RUN --mount=type=bind,source=./container/deps/requirements.test.txt,target=/tmp/requirements.txt \
460+
uv pip install --requirement /tmp/requirements.txt
461+
452462
# Copy launch banner
453463
RUN --mount=type=bind,source=./container/launch_message.txt,target=/workspace/launch_message.txt \
454464
sed '/^#\s/d' /workspace/launch_message.txt > ~/.launch_screen && \

0 commit comments

Comments
 (0)