fix: update Dockerfile to clarify GPU architecture compatibility and specify mineru version

This commit is contained in:
myhloli
2025-12-30 11:02:22 +08:00
parent 55f6731aa6
commit 6f9ef69b34
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
# only support x86_64 architecture
FROM docker.m.daocloud.io/vllm/vllm-openai:v0.10.1.1
# Use DaoCloud mirrored vllm image for China region for gpu with Volta、Turing、Blackwell architecture (Compute Capability < 8.0 or Compute Capability >= 10.0)
# Use DaoCloud mirrored vllm image for China region for gpu with Volta、Turing、Blackwell architecture (7.0 < Compute Capability < 8.0 or Compute Capability >= 10.0)
# support x86_64 architecture and ARM(AArch64) architecture
# FROM docker.m.daocloud.io/vllm/vllm-openai:v0.11.0
@@ -19,7 +19,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
RUN python3 -m pip install -U 'mineru[core]' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \
RUN python3 -m pip install -U 'mineru[core]>=2.7.0' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \
python3 -m pip cache purge
# Download models and update the configuration file

View File

@@ -3,7 +3,7 @@
# only support x86_64 architecture
FROM vllm/vllm-openai:v0.10.1.1
# Use the official vllm image for gpu with Volta、Turing、Blackwell architecture (Compute Capability < 8.0 or Compute Capability >= 10.0)
# Use the official vllm image for gpu with Volta、Turing、Blackwell architecture (7.0 < Compute Capability < 8.0 or Compute Capability >= 10.0)
# support x86_64 architecture and ARM(AArch64) architecture
# FROM vllm/vllm-openai:v0.11.0
@@ -19,7 +19,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
RUN python3 -m pip install -U 'mineru[core]' --break-system-packages && \
RUN python3 -m pip install -U 'mineru[core]>=2.7.0' --break-system-packages && \
python3 -m pip cache purge
# Download models and update the configuration file