ray-worker-intel (v1.0.5)
Published 2026-02-06 11:23:23 +00:00 by billy
Installation
docker pull git.daviestechlabs.io/daviestechlabs/ray-worker-intel:v1.0.5sha256:51941599036dbab6aef1edf7f927a37381a13d90c300f17e5683c4076a7ab231
About this package
Ray Serve worker for Intel GPUs (BGE Reranker)
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:d025507456f1d7d19195885b1c02a346454d60c9348cbd3be92431f2d7e2666e in / |
| CMD ["/bin/bash"] |
| ENV TZ=America/Los_Angeles |
| ENV LC_ALL=C.UTF-8 |
| ENV LANG=C.UTF-8 |
| ENV PATH=/home/ray/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/nvidia/bin |
| ENV LD_LIBRARY_PATH=:/usr/local/nvidia/lib64 |
| ARG DEBIAN_FRONTEND=noninteractive |
| ARG PYTHON_VERSION=3.9 |
| ARG PYTHON_DEPSET |
| ARG RAY_UID=1000 |
| ARG RAY_GID=100 |
| RUN |5 DEBIAN_FRONTEND=noninteractive PYTHON_VERSION=3.11 PYTHON_DEPSET=python/deplocks/base_deps/ray_base_deps_py3.11.lock RAY_UID=1000 RAY_GID=100 /bin/sh -c /dev/pipes/EOF # buildkit |
| USER 1000 |
| ENV HOME=/home/ray |
| WORKDIR /home/ray |
| COPY python/requirements_compiled.txt /home/ray/requirements_compiled.txt # buildkit |
| COPY python/deplocks/base_deps/ray_base_deps_py3.11.lock /home/ray/python_depset.lock # buildkit |
| SHELL [/bin/bash -c] |
| RUN |5 DEBIAN_FRONTEND=noninteractive PYTHON_VERSION=3.11 PYTHON_DEPSET=python/deplocks/base_deps/ray_base_deps_py3.11.lock RAY_UID=1000 RAY_GID=100 /bin/bash -c /dev/pipes/EOF # buildkit |
| WORKDIR /home/ray |
| ARG WHEEL_PATH |
| ARG FIND_LINKS_PATH=.whl |
| ARG CONSTRAINTS_FILE=requirements_compiled.txt |
| COPY .whl/ray-2.53.0-cp311-cp311-manylinux2014_x86_64.whl . # buildkit |
| COPY .whl .whl # buildkit |
| RUN |3 WHEEL_PATH=.whl/ray-2.53.0-cp311-cp311-manylinux2014_x86_64.whl FIND_LINKS_PATH=.whl CONSTRAINTS_FILE=requirements_compiled.txt /bin/bash -c $HOME/anaconda3/bin/pip --no-cache-dir install -c $CONSTRAINTS_FILE `basename $WHEEL_PATH`[all] --find-links $FIND_LINKS_PATH && sudo rm `basename $WHEEL_PATH` # buildkit |
| RUN |3 WHEEL_PATH=.whl/ray-2.53.0-cp311-cp311-manylinux2014_x86_64.whl FIND_LINKS_PATH=.whl CONSTRAINTS_FILE=requirements_compiled.txt /bin/bash -c $HOME/anaconda3/bin/pip freeze > /home/ray/pip-freeze.txt # buildkit |
| LABEL org.opencontainers.image.title="Ray Worker - Intel GPU" |
| LABEL org.opencontainers.image.description="Ray Serve worker for Intel GPUs (BGE Reranker)" |
| LABEL org.opencontainers.image.vendor="DaviesTechLabs" |
| LABEL org.opencontainers.image.source="https://git.daviestechlabs.io/daviestechlabs/kuberay-images" |
| LABEL org.opencontainers.image.licenses="MIT" |
| LABEL gpu.target="intel-xpu" |
| LABEL ray.version="2.53.0" |
| WORKDIR /app |
| USER root |
| /bin/sh -c --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked apt-get update && apt-get install -y --no-install-recommends curl wget gnupg2 && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c wget -qO - https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor -o /usr/share/keyrings/intel-oneapi-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/intel-oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" > /etc/apt/sources.list.d/intel-oneapi.list && wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor -o /usr/share/keyrings/intel-graphics-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/intel-graphics-archive-keyring.gpg arch=amd64] https://repositories.intel.com/gpu/ubuntu jammy client" > /etc/apt/sources.list.d/intel-gpu.list |
| /bin/sh -c --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked apt-get update && apt-get install -y --no-install-recommends intel-oneapi-runtime-opencl intel-oneapi-runtime-compilers intel-level-zero-gpu level-zero && rm -rf /var/lib/apt/lists/* |
| COPY file:afe6681af1c69c650ced414c6adcb13630db42397cc4612ae551893848e01f2a in /usr/local/bin/uv |
| USER ray |
| ENV PATH="/home/ray/.local/bin:${PATH}" |
| /bin/sh -c --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 uv pip install --system --index-strategy unsafe-best-match torch==2.5.1 intel-extension-for-pytorch==2.5.10+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ |
| /bin/sh -c --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 uv pip install --system 'sentence-transformers>=2.3.0,<3.0' 'FlagEmbedding>=1.2.0,<2.0' 'transformers>=4.35.0,<5.0' 'huggingface_hub>=0.20.0,<1.0' 'fastapi>=0.100.0,<1.0' 'uvicorn>=0.23.0,<1.0' 'httpx>=0.27.0,<1.0' 'pydantic>=2.0.0,<3.0' |
| COPY file:1b0250f86a8653101b6399efa4f4acdd4ca7423f74faec1eedf6d1718aa7a87c in /app/ray-entrypoint.sh |
| ENV PYTHONPATH=/app PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 RAY_HEAD_SVC="ai-inference-raycluster-head-svc" GPU_RESOURCE="gpu_intel" NUM_GPUS="1" ZE_AFFINITY_MASK=0 SYCL_DEVICE_FILTER="level_zero:gpu" |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 CMD ray status --address=localhost:6379 || exit 1 |
| ENTRYPOINT ["/app/ray-entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| gpu.target | intel-xpu |
| io.buildah.version | 1.42.2 |
| io.ray.ray-commit | 0de211850589aea71f842873bc32574c702ab492 |
| io.ray.ray-version | 2.53.0 |
| org.opencontainers.image.description | Ray Serve worker for Intel GPUs (BGE Reranker) |
| org.opencontainers.image.licenses | MIT |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.source | https://git.daviestechlabs.io/daviestechlabs/kuberay-images |
| org.opencontainers.image.title | Ray Worker - Intel GPU |
| org.opencontainers.image.vendor | DaviesTechLabs |
| org.opencontainers.image.version | 22.04 |
| ray.version | 2.53.0 |