diff --git a/Dockerfile b/Dockerfile index 84510150e..d9c2e2014 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,7 +82,7 @@ RUN python3 -m pip install --no-cache-dir numpy requests build "cuda-python>=12. python3 -m build --no-isolation --wheel && \ ls -lh dist/ - +COPY ./sglang /sgl/sglang # # ── πŸ”„ δΈ‹θ½½ sgl-kernel(与 sglang 同ζ­₯)─────────────────────────────────────── # RUN pip download --only-binary=:all: --no-deps sgl-kernel==0.3.9.post2 -d /tmp/sgl_kernel_wheels @@ -103,6 +103,7 @@ RUN bash -lc '\ /usr/local/cuda/bin/ptxas --version \ ' + # ι™εˆΆζž„ε»ΊεΉΆθ‘ŒοΌ›ιΏε… ptxas ε€šηΊΏη¨‹ε΄©ζΊƒ ENV CMAKE_BUILD_PARALLEL_LEVEL=8 ENV SGL_KERNEL_COMPILE_THREADS=1 @@ -136,7 +137,7 @@ RUN pip download --only-binary=:all: --no-deps vllm==0.9.1 -d /tmp/vllm_wheels # ── ηΌ–θ―‘δ½ ζœ¬εœ° sglang 源码幢打 wheel ─────────────────────────────────────── -COPY ./sglang /sgl/sglang +# COPY ./sglang /sgl/sglang # WORKDIR /sgl/sglang/python # RUN python3 -m pip install ".[srt,openai]" --no-build-isolation && \ # python3 -m pip wheel ".[srt,openai]" --no-deps -w /tmp/sg_wheels