Update dockerfile to include datamodel_code_generator (#1492)
This commit is contained in:
@@ -18,6 +18,9 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& apt clean
|
&& apt clean
|
||||||
|
|
||||||
|
# For openbmb/MiniCPM models
|
||||||
|
RUN pip3 install datamodel_code_generator
|
||||||
|
|
||||||
WORKDIR /sgl-workspace
|
WORKDIR /sgl-workspace
|
||||||
|
|
||||||
RUN python3 -m pip install --upgrade pip setuptools wheel html5lib six \
|
RUN python3 -m pip install --upgrade pip setuptools wheel html5lib six \
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ class CudaGraphRunner:
|
|||||||
f"Capture cuda graph failed: {e}\n"
|
f"Capture cuda graph failed: {e}\n"
|
||||||
"Possible solutions:\n"
|
"Possible solutions:\n"
|
||||||
"1. disable cuda graph by --disable-cuda-graph\n"
|
"1. disable cuda graph by --disable-cuda-graph\n"
|
||||||
"2. set --mem-fraction-static to a smaller value\n"
|
"2. set --mem-fraction-static to a smaller value (e.g., 0.8 or 0.7)\n"
|
||||||
"3. disable torch compile by not using --enable-torch-compile\n"
|
"3. disable torch compile by not using --enable-torch-compile\n"
|
||||||
"Open an issue on GitHub https://github.com/sgl-project/sglang/issues/new/choose \n"
|
"Open an issue on GitHub https://github.com/sgl-project/sglang/issues/new/choose \n"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user