From 7df65cb09e1ccbfc7a5f4ca48203b4b51a611ab0 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 18 Sep 2025 12:30:51 +0800 Subject: [PATCH] . --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d814f5c8a..ae292d7f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -99,7 +99,8 @@ RUN python3 -m pip install ".[srt,openai]" --no-build-isolation && \ # ── 用你本地源码编 sgl-kernel==0.3.9.post2(与自编 torch 完全 ABI 对齐) ────── WORKDIR /sgl/sglang/sgl-kernel -RUN bash -lc 'export CMAKE_PREFIX_PATH="$(python3 -c "import torch; print(torch.utils.cmake_prefix_path)")" \ +RUN python3 -m pip install --no-cache-dir scikit-build-core pybind11[global] packaging && \ + bash -lc 'export CMAKE_PREFIX_PATH="$(python3 -c "import torch; print(torch.utils.cmake_prefix_path)")" \ && export TORCH_CUDA_ARCH_LIST="7.5;8.0;8.6;8.9;9.0" SGL_KERNEL_COMPILE_THREADS=1 CMAKE_BUILD_PARALLEL_LEVEL=${MAX_JOBS:-96} FORCE_CUDA=1 \ && python3 -m pip wheel . --no-deps --no-build-isolation -w /tmp/sgl_kernel_wheels'