Remove the two patches that modified files inside the image and were not related to the sliding-window / tokenizer fixes: - patch_ops.py + patched_ops/ (injected gelu_tanh_and_mul into ixformer) - detect_head_size.py (rewrote vllm paged_attn.py at startup) Neither had a hit in the recent failure corpus, and both touched the image's libraries. The build now only installs the launcher scripts; the container still decides tokenizer source and serve flags at startup.
9 lines
374 B
Docker
9 lines
374 B
Docker
# 基础镜像:天数智芯 天垓100 的 vLLM 0.6.3 运行镜像
|
|
FROM harbor-contest.4pd.io/luopingyi/bi100/vllm:0.6.3
|
|
|
|
COPY install_patch.sh entrypoint.sh vllm_launch.py swa_guard.py fix_tokenizer.py /tmp/
|
|
|
|
RUN bash /tmp/install_patch.sh /tmp \
|
|
&& rm -rf /tmp/install_patch.sh /tmp/entrypoint.sh /tmp/vllm_launch.py \
|
|
/tmp/swa_guard.py /tmp/fix_tokenizer.py
|