From 33d4a4fb8674dfd8561b51bb3196926cbf4d003f Mon Sep 17 00:00:00 2001 From: biondizzle Date: Wed, 15 Apr 2026 21:47:35 +0000 Subject: [PATCH] monkey patch --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a96d32..e09b8d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,4 +17,7 @@ RUN apt-get update && apt-get install -y git \ pip install --no-cache-dir --no-build-isolation . && \ rm -rf /tmp/lmcache -COPY ./super_v3_reasoning_parser.py /opt/super_v3_reasoning_parser.py \ No newline at end of file +COPY ./super_v3_reasoning_parser.py /opt/super_v3_reasoning_parser.py + +# Monkey patch more vllm stuff - https://github.com/vllm-project/vllm/pull/38237/changes#diff-bee6813076031d3ca1edc903c1b02b81e4676519afc562ce3fefe37f20c7b650 +RUN sed -i 's/if self.kv_events_config is not None:/if (\n self.kv_events_config is not None\n and self.kv_events_config.enable_kv_cache_events\n ):/' /usr/local/lib/python3.12/dist-packages/vllm/config/vllm.py \ No newline at end of file