|
13 | 13 | # See the License for the specific language governing permissions and |
14 | 14 | # limitations under the License. |
15 | 15 |
|
16 | | -# Note this container is built from a local dockerfile |
17 | | -# Please see instructions in examples/sglang/README.md |
18 | | -FROM sgl-wideep:latest |
| 16 | +# This should be pinned to the sglang version that is installed with Dynamo |
| 17 | +# in the pyproject.toml |
| 18 | +FROM lmsysorg/sglang:v0.4.9.post6-cu126 |
19 | 19 |
|
20 | 20 | # Add NIXL build dependencies |
21 | 21 | RUN apt-get update -y && \ |
@@ -80,10 +80,7 @@ WORKDIR /sgl-workspace |
80 | 80 | ENV SGL_FORCE_SHUTDOWN=1 |
81 | 81 |
|
82 | 82 | WORKDIR /sgl-workspace |
83 | | -# include flush cache endpoint and server support |
84 | | -# https://github.com/ai-dynamo/dynamo/pull/1769 |
85 | | -ARG DYNAMO_COMMIT="bd91dca6141e05bcfbe9bd4dea54cc58b9e37d75" |
86 | | -RUN git clone https://github.com/ai-dynamo/dynamo.git && cd dynamo && git checkout ${DYNAMO_COMMIT} |
| 83 | +RUN git clone https://github.com/ai-dynamo/dynamo.git |
87 | 84 |
|
88 | 85 | # install dynamo in editable mode |
89 | 86 | WORKDIR /sgl-workspace/dynamo |
@@ -126,8 +123,6 @@ RUN cargo build --release |
126 | 123 | RUN cd lib/bindings/python && pip install --break-system-packages -e . && cd ../../.. |
127 | 124 | RUN pip install --break-system-packages -e . |
128 | 125 |
|
129 | | -ENV PYTHONPATH=/sgl-workspace/dynamo/components/planner/src:/sgl-workspace/dynamo/examples/sglang:$PYTHONPATH |
130 | | - |
131 | 126 | RUN wget --tries=3 --waitretry=5 https://github.com/nats-io/nats-server/releases/download/v2.10.28/nats-server-v2.10.28-${ARCH}.deb && \ |
132 | 127 | dpkg -i nats-server-v2.10.28-${ARCH}.deb && rm nats-server-v2.10.28-${ARCH}.deb |
133 | 128 |
|
@@ -168,7 +163,7 @@ ENV PATH=/sgl-workspace/perf_analyzer/build/perf_analyzer/src/perf-analyzer-buil |
168 | 163 |
|
169 | 164 | RUN pip install --break-system-packages genai-perf |
170 | 165 |
|
171 | | -COPY examples/sglang/configs/deepseek_r1/wideep/* /sgl-workspace/dynamo/examples/sglang/configs/ |
172 | | -COPY examples/sglang/utils/benchmarking/* /sgl-workspace/dynamo/examples/sglang/utils/ |
| 166 | +# https://pypi.org/project/sglang-router/0.1.5 is latest |
| 167 | +RUN pip install sglang-router==0.1.5 |
173 | 168 |
|
174 | | -WORKDIR /sgl-workspace/dynamo/examples/sglang |
| 169 | +WORKDIR /sgl-workspace/dynamo/components/backends/sglang |
0 commit comments