Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions container/templates/vllm_runtime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ RUN userdel -r ubuntu > /dev/null 2>&1 || true \
&& mkdir -p /etc/profile.d \
&& echo 'umask 002' > /etc/profile.d/00-umask.sh

# FlashInfer creates package-local cubin symlinks at runtime. Grant group 0
# write access so arbitrary OpenShift UIDs can initialize the cubin cache.
RUN SITE_PACKAGES="$(python3 -c 'import site; print(site.getsitepackages()[0])')" && \
CUBINS_DIR="$SITE_PACKAGES/flashinfer_cubin/cubins" && \
if [ -d "$CUBINS_DIR" ]; then \
find "$CUBINS_DIR" -type d -exec chmod g+rwx {} + ; \
fi
Comment thread
bewestphal marked this conversation as resolved.

{% if device != "cuda" %}
# Copy UCX and NIXL from wheel_builder for CPU/XPU devices
# (CUDA devices use NIXL from upstream vLLM wheels)
Expand Down
Loading