Skip to content

Commit e1b6411

Browse files
gc-fuArcs-ur
andauthored
Fix b5 image (#150)
* update patches Signed-off-by: gc-fu <guancheng.fu@intel.com> * fix --------- Signed-off-by: gc-fu <guancheng.fu@intel.com> Co-authored-by: Arcs-ur <arcs-ur@sjtu.edu.cn>
1 parent 61c82e5 commit e1b6411

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

vllm/docker/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ RUN git clone -b v0.10.2 https://github.com/vllm-project/vllm.git && \
5959
# Clone + patch miner-U
6060
RUN git clone -b release-2.6.2 https://github.com/opendatalab/MinerU.git && \
6161
cd MinerU && \
62-
pip install -e .[core] --no-deps && \
63-
pip install mineru_vl_utils==0.1.14 gradio gradio-client gradio-pdf && \
62+
pip install -e .[core] && \
63+
# pip install mineru_vl_utils==0.1.14 gradio gradio-client gradio-pdf && \
6464
sed -i 's/kwargs.get("max_concurrency", 100)/kwargs.get("max_concurrency", 200)/' /llm/MinerU/mineru/backend/vlm/vlm_analyze.py && \
6565
sed -i 's/kwargs.get("http_timeout", 600)/kwargs.get("http_timeout", 1200)/' /llm/MinerU/mineru/backend/vlm/vlm_analyze.py
6666

@@ -119,8 +119,7 @@ RUN pip install accelerate hf_transfer 'modelscope!=1.15.0'
119119

120120
# Pin transformers version to avoid conflict in vLLM
121121
RUN pip install "transformers==4.57.0" && \
122-
pip install librosa soundfile && \
123-
pip install mineru[core]==2.5.4
122+
pip install librosa soundfile
124123

125124

126125
# Set additional environment for production usage

vllm/patches/vllm_for_multi_arc.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8333,7 +8333,7 @@ index b8665104b..a52745f69 100644
83338333
filelock >= 3.16.1 # need to contain https://github.com/tox-dev/filelock/pull/317
83348334
partial-json-parser # used for parsing partial JSON outputs
83358335
diff --git a/requirements/xpu.txt b/requirements/xpu.txt
8336-
index 74f5b05b2..c0203a754 100644
8336+
index 74f5b05b2..be78e16df 100644
83378337
--- a/requirements/xpu.txt
83388338
+++ b/requirements/xpu.txt
83398339
@@ -11,9 +11,10 @@ jinja2>=3.1.6
@@ -8347,7 +8347,7 @@ index 74f5b05b2..c0203a754 100644
83478347
--extra-index-url=https://download.pytorch.org/whl/xpu
83488348

83498349
-intel-extension-for-pytorch @ https://intel-extension-for-pytorch.s3.us-east-1.amazonaws.com/ipex_dev/xpu/intel_extension_for_pytorch-2.8.10.post0%2Bxpu-cp312-cp312-linux_x86_64.whl
8350-
+intel-extension-for-pytorch @ https://intel-extension-for-pytorch.s3.us-east-1.amazonaws.com/ipex_dev/xpu/intel_extension_for_pytorch-2.8.10.post1%2Bxpu-cp312-cp312-linux_x86_64.whl
8350+
+intel-extension-for-pytorch @ https://ubit-artifactory-ba.intel.com/artifactory/aipc_releases-ba-local//gpu/new/validation/IPEX/nightly/PVC/UBUNTU/VLLM_nightly/20250925/721306eb6/intel_extension_for_pytorch-2.8.10.post1+xpu-cp312-cp312-linux_x86_64.whl
83518351
diff --git a/setup.py b/setup.py
83528352
index 67f65d9b9..d2bfb2880 100644
83538353
--- a/setup.py

0 commit comments

Comments
 (0)