monkey patch

This commit is contained in:
2026-04-15 21:47:35 +00:00
parent b6456d3a8f
commit 33d4a4fb86

View File

@@ -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
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