diff --git a/.github/workflows/pr-test-xpu.yml b/.github/workflows/pr-test-xpu.yml index b035d5ae7..e1f114900 100644 --- a/.github/workflows/pr-test-xpu.yml +++ b/.github/workflows/pr-test-xpu.yml @@ -134,6 +134,12 @@ jobs: - name: Install Dependency timeout-minutes: 60 run: | + # Bridge fix: install libssl-dev in the running container so the + # JIT build of hicache_hash_cpp (needs ) succeeds. + # Can be dropped once intel/sglang-dev:latest is rebuilt from a + # docker/xpu.Dockerfile that already ships libssl-dev. + docker exec -e DEBIAN_FRONTEND=noninteractive ci_sglang_xpu apt-get update + docker exec -e DEBIAN_FRONTEND=noninteractive ci_sglang_xpu apt-get install -y libssl-dev docker exec ci_sglang_xpu /opt/venv/bin/python3 -m pip install --upgrade pip docker exec ci_sglang_xpu /opt/venv/bin/python3 -m pip install pytest expecttest ray huggingface_hub tabulate "lmcache>=0.3.9" accelerate docker exec ci_sglang_xpu /opt/venv/bin/python3 -m pip uninstall -y flashinfer-python sgl-kernel sglang @@ -220,6 +226,12 @@ jobs: - name: Install Dependency timeout-minutes: 60 run: | + # Bridge fix: install libssl-dev in the running container so the + # JIT build of hicache_hash_cpp (needs ) succeeds. + # Can be dropped once intel/sglang-dev:latest is rebuilt from a + # docker/xpu.Dockerfile that already ships libssl-dev. + docker exec -e DEBIAN_FRONTEND=noninteractive ci_sglang_xpu apt-get update + docker exec -e DEBIAN_FRONTEND=noninteractive ci_sglang_xpu apt-get install -y libssl-dev docker exec ci_sglang_xpu /opt/venv/bin/python3 -m pip install --upgrade pip docker exec ci_sglang_xpu /opt/venv/bin/python3 -m pip install pytest expecttest ray huggingface_hub tabulate "lmcache>=0.3.9" docker exec ci_sglang_xpu /opt/venv/bin/python3 -m pip uninstall -y flashinfer-python sgl-kernel sglang diff --git a/docker/xpu.Dockerfile b/docker/xpu.Dockerfile index ae22f9f62..f4e49f194 100644 --- a/docker/xpu.Dockerfile +++ b/docker/xpu.Dockerfile @@ -58,6 +58,7 @@ RUN apt-get update && apt-get install -y software-properties-common curl && \ RUN apt-get update && apt-get install -y \ python3-dev \ build-essential \ + libssl-dev \ protobuf-compiler \ && rm -rf /var/lib/apt/lists/*