Skip to content

Commit f8d5e87

Browse files
dmitry-tokarev-nvnv-anants
authored andcommitted
fix: Dockerfile.sglang - Fixed sglang and dynamo wheels installaiton in ru… (#2537)
1 parent 6e47f99 commit f8d5e87

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

container/Dockerfile.sglang

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,12 @@ RUN apt-get update && \
472472
COPY --from=ci_minimum /workspace/target/release/metrics /usr/local/bin/metrics
473473
COPY --from=wheel_builder /workspace/dist/*.whl wheelhouse/
474474
COPY --from=base /workspace/wheels/nixl/*.whl wheelhouse/
475-
RUN uv pip install "ai-dynamo[sglang]" --pre --find-links wheelhouse
475+
ARG SGLANG_VERSION
476+
RUN uv pip install \
477+
/workspace/wheelhouse/ai_dynamo_runtime*cp312*.whl \
478+
/workspace/wheelhouse/ai_dynamo*any.whl \
479+
/workspace/wheelhouse/nixl*.whl \
480+
"sglang[all]==${SGLANG_VERSION}"
476481

477482
# Common dependencies
478483
# TODO: Remove extra install and use pyproject.toml to define all dependencies

lib/bindings/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ license = { text = "Apache-2.0" }
2626
license-files = ["LICENSE"]
2727
requires-python = ">=3.10"
2828
dependencies = [
29-
"pydantic>=2.10.6,<2.11.0",
29+
"pydantic>=2.10.6,<=2.11.7",
3030
"uvloop>=0.21.0",
3131
]
3232
classifiers = [

0 commit comments

Comments
 (0)