添加 NV A100 Patched 镜像合并/Dockerfile
This commit is contained in:
13
NV A100 Patched 镜像合并/Dockerfile
Normal file
13
NV A100 Patched 镜像合并/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
FROM harbor.4pd.io/dooke/vllm/vllm/vllm-openai:v0.11.0
|
||||||
|
|
||||||
|
# 修复1:transformers 库级 patch
|
||||||
|
COPY patch.py /tmp/patch.py
|
||||||
|
RUN python3 /tmp/patch.py
|
||||||
|
|
||||||
|
# 修复2:运行时 tokenizer 配置修复脚本
|
||||||
|
COPY detect_tokenizer.py /opt/detect_tokenizer.py
|
||||||
|
COPY fix_tokenizer.py /opt/fix_tokenizer.py
|
||||||
|
COPY entrypoint.sh /opt/entrypoint.sh
|
||||||
|
RUN chmod +x /opt/entrypoint.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ["/opt/entrypoint.sh"]
|
||||||
Reference in New Issue
Block a user