Block a user
ray-worker-intel (latest)
Published 2026-02-01 17:57:58 +00:00 by billy
Installation
docker pull git.daviestechlabs.io/billy/ray-worker-intel:latestsha256:14ef95fb0df4fb64fdf31b72b7b8429aea2b45397865953a13fffdb432f40b72
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 maintainer=billy-davies-2 |
| LABEL description=Ray worker for Intel GPUs (Reranker) |
| LABEL gpu.target=intel-xpu |
| WORKDIR /app |
| USER root |
| RUN /bin/bash -c apt-get update && apt-get install -y --no-install-recommends git curl wget gnupg2 && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/bash -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 # buildkit |
| RUN /bin/bash -c 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 && 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/* # buildkit |
| USER ray |
| ENV PATH=/home/ray/.local/bin:/home/ray/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/nvidia/bin |
| RUN /bin/bash -c pip install --no-cache-dir 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/ # buildkit |
| RUN /bin/bash -c pip install --no-cache-dir sentence-transformers FlagEmbedding fastapi uvicorn httpx pydantic transformers huggingface_hub # buildkit |
| COPY ray-serve/ /app/ray_serve/ # buildkit |
| ENV PYTHONPATH=/app |
| COPY --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh # buildkit |
| ENV RAY_HEAD_SVC=ai-inference-raycluster-head-svc |
| ENV GPU_RESOURCE=gpu_intel |
| ENV NUM_GPUS=1 |
| ENV ZE_AFFINITY_MASK=0 |
| ENV SYCL_DEVICE_FILTER=level_zero:gpu |
| ENTRYPOINT ["/app/ray-entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| description | Ray worker for Intel GPUs (Reranker) |
| gpu.target | intel-xpu |
| io.ray.ray-commit | 0de211850589aea71f842873bc32574c702ab492 |
| io.ray.ray-version | 2.53.0 |
| maintainer | billy-davies-2 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 22.04 |