fix tokenizer

This commit is contained in:
4paradigm
2026-06-30 13:57:38 +08:00
parent 42420f61ea
commit 55f8585e15
4 changed files with 80 additions and 62 deletions

View File

@@ -1,8 +1,8 @@
FROM harbor-contest.4pd.io/sunjichen/xc-llm-kunlun:latest
COPY entrypoint.sh /opt/entrypoint.sh
COPY fix_tokenizer.py /opt/fix_tokenizer.py
COPY vllm_wrapper.sh /opt/vllm_wrapper.sh
RUN chmod +x /opt/entrypoint.sh
ENTRYPOINT ["/opt/entrypoint.sh"]
RUN chmod +x /opt/vllm_wrapper.sh && \
mv /opt/vllm_kunlun/bin/vllm /opt/vllm_kunlun/bin/vllm_real && \
ln -s /opt/vllm_wrapper.sh /opt/vllm_kunlun/bin/vllm