Skip to content
Merged
Show file tree
Hide file tree
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 Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ RUN --mount=type=cache,target=/root/.cache/pip \
RUN microdnf install -y gcc \
&& microdnf clean all

# patch triton (fix for #720)
COPY triton_patch/cache_fix.patch .
RUN microdnf install -y patch \
&& patch /opt/vllm/lib/python3.11/site-packages/triton/runtime/cache.py cache_fix.patch \
&& microdnf remove -y patch \
&& microdnf clean all \
&& rm cache_fix.patch

ENV HF_HUB_OFFLINE=1 \
PORT=8000 \
GRPC_PORT=8033 \
Expand Down
8 changes: 8 additions & 0 deletions triton_patch/cache_fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
4c4
< import random
---
> import uuid
117c117
< rnd_id = random.randint(0, 1000000)
---
> rnd_id = str(uuid.uuid4())